re PR target/31175 (isinf incorrectly expanded)

PR target/31175
       * config/i386/i386.md (isinf<mode>2): Expand only when
       TARGET_C99_FUNCTIONS is set.

From-SVN: r123465
This commit is contained in:
Uros Bizjak 2007-04-03 12:20:53 +02:00 committed by Uros Bizjak
parent 9200d6c868
commit 81e864cb18
2 changed files with 9 additions and 2 deletions

View File

@ -34,6 +34,12 @@
constraints shall have the same length if they start with the same
letter.
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.

View File

@ -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);