public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46295] New: Missing vzeroupper
@ 2010-11-03 20:43 hjl.tools at gmail dot com
  2010-11-03 21:05 ` [Bug target/46295] " hjl.tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-03 20:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46295

           Summary: Missing vzeroupper
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: ubizjak@gmail.com


[hjl@gnu-6 969]$ cat z.i 
typedef double VECTOR[3];
typedef double EXPRESS[5];
void Parse_Rel_Factor (EXPRESS Express,int *Terms);
void Parse_Vector (VECTOR Vector)
{
   EXPRESS Express;
   int Terms;
   for (Terms = 0; Terms < 5; Terms++)
     Express[Terms] = 0.0;
   Parse_Rel_Factor(Express,&Terms);
}
[hjl@gnu-6 969]$ make z.s
/export/build/gnu/gcc-avx256/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx256/build-x86_64-linux/gcc/ -O3 -funroll-loops
-ffast-math -mavx   -S z.i
[hjl@gnu-6 969]$ cat z.s
    .file    "z.i"
    .text
    .p2align 4,,15
    .globl    Parse_Vector
    .type    Parse_Vector, @function
Parse_Vector:
.LFB0:
    .cfi_startproc
    pushq    %rbp
    .cfi_def_cfa_offset 16
    .cfi_offset 6, -16
    vxorpd    %xmm0, %xmm0, %xmm0
    movq    %rsp, %rbp
    .cfi_def_cfa_register 6
    andq    $-32, %rsp
    subq    $64, %rsp
    leaq    60(%rsp), %rsi
    movq    %rsp, %rdi
    vmovapd    %ymm0, (%rsp)
    movq    $0, 32(%rsp)
    movl    $5, 60(%rsp)
    call    Parse_Rel_Factor
    leave
    .cfi_def_cfa 7, 8
    ret
    .cfi_endproc
.LFE0:
    .size    Parse_Vector, .-Parse_Vector
    .ident    "GCC: (GNU) 4.6.0 20101103 (experimental)"
    .section    .note.GNU-stack,"",@progbits
[hjl@gnu-6 969]$


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-04 12:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-03 20:43 [Bug target/46295] New: Missing vzeroupper hjl.tools at gmail dot com
2010-11-03 21:05 ` [Bug target/46295] " hjl.tools at gmail dot com
2010-11-03 21:16 ` hjl at gcc dot gnu.org
2010-11-04 12:01 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).