ack/mach/powerpc
George Koehler 85391399a4 Use ha16/lo16 to load or store 1, 2, 8 bytes from labels.
Add the tokens IND_RL_B, IND_RL_H, IND_RL_H_S, IND_RL_D, along with
the rules to use them.  These rules emit shorter code.  For example,
loading a byte becomes lis, lbz instead of lis, addi, lbz.

While making this, I wrongly set IND_RL_D to size 4.  Then ncg made
infinite recursion in codegen() and stackupto(), until it crashed by
stack overflow.  I correctly set IND_RL_D to size 8, preventing the
crash.
2017-02-08 12:31:14 -05:00
..
as Add RELOLIS for PowerPC lis with ha16 or hi16. 2017-02-08 11:46:31 -05:00
libem In PowerPC libem, remove tge.s and powerpc.h 2017-01-26 12:39:16 -05:00
libend Mostly add support for the experimental and largely broken linuxppc platform. 2016-09-15 23:12:03 +02:00
mcg Use a better NOT; and after remembering that PowerPC bit numbers are all 2017-01-07 01:03:15 +01:00
ncg Use ha16/lo16 to load or store 1, 2, 8 bytes from labels. 2017-02-08 12:31:14 -05:00
top In PowerPC top, don't delete addi r0, r0, 0 2017-01-26 12:44:32 -05:00