On Thu, Jun 16, 2016 at 12:44 PM, Alexander Monakov <amona...@ispras.ru> wrote: > Hi, > >> 2016-06-12 Uros Bizjak <ubiz...@gmail.com> >> >> 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: >> >> 2016-06-12 Uros Bizjak <ubiz...@gmail.com> >> >> PR target/71241 >> * testsuite/gcc.dg/torture/float128-nan.c: Also run on ia64-*-*. >> >> Tested by building croscompiller to ia64-linux-gnu and eyeballed >> resulting assembly. >> >> Can someone please test this patch on a real IA64 ? > > I gave it a shot. It bootstraps, and the float128-nan.c test passes. > Unfortunately, I had trouble running the testsuite to completion, but fwiw I > don't see anything alarming in the partial results I got.
Many thanks! I have committed the patch to the mainline to resolve PR71242 Uros.