RISC-V: Fix -fsignaling-nans for glibc testsuite.
authorAndrew Waterman <andrew@sifive.com>
Fri, 5 Oct 2018 20:18:21 +0000 (20:18 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 5 Oct 2018 20:18:21 +0000 (13:18 -0700)
commit1fcbfb00fc675ee33b90ae486f3acb5916c93400
tree521d320fc3d5b0ff12c9592e49c5110fac5d223c
parenta3a81f292256069546bc2b0b9ebddb229af117b1
RISC-V: Fix -fsignaling-nans for glibc testsuite.

gcc/
* config/riscv/riscv.md (f<quiet_pattern>_quiet<ANYF:mode><X:mode>4):
Add define_expand.  Add ! HONOR_SNANS check to current pattern.  Add
new pattern using HONOR_SNANS that emits one extra instruction.

Co-Authored-By: Jim Wilson <jimw@sifive.com>
From-SVN: r264892
gcc/ChangeLog
gcc/config/riscv/riscv.md