This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/46519] Missing vzeroupper
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Nov 2010 00:26:20 +0000
- Subject: [Bug target/46519] Missing vzeroupper
- Auto-submitted: auto-generated
- References: <bug-46519-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46519
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-18 00:26:18 UTC ---
Created attachment 22437
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22437
A testcase
With -O3 -funroll-loops -ffast-math -mavx:
movl Token_Id(%rip), %eax
vmovapd 32(%rsp), %ymm0
cmpl $1, %eax
je .L4
cmpl $2, %eax
je .L5
testl %eax, %eax
jne .L464
leaq 124(%rsp), %rsi
leaq 64(%rsp), %rdi
call _Z16Parse_Rel_FactorPdPi <<<< Missing vzeroupper
movl 124(%rsp), %esi
.L856:
vmovapd %ymm0, 32(%rsp)
call _Z9Get_Tokenv <<<< Missing vzeroupper
movl Token_Id(%rip), %eax
vmovapd 32(%rsp), %ymm0
...
.L491:
leaq 252(%rsp), %rsi
leaq 64(%rsp), %rdi
vmovapd %ymm0, 32(%rsp)
call _ZL14Parse_Rel_TermPdPi <<<< Missing vzeroupper
movl 252(%rsp), %esi
movl 224(%rsp), %edx
vmovapd 32(%rsp), %ymm0
cmpl %edx, %esi