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.
This commit is contained in:
parent
7397122695
commit
408dacc2aa
1 changed files with 1 additions and 1 deletions
|
@ -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] | |
|
||||
|
|
Loading…
Reference in a new issue