This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19252] sub optimal use of fpu comparisons in SSE code
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2005 14:05:42 -0000
- Subject: [Bug target/19252] sub optimal use of fpu comparisons in SSE code
- References: <20050104123832.19252.tbptbp@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From uros at kss-loka dot si 2005-01-04 14:05 -------
Adding -mno-80387 to flags doesn't generate fcomip anymore.
But when I try to compile povray with '-O3 -march=pentium4 -mno-80387
-mfpmath=sse -ffast-math' I got into:
bbox.cpp: In function 'void build_area_table(BBOX_TREE**, long int, long int,
double*)':
bbox.cpp:1753: error: insn does not satisfy its constraints:
(insn 216 200 217 5 (set (reg:CCFP 17 flags)
(compare:CCFP (reg:DF 10 st(2))
(reg/v:DF 9 st(1) [orig:68 bmin$1 ] [68]))) 25 {*cmpfp_i_sse_only} (nil)
(nil))
bbox.cpp:1753: internal compiler error: in copyprop_hardreg_forward_1, at
regrename.c:1567
Please submit a full bug report,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19252