This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/18614] [3.4/4.0 Regression] ICE in simplify_binary_operation
- From: "uros at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2004 14:43:42 -0000
- Subject: [Bug rtl-optimization/18614] [3.4/4.0 Regression] ICE in simplify_binary_operation
- References: <20041122222622.18614.sbo@mis.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From uros at gcc dot gnu dot org 2004-11-23 14:43 -------
Patch here: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01867.html
Resulting ASM with '-O2 -msse2' is much better. Optimization did its job quite
well :)
.LC1:
.long 1065353216
.long 1082130432
.long 0
.long 0
.text
.p2align 4,,15
.globl main
.type main, @function
main:
pushl %ebp
xorl %eax, %eax
movl %esp, %ebp
subl $24, %esp
rsqrtps .LC1, %xmm0
andl $-16, %esp
subl $16, %esp
cvtps2pd %xmm0, %xmm0
movapd %xmm0, -24(%ebp)
leave
ret
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18614