public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/55266] vector expansion: 24 movs for 4 adds Date: Fri, 21 Jul 2023 12:12:11 +0000 [thread overview] Message-ID: <bug-55266-4-A6g8QQytVs@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-55266-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55266 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- The original issue is fixed. f: .LFB0: .cfi_startproc movapd (%rdi), %xmm2 movapd 16(%rdi), %xmm1 movapd %xmm2, %xmm0 addpd %xmm2, %xmm0 addpd %xmm2, %xmm0 movaps %xmm0, (%rdi) movapd %xmm1, %xmm0 addpd %xmm1, %xmm0 addpd %xmm1, %xmm0 movaps %xmm0, 16(%rdi) ret the issue in comment#4 as well I think: _Z5dotd1Dv4_fS_: .LFB3: .cfi_startproc movaps %xmm1, %xmm3 pxor %xmm2, %xmm2 movhlps %xmm0, %xmm2 cvtps2pd %xmm0, %xmm0 cvtps2pd %xmm2, %xmm1 pxor %xmm2, %xmm2 movhlps %xmm3, %xmm2 cvtps2pd %xmm3, %xmm3 cvtps2pd %xmm2, %xmm2 mulpd %xmm3, %xmm0 mulpd %xmm2, %xmm1 addpd %xmm0, %xmm1 movapd %xmm1, %xmm0 unpckhpd %xmm1, %xmm0 addpd %xmm1, %xmm0 cvtsd2ss %xmm0, %xmm0 ret .cfi_endproc .LFE3: .size _Z5dotd1Dv4_fS_, .-_Z5dotd1Dv4_fS_ .p2align 4 .globl _Z5dotd2Dv4_fS_ .type _Z5dotd2Dv4_fS_, @function _Z5dotd2Dv4_fS_: .LFB4: .cfi_startproc movaps %xmm1, %xmm3 cvtps2pd %xmm0, %xmm4 pxor %xmm2, %xmm2 movhlps %xmm0, %xmm2 pxor %xmm0, %xmm0 movhlps %xmm3, %xmm0 cvtps2pd %xmm2, %xmm2 cvtps2pd %xmm1, %xmm1 cvtps2pd %xmm0, %xmm0 mulpd %xmm4, %xmm1 mulpd %xmm0, %xmm2 addpd %xmm2, %xmm1 movapd %xmm1, %xmm0 unpckhpd %xmm1, %xmm0 addpd %xmm1, %xmm0 cvtsd2ss %xmm0, %xmm0 ret
prev parent reply other threads:[~2023-07-21 12:12 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-11-10 15:10 [Bug middle-end/55266] New: vector expansion: 36 " glisse at gcc dot gnu.org 2012-11-13 10:23 ` [Bug middle-end/55266] " glisse at gcc dot gnu.org 2012-11-28 10:11 ` glisse at gcc dot gnu.org 2012-12-09 2:08 ` [Bug middle-end/55266] vector expansion: 24 " pinskia at gcc dot gnu.org 2013-03-03 11:58 ` vincenzo.innocente at cern dot ch 2023-07-21 12:12 ` rguenth at gcc dot gnu.org [this message]
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-55266-4-A6g8QQytVs@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).