ack/mach/powerpc/libem
George Koehler ba9b021253 Use .los4 in lar 4 and .sts4 in sar 4.
Our libem had two implementations of loading a block from a stack, one
for lar 4 and one for los 4.  Now lar 4 and los 4 share the code in
.los4.  Likewise, sar 4 and sts 4 share the code in .sts4.

Rename .los to .los4 and .sts to .sts4, because they implement los 4
and sts 4.  Remove the special case for loading or storing 4 bytes,
because we can do it with 1 iteration of the loop.  Remove the lines
to "align size" where the size must already be a multiple of 4.

Fix the upper bound check in .aar4.

Change .aar4, .lar4, .los4, .sar4, .sts4 to pass all operands on the
real stack, except that .los4 and .sts4 take the size in register r3.
Have .aar4 set r3 to the size of the array element.  So lar 4 is just
.aar4 then .los4, and sar 4 is just .aar4 then .sts4.

ncg no longer calls .lar4 and .sar4 in libem, because it inlines the
code; but I keep .lar4 and .sar4 in libem, because mcg references
them.  They might or might not work in mcg.
2017-02-13 15:22:00 -05:00
..
aar4.s Use .los4 in lar 4 and .sts4 in sar 4. 2017-02-13 15:22:00 -05:00
and.s Edit PowerPC assembly for .and, .cms, .ior, .xor, .zer 2017-02-11 18:00:56 -05:00
build.lua Use .los4 in lar 4 and .sts4 in sar 4. 2017-02-13 15:22:00 -05:00
cfi8.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
cfu8.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
cif8.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
cms.s Edit PowerPC assembly for .and, .cms, .ior, .xor, .zer 2017-02-11 18:00:56 -05:00
com.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
csa.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
csb.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
cuf8.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
fd_00000000.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
fd_80000000.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
fd_FFFFFFFF.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
fef8.s Change .fef8 and .fif8 to pass values on the stack. 2017-02-12 16:44:37 -05:00
fif8.s Change .fef8 and .fif8 to pass values on the stack. 2017-02-12 16:44:37 -05:00
inn.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
ior.s Edit PowerPC assembly for .and, .cms, .ior, .xor, .zer 2017-02-11 18:00:56 -05:00
lar4.s Use .los4 in lar 4 and .sts4 in sar 4. 2017-02-13 15:22:00 -05:00
los4.s Use .los4 in lar 4 and .sts4 in sar 4. 2017-02-13 15:22:00 -05:00
rck.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
ret.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
sar4.s Use .los4 in lar 4 and .sts4 in sar 4. 2017-02-13 15:22:00 -05:00
set.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
sts4.s Use .los4 in lar 4 and .sts4 in sar 4. 2017-02-13 15:22:00 -05:00
xor.s Edit PowerPC assembly for .and, .cms, .ior, .xor, .zer 2017-02-11 18:00:56 -05:00
zer.s Edit PowerPC assembly for .and, .cms, .ior, .xor, .zer 2017-02-11 18:00:56 -05:00