public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53759] [4.7/4.8 Regression] gcc -mavx emits vshufps for __builtin_ia32_loadlps Date: Sun, 24 Jun 2012 14:55:00 -0000 [thread overview] Message-ID: <bug-53759-4-NJH4lW570O@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53759-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53759 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-06-24 CC| |areg.melikadamyan at gmail | |dot com, hjl.tools at gmail | |dot com, ubizjak at gmail | |dot com Target Milestone|--- |4.7.2 Summary|gcc -mavx emits vshufps for |[4.7/4.8 Regression] gcc |__builtin_ia32_loadlps |-mavx emits vshufps for | |__builtin_ia32_loadlps Ever Confirmed|0 |1 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-24 14:54:44 UTC --- GCC 4.6 doesn't have this problem: [hjl@gnu-6 pr53759]$ cat x.i typedef float v4sf __attribute__ ((vector_size (4*4))); typedef float v2sf __attribute__ ((vector_size (4*2))); v2sf mem[1]; int main() { v4sf reg = (v4sf){0,0,0,0}; reg = __builtin_ia32_loadlps(reg, mem); return reg[0]; } [hjl@gnu-6 pr53759]$ gcc -S -mavx -O x.i [hjl@gnu-6 pr53759]$ cat x.s .file "x.i" .text .globl main .type main, @function main: .LFB0: .cfi_startproc vxorps %xmm0, %xmm0, %xmm0 vmovlps mem(%rip), %xmm0, %xmm0 vcvttss2si %xmm0, %eax ret .cfi_endproc .LFE0: .size main, .-main .comm mem,8,8 .ident "GCC: (GNU) 4.6.3 20120306 (Red Hat 4.6.3-2)" .section .note.GNU-stack,"",@progbits [hjl@gnu-6 pr53759]$
next prev parent reply other threads:[~2012-06-24 14:55 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-06-24 12:36 [Bug target/53759] New: gcc -mavx emits vshufps for__builtin_ia32_loadlps dag at nimrod dot no 2012-06-24 12:46 ` [Bug target/53759] " dag at nimrod dot no 2012-06-24 14:55 ` hjl.tools at gmail dot com [this message] 2012-06-24 15:47 ` [Bug target/53759] [4.7/4.8 Regression] gcc -mavx emits vshufps for __builtin_ia32_loadlps hjl.tools at gmail dot com 2012-06-25 7:35 ` jakub at gcc dot gnu.org 2012-06-25 8:51 ` jakub at gcc dot gnu.org 2012-06-25 14:53 ` jakub at gcc dot gnu.org 2012-06-25 14:57 ` jakub at gcc dot gnu.org 2012-06-25 15:05 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-53759-4-NJH4lW570O@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).