epiphany.c (epiphany_override_options): If TARGET_SOFT_CMPSF is not enabled, set...
authorJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 3 Dec 2014 16:25:25 +0000 (16:25 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 3 Dec 2014 16:25:25 +0000 (16:25 +0000)
commitf577844da99285ae853496b63217c16fdb017e56
treeb29c690c7d45d641edcc74636368bb9ab7a954f3
parent028c9c9ed7b71ed186829471b7b704ddfb0c5e26
epiphany.c (epiphany_override_options): If TARGET_SOFT_CMPSF is not enabled, set flag_finite_math_only.

gcc:
        * config/epiphany/epiphany.c (epiphany_override_options):
        If TARGET_SOFT_CMPSF is not enabled, set flag_finite_math_only.
        * config/epiphany/epiphany.md (mov<mode>cc): Don't use
        reverse_condition_maybe_unordered if flag_finite_math_only is set.
gcc/testsuite:
        * gcc.target/epiphany/fcmp-1.c: New test.

From-SVN: r218323
gcc/ChangeLog
gcc/config/epiphany/epiphany.c
gcc/config/epiphany/epiphany.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/epiphany/fcmp-1.c [new file with mode: 0644]