summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-03 10:20:53 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-03 10:20:53 +0000
commit79959616093d981c7c71a6ab16493a0b3c707257 (patch)
tree5110dce167af4ae565fa6149fa9475124417462a /gcc
parent223f6dbc6235113e669ea3ada06498afc21c40bf (diff)
downloadgcc-79959616093d981c7c71a6ab16493a0b3c707257.tar.gz
PR target/31175
* config/i386/i386.md (isinf<mode>2): Expand only when TARGET_C99_FUNCTIONS is set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123465 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.md5
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0737cbeaeec..0a56ebc63e2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -36,6 +36,12 @@
2007-04-03 Uros Bizjak <ubizjak@gmail.com>
+ PR target/31175
+ * config/i386/i386.md (isinf<mode>2): Expand only when
+ TARGET_C99_FUNCTIONS is set.
+
+2007-04-03 Uros Bizjak <ubizjak@gmail.com>
+
* config.gcc (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
(x86_64-*-linux*): Ditto.
* config/i386/i386.opt (mpc): New option.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 2fc4f5f1072..849ca830eba 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -18236,8 +18236,9 @@
[(use (match_operand:SI 0 "register_operand" ""))
(use (match_operand:X87MODEF 1 "register_operand" ""))]
"TARGET_USE_FANCY_MATH_387
- && (!(SSE_FLOAT_MODE_P (<MODE>mode) && TARGET_SSE_MATH)
- || TARGET_MIX_SSE_I387)"
+ && TARGET_C99_FUNCTIONS
+ && (!(SSE_FLOAT_MODE_P (<MODE>mode) && TARGET_SSE_MATH)
+ || TARGET_MIX_SSE_I387)"
{
rtx mask = GEN_INT (0x45);
rtx val = GEN_INT (0x05);