PR target/39228
commita7a2dd08dfd5511e4dee5472956dd1893c356a94
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Feb 2009 10:51:04 +0000 (19 10:51 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Feb 2009 10:51:04 +0000 (19 10:51 +0000)
treebaeea59617c20a8903bff056b002279a5993025a
parentc5168a9edb49b05210a840ccfe4be5d24abaa792
PR target/39228
* config/i386/i386.md (isinfxf2): Split from isinf<mode>2.
(UNSPEC_FXAM_MEM): New unspec.
(fxam<mode>2_i387_with_temp): New insn and split pattern.
(isinf<mode>2): Use MODEF mode iterator.  Force operand[1] through
memory using fxam<mode>2_i387_with_temp to remove excess precision.

testsuite/ChangeLog:

PR target/39228
* gcc.c-torture/execute/pr39228.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144293 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr39228.c [new file with mode: 0644]