This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/24160] [4.1 Regression] ICE with -O1 -ftree-vectorize -msse
- 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 Oct 2005 12:57:30 -0000
- Subject: [Bug rtl-optimization/24160] [4.1 Regression] ICE with -O1 -ftree-vectorize -msse
- References: <bug-24160-8902@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from uros at kss-loka dot si 2005-10-04 12:57 -------
(In reply to comment #9)
Sorry for typing too fast... Of course, load of %ebp is here:
foo:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $1032, %esp
leal 8(%esp), %ebp <<<<<<< load of %ebp
movl 1052(%esp), %eax
andl $15, %eax
shrl $2, %eax
negl %eax
andl $3, %eax
je .L2
movl $0, %ecx
.L4:
movl 1052(%esp), %edx
movl %ebp, (%edx,%ecx,4)
And just for fun, without vectorization, following code is produced:
foo:
subl $1024, %esp
movl 1028(%esp), %ecx
movl %esp, %edx
movl $1, %eax
.L2:
movl %edx, -4(%ecx,%eax,4)
incl %eax
cmpl $11, %eax
jne .L2
addl $1024, %esp
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24160