This fixes code that tried to "addi SP, SP, 4" to drop a value that was in a register, not on the real stack. Add a rule to optimize "asp 4" (which becomes "loc 4" "ass") when the value being dropped is already in a GPR. |
||
|---|---|---|
| .. | ||
| mach.c | ||
| mach.h | ||
| table | ||
This fixes code that tried to "addi SP, SP, 4" to drop a value that was in a register, not on the real stack. Add a rule to optimize "asp 4" (which becomes "loc 4" "ass") when the value being dropped is already in a GPR. |
||
|---|---|---|
| .. | ||
| mach.c | ||
| mach.h | ||
| table | ||