For "pat ass", move fake stack to real stack before adjusting SP.
authorGeorge Koehler <xkernigh@netscape.net>
Wed, 28 Sep 2016 04:13:35 +0000 (00:13 -0400)
committerGeorge Koehler <xkernigh@netscape.net>
Wed, 28 Sep 2016 04:13:35 +0000 (00:13 -0400)
commita71eee391420c2e7c284e217190290520d3e1ec3
treef52d57cadcd12229d83c064954c54621bf5b1d16
parent1e3dde915ad9356efa7c6d0d0ab430f2063ad3eb
For "pat ass", move fake stack to real stack before adjusting SP.

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/powerpc/ncg/table