re PR target/71242 ([ia64] Missing built-in functions for float128 NaNs)
authorUros Bizjak <ubizjak@gmail.com>
Thu, 16 Jun 2016 14:32:40 +0000 (16:32 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 16 Jun 2016 14:32:40 +0000 (16:32 +0200)
commitb6ca982f5108c5982762eb2e7c361a88c082bc5d
tree1f9bd650692edc54f3159d746300856825bdcc5f
parentb07447ba5e2764c5a59c0e40fff91bea0e9f3114
re PR target/71242 ([ia64] Missing built-in functions for float128 NaNs)

PR target/71242
* config/ia64/ia64.c (enum ia64_builtins) [IA64_BUILTIN_NANQ]: New.
[IA64_BUILTIN_NANSQ]: Ditto.
(ia64_fold_builtin): New function.
(TARGET_FOLD_BUILTIN): New define.
(ia64_init_builtins) Declare const_string_type node.
Add __builtin_nanq and __builtin_nansq builtin functions.
(ia64_expand_builtin): Handle IA64_BUILTIN_NANQ and IA64_BUILTIN_NANSQ.

testsuite/ChangeLog:

PR target/71242
* testsuite/gcc.dg/torture/float128-nan.c: Also run on ia64-*-*.

From-SVN: r237530
gcc/ChangeLog
gcc/config/ia64/ia64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/float128-nan.c