getting first two tests in exe1.c to run (#20968)

This commit is contained in:
Walter Bright 2025-03-08 22:49:35 -08:00 committed by GitHub
parent 8812065e8b
commit d1f5972b54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -2148,7 +2148,6 @@ void loaddata(ref CodeBuilder cdb, elem* e, ref regm_t outretregs)
if (movOnly(e))
opmv = 0x8B;
}
assert(forregs & BYTEREGS);
if (!I16)
{
if (config.target_cpu >= TARGET_PentiumPro && config.flags4 & CFG4speed &&

View file

@ -1569,7 +1569,7 @@ void cdshtlng(ref CGstate cg, ref CodeBuilder cdb,elem* e,ref regm_t pretregs)
(e1.Eoper == OPind && !e1.Ecount))
{
code cs;
getlvalue(cdb,cs,e11,0,RM.load);
getlvalue(cdb,cs,e1,0,RM.load);
retregs = pretregs;
if (!retregs)
retregs = cg.allregs;

View file

@ -1417,8 +1417,8 @@ void regmath()
void regmath_386()
{
long int j,k;
long i;
long long int j,k;
long long i;
/* time_0();*/