ack/mach/powerpc
George Koehler 3dae9e49cc Use subfic (val - reg) and mulli (reg * val).
In the instruction list, put /* kills xer */ for sraw, srawi, subfic;
and correct the (now unused) "addi." and "lfdu".

Change MACHOPT_F from -m3 to -m2.  This changes the code for 15 * i
from

    slwi r3,r4,4
    subfic r5,r4,0
    add r3,r3,r5

to

    mulli r3,r4,15

If the sequence "slwi subfic addi" takes 3 cycles and 12 bytes, and
mulli takes 3 cycles and 4 bytes, then mulli is better.
2018-01-27 15:53:05 -05:00
..
as Rename RELOLIS to RELOPPC_LIS. 2017-10-18 15:39:31 -04:00
libem Add some comments before I forget how this stuff works. 2018-01-24 15:17:32 -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 subfic (val - reg) and mulli (reg * val). 2018-01-27 15:53:05 -05:00
top Teach top to merge or delete "addi sp, sp, X". 2018-01-05 17:55:50 -05:00