Change .fef8 and .fif8 to pass values on the stack.
authorGeorge Koehler <xkernigh@netscape.net>
Sun, 12 Feb 2017 21:44:37 +0000 (16:44 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Sun, 12 Feb 2017 21:44:37 +0000 (16:44 -0500)
commit54949f713f4d01a60654353a7b28eceb54393b56
tree556affe7e25c26b5c60bd7e1e46008d8b331e314
parent1de1e8f7f0679171514b2fd996770139026b5674
Change .fef8 and .fif8 to pass values on the stack.

Reorder the code in .fef8 and .fif8 so that in the usual case, we fall
through to the blr without taking any branches.  The usual case, by my
guess, is .fef8 with normalized numbers or .fif8 with small integers.

I change .fef8 and .fif8 to pass values on the real stack, not in
specific registers.  This simplifies the ncg table, and might help me
experiment with changes to the ncg table.

This change might or might not help mcg.  Seems that mcg always uses
the stack to pass values to libem, but I have not tested .fef8 or
.fif8 with mcg.
mach/powerpc/libem/fef8.s
mach/powerpc/libem/fif8.s
mach/powerpc/ncg/table