From: keie Date: Tue, 19 Feb 1985 13:41:30 +0000 (+0000) Subject: The stacking pattern for ldc C and 4 with highw(c)==0 was incorrect. X-Git-Tag: release-5-5~5598 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=408dacc2aa2e0f8044a8ddaf08163d23e8b33fbe;p=ack.git The stacking pattern for ldc C and 4 with highw(c)==0 was incorrect. The effect was that rand() from libcc/gen always returned a 0. --- diff --git a/mach/pdp/cg/table b/mach/pdp/cg/table index 51dc8fe29..8b275f5ae 100644 --- a/mach/pdp/cg/table +++ b/mach/pdp/cg/table @@ -1504,7 +1504,7 @@ and $1==2 | CONST2 SCR_REG | erase(%[1]) erase(%[2]) | %[2] | | (4,600) ldc and $2==4 && highw(1)==0 | source2 SCR_REG | "bic $$%(~loww(1)%),%[2]" - erase(%[2]) | {CONST2, 0} %[1] | | + erase(%[2]) | %[2] {CONST2, 0} | | ldc and $2==4 && highw(1)==0-1 | source2 SCR_REG | "bic $$%(~loww(1)%),%[2]" erase(%[2]) | %[2] %[1] | |