Experiment with conversions between integers and floats.
authorGeorge Koehler <xkernigh@netscape.net>
Sun, 12 Feb 2017 04:23:47 +0000 (23:23 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Sun, 12 Feb 2017 20:45:28 +0000 (15:45 -0500)
commit1de1e8f7f0679171514b2fd996770139026b5674
tree2074e61b10f8329ad42349a1f6fa2199d9bc2acc
parent2e41c392fac193dc5e363cd8e3493bc5ae5e0e7f
Experiment with conversions between integers and floats.

Switch some conversions from libem calls to inline code.  The
conversions from integers to floats are now too slow, because each
conversion allocates 4 or 5 registers, and the register allocator is
too slow.  I might use these slow conversions to experiment with the
register allocator.

I add the missing conversions between 4-byte single floats and
integers, simply by going through 8-byte double floats.  (These
replace the calls to nonexistant functions in libem.)

I remove the placeholder for fef 4, because it doesn't exist in libem,
and our language runtimes only use fef 8.
mach/powerpc/ncg/table