Fix an unsubtle bug where subtractions were done backwards...
This commit is contained in:
parent
8230ec42ac
commit
8379969b6f
|
@ -578,7 +578,7 @@ PATTERNS
|
|||
ALUCC(ADD.I, "addiu")
|
||||
|
||||
out:(int)reg = SUB.I(left:(int)reg, right:(int)reg)
|
||||
emit "subu %out, %right, %left"
|
||||
emit "subu %out, %left, %right"
|
||||
cost 4;
|
||||
|
||||
out:(int)reg = SUB.I(left:(int)reg, right:CONST.I)
|
||||
|
|
Loading…
Reference in a new issue