diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2016-07-27 04:45:59 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2016-07-27 04:45:59 +0000 |
commit | 71abba1e35b19466c722cc987c115a1f6546a1a6 (patch) | |
tree | 76123d85bedded1b1d2c3de87dfbed9c00881dce /gcc/predict.c | |
parent | 2f65c3b3377fc645b071f826f8f02776fb11cae8 (diff) | |
download | gcc-71abba1e35b19466c722cc987c115a1f6546a1a6.zip gcc-71abba1e35b19466c722cc987c115a1f6546a1a6.tar.gz gcc-71abba1e35b19466c722cc987c115a1f6546a1a6.tar.bz2 |
re PR target/71869 (__builtin_isgreater raises an invalid exception on PPC64 using __float128 inputs.)
[gcc]
2016-07-26 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/71869
* config/rs6000/rs6000.c (rs6000_generate_compare): Rework
__float128 support when we don't have hardware support, so that
the IEEE built-in functions like isgreater, first call __unordkf3
to make sure neither operand is a NaN, and if both operands are
ordered, do the normal comparison.
[gcc/testsuite]
2016-07-26 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/71869
* gcc.target/powerpc/float128-cmp.c: New test to make sure that
IEEE built-in functions handle quiet and signalling NaNs
correctly.
From-SVN: r238779
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions