public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8230ec4
)
Fix an unsubtle bug where subtractions were done backwards...
author
David Given
<dg@cowlark.com>
Tue, 11 Sep 2018 21:16:50 +0000
(23:16 +0200)
committer
David Given
<dg@cowlark.com>
Tue, 11 Sep 2018 21:16:50 +0000
(23:16 +0200)
mach/mips/mcg/table
patch
|
blob
|
history
diff --git
a/mach/mips/mcg/table
b/mach/mips/mcg/table
index
f7d0b42
..
43051cb
100644
(file)
--- a/
mach/mips/mcg/table
+++ b/
mach/mips/mcg/table
@@
-578,7
+578,7
@@
PATTERNS
ALUCC(ADD.I, "addiu")
out:(int)reg = SUB.I(left:(int)reg, right:(int)reg)
- emit "subu %out, %
right, %lef
t"
+ emit "subu %out, %
left, %righ
t"
cost 4;
out:(int)reg = SUB.I(left:(int)reg, right:CONST.I)