This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/46519] Missing vzeroupper


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]