dojump: Fix gcc.dg/torture/pr91323.c for aarch64 targets
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 16 Jan 2020 19:20:18 +0000 (19:20 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 27 Jan 2020 10:53:33 +0000 (10:53 +0000)
commit7974a14692cec3ecafed24bc275df803373f3230
tree0ba0343fa5777489879684973eae41f9dd4fe288
parente97a3063fb1936d6c36eeea720134d5675f73091
dojump: Fix gcc.dg/torture/pr91323.c for aarch64 targets

PR91323 was fixed for x86 and sparc in target code, but aarch64
instead relies on the target-independent comparison splitters.
Since LTGT is an unordered-signalling operation, we should split
it into unordered-signalling operations for any input that could
be NaN, not just inputs that could be signalling NaNs.

2020-01-27  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* dojump.c (split_comparison): Use HONOR_NANS rather than
HONOR_SNANS when splitting LTGT.
gcc/ChangeLog
gcc/dojump.c