mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
getting first two tests in exe1.c to run (#20968)
This commit is contained in:
parent
8812065e8b
commit
d1f5972b54
3 changed files with 3 additions and 4 deletions
|
@ -2148,7 +2148,6 @@ void loaddata(ref CodeBuilder cdb, elem* e, ref regm_t outretregs)
|
||||||
if (movOnly(e))
|
if (movOnly(e))
|
||||||
opmv = 0x8B;
|
opmv = 0x8B;
|
||||||
}
|
}
|
||||||
assert(forregs & BYTEREGS);
|
|
||||||
if (!I16)
|
if (!I16)
|
||||||
{
|
{
|
||||||
if (config.target_cpu >= TARGET_PentiumPro && config.flags4 & CFG4speed &&
|
if (config.target_cpu >= TARGET_PentiumPro && config.flags4 & CFG4speed &&
|
||||||
|
|
|
@ -1569,7 +1569,7 @@ void cdshtlng(ref CGstate cg, ref CodeBuilder cdb,elem* e,ref regm_t pretregs)
|
||||||
(e1.Eoper == OPind && !e1.Ecount))
|
(e1.Eoper == OPind && !e1.Ecount))
|
||||||
{
|
{
|
||||||
code cs;
|
code cs;
|
||||||
getlvalue(cdb,cs,e11,0,RM.load);
|
getlvalue(cdb,cs,e1,0,RM.load);
|
||||||
retregs = pretregs;
|
retregs = pretregs;
|
||||||
if (!retregs)
|
if (!retregs)
|
||||||
retregs = cg.allregs;
|
retregs = cg.allregs;
|
||||||
|
|
|
@ -1417,8 +1417,8 @@ void regmath()
|
||||||
|
|
||||||
void regmath_386()
|
void regmath_386()
|
||||||
{
|
{
|
||||||
long int j,k;
|
long long int j,k;
|
||||||
long i;
|
long long i;
|
||||||
|
|
||||||
/* time_0();*/
|
/* time_0();*/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue