ack/mach/powerpc/libem
George Koehler 66f93f08c5 Add fef 4, fif 4. Improve fef 8, fif 8. Other float changes.
When I wrote fef 8, I forgot to test denormalized numbers.  Oops.  Now
fix two of my mistakes:

 - When checking for zero, `extrwi r6, r3, 22, 12` needs to be
   `extrwi r6, r3, 20, 12`.  There are only 20 bits to extract.

 - After the multiplication by 2**64, I forgot to put the fraction in
   [0.5, 1) or (-1, 0.5] by setting IEEE exponent = 1022.

Teach fif 8 about signed zero and NaN.

In ncg/table, change cmf so NaN is not equal to any value, and comment
why ordered comparisons don't work with NaN.  Also add cost for
fctwiz, remove extra `uses REG`.

Edit comment in cfu8.s because the conditional branch might be before
or after fctwiz.
2018-01-22 14:04:15 -05:00
..
aar4.s Add test for EM _rck_. Fix traps in PowerPC ncg. 2017-12-24 22:37:52 -05:00
and.s Use lwzu, stwu to tighten more loops. 2017-10-18 12:12:42 -04:00
build.lua Add fef 4, fif 4. Improve fef 8, fif 8. Other float changes. 2018-01-22 14:04:15 -05:00
cfi8.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
cfu8.s Add fef 4, fif 4. Improve fef 8, fif 8. Other float changes. 2018-01-22 14:04:15 -05:00
cif8.s Stop inlining code to convert integers to floats. 2017-10-17 17:00:28 -04:00
cms.s Use lwzu, stwu to tighten more loops. 2017-10-18 12:12:42 -04:00
com.s Use lwzu, stwu to tighten more loops. 2017-10-18 12:12:42 -04:00
csa.s Add test for EM _rck_. Fix traps in PowerPC ncg. 2017-12-24 22:37:52 -05:00
csb.s Add test for EM _rck_. Fix traps in PowerPC ncg. 2017-12-24 22:37:52 -05:00
cuf8.s Stop inlining code to convert integers to floats. 2017-10-17 17:00:28 -04:00
exg.s Revise stack shuffles and integer conversions in PowerPC ncg. 2017-12-09 18:57:10 -05:00
fd_00000000.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
fef4.s Add fef 4, fif 4. Improve fef 8, fif 8. Other float changes. 2018-01-22 14:04:15 -05:00
fef8.s Add fef 4, fif 4. Improve fef 8, fif 8. Other float changes. 2018-01-22 14:04:15 -05:00
fif4.s Add fef 4, fif 4. Improve fef 8, fif 8. Other float changes. 2018-01-22 14:04:15 -05:00
fif8.s Add fef 4, fif 4. Improve fef 8, fif 8. Other float changes. 2018-01-22 14:04:15 -05:00
inn.s In PowerPC libem, use the new features of our assembler. 2017-01-23 17:16:39 -05:00
ior.s Use lwzu, stwu to tighten more loops. 2017-10-18 12:12:42 -04: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 Add test for EM _rck_. Fix traps in PowerPC ncg. 2017-12-24 22:37:52 -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
trp.s Add test for EM _rck_. Fix traps in PowerPC ncg. 2017-12-24 22:37:52 -05:00
xor.s Use lwzu, stwu to tighten more loops. 2017-10-18 12:12:42 -04:00
zer.s Use lwzu, stwu to tighten more loops. 2017-10-18 12:12:42 -04:00