public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/98143] arm: missed vectorization with MVE compared to Neon
Date: Wed, 21 Apr 2021 15:31:45 +0000	[thread overview]
Message-ID: <bug-98143-4-jXhcr0W7Ru@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-98143-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98143

--- Comment #1 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Current trunk generates for MVE:

        ldr     r3, .L3+16      @ 5     [c=12 l=4]  *thumb2_movsi_vfp/5
        vldr.64 d6, .L3 @ 7     [c=8 l=4]  *mve_movv8hi/8
        vldr.64 d7, .L3+8
        ldr     r3, [r3]        @ 14    [c=12 l=4]  *thumb2_movsi_vfp/5
        mov     r2, r3  @ 17    [c=4 l=2]  *thumb2_movsi_vfp/0
        adds    r3, r3, #16     @ 18    [c=4 l=2]  *thumb2_addsi_short/1
        vstrh.16        q3, [r2]        @ 8     [c=8 l=4] 
*movmisalignv8hi_mve_store
        vstrh.16        q3, [r3]        @ 11    [c=8 l=4] 
*movmisalignv8hi_mve_store
        bx      lr      @ 45    [c=8 l=4]  *thumb2_return
.L4:
        .align  3
.L3:
        .short  3
        .short  3
        .short  3
        .short  3
        .short  3
        .short  3
        .short  3
        .short  3

      reply	other threads:[~2021-04-21 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04 14:22 [Bug target/98143] New: " clyon at gcc dot gnu.org
2021-04-21 15:31 ` clyon 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-98143-4-jXhcr0W7Ru@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: link
Be 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).