[Bug target/39228] [4.3/4.4 Regression] 387 optimised __builtin_isinf() gives incorrect result
uros at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 19 12:45:00 GMT 2009
------- Comment #6 from uros at gcc dot gnu dot org 2009-02-19 12:44 -------
Subject: Bug 39228
Author: uros
Date: Thu Feb 19 12:44:40 2009
New Revision: 144295
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144295
Log:
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.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/pr39228.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/i386.md
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39228
More information about the Gcc-bugs
mailing list