From: ceriel Date: Mon, 13 Jan 1992 10:31:23 +0000 (+0000) Subject: Bug fix: generated a 'push dl', which does not exist X-Git-Tag: release-5-5~520 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=813ca898a7d21f86d27ebd8380dd75ef6891d88b;p=ack.git Bug fix: generated a 'push dl', which does not exist --- diff --git a/mach/i86/ncg/table b/mach/i86/ncg/table index 97e0cfeb9..59ae18c39 100644 --- a/mach/i86/ncg/table +++ b/mach/i86/ncg/table @@ -236,8 +236,8 @@ or LOCAL:rw:cc, rmorconst:ro. /* only for register variables; UNSAFE !!! */ #endif or rm:rw:cc, regorconst:ro. or anyreg:rw:cc, rmorconst:ro. -pop rmorconst+rm1:wo cost(1,8). -push rmorconst+rm1:ro cost(1,10). +pop rmorconst:wo cost(1,8). +push rmorconst:ro cost(1,10). rcl rm:rw:cc, ANYCON+SHIFT_CREG:ro. rcr rm:rw:cc, ANYCON+SHIFT_CREG:ro. ret cost(1,8). @@ -360,10 +360,12 @@ from rm1 to STACK push %a from rm1 to STACK - gen push %1 + gen push ax push bx + move %1,al + xorb ah,ah mov bx,sp - movb {ind_regoff1,bx,3},{ANYCON,0} + xchg {ind_regoff2,bx,2},ax pop bx from Xreg_off to STACK