Skip to content

Commit

Permalink
fix instruction scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Apr 14, 2013
1 parent 911f788 commit abe0cb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/cod4.c
Expand Up @@ -1599,6 +1599,7 @@ code *cdshass(elem *e,regm_t *pretregs)
}
if (oper == OPshlass)
{ cg = gen(CNIL,&cs); // cg: SHIFT EA
code_orflag(cg,CFpsw);
c = cat(c,cg);
getlvalue_msw(&cs);
NEWREG(cs.Irm,op2);
Expand All @@ -1608,6 +1609,7 @@ code *cdshass(elem *e,regm_t *pretregs)
else
{ getlvalue_msw(&cs);
cg = gen(CNIL,&cs);
code_orflag(cg,CFpsw);
c = cat(c,cg);
NEWREG(cs.Irm,op2);
getlvalue_lsw(&cs);
Expand Down

0 comments on commit abe0cb5

Please sign in to comment.