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/106081] missed vectorization Date: Wed, 21 Jun 2023 13:45:28 +0000 [thread overview] Message-ID: <bug-106081-4-cmTxVYz3Gp@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-106081-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |96208 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- PR96208 is the SLP of non-grouped loads. We now can convert short -> double and we get with the grouped load hacked and -march=znver3: .L2: vmovdqu (%rax), %ymm0 vpermq $27, -24(%rdi), %ymm10 addq $32, %rax subq $32, %rdi vpshufb %ymm7, %ymm0, %ymm0 vpermpd $85, %ymm10, %ymm9 vpermpd $170, %ymm10, %ymm8 vpermpd $255, %ymm10, %ymm6 vpmovsxwd %xmm0, %ymm1 vextracti128 $0x1, %ymm0, %xmm0 vbroadcastsd %xmm10, %ymm10 vcvtdq2pd %xmm1, %ymm11 vextracti128 $0x1, %ymm1, %xmm1 vpmovsxwd %xmm0, %ymm0 vcvtdq2pd %xmm1, %ymm1 vfmadd231pd %ymm10, %ymm11, %ymm5 vfmadd231pd %ymm9, %ymm1, %ymm2 vcvtdq2pd %xmm0, %ymm1 vextracti128 $0x1, %ymm0, %xmm0 vcvtdq2pd %xmm0, %ymm0 vfmadd231pd %ymm8, %ymm1, %ymm4 vfmadd231pd %ymm6, %ymm0, %ymm3 cmpq %rax, %rdx jne .L2 that is, the 'short' data type forces a higher VF to us and the splat codegen I hacked in is sub-optimal still. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96208 [Bug 96208] non-grouped load can be SLP vectorized for 2-element vectors case
next prev parent reply other threads:[~2023-06-21 13:45 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-24 15:56 [Bug middle-end/106081] New: " hubicka at gcc dot gnu.org 2022-06-24 16:14 ` [Bug middle-end/106081] " hubicka at gcc dot gnu.org 2022-06-26 8:08 ` crazylht at gmail dot com 2022-06-27 9:01 ` marxin at gcc dot gnu.org 2022-06-27 10:38 ` rguenth at gcc dot gnu.org 2022-06-27 14:26 ` hubicka at gcc dot gnu.org 2022-10-24 0:14 ` pinskia at gcc dot gnu.org 2023-06-21 13:45 ` rguenth at gcc dot gnu.org [this message] 2023-06-27 7:49 ` rguenth at gcc dot gnu.org 2023-06-27 8:13 ` rguenth at gcc dot gnu.org 2023-06-27 9:10 ` rsandifo at gcc dot gnu.org 2023-06-28 12:15 ` hubicka at gcc dot gnu.org 2023-07-26 9:34 ` rguenth at gcc dot gnu.org 2023-07-26 9:35 ` rguenth at gcc dot gnu.org 2023-07-26 10:01 ` rsandifo at gcc dot gnu.org 2023-07-26 10:32 ` rguenth at gcc dot gnu.org 2023-07-26 10:52 ` rguenth at gcc dot gnu.org 2023-07-26 11:00 ` rsandifo at gcc dot gnu.org 2023-07-26 11:15 ` rsandifo at gcc dot gnu.org 2023-07-26 12:15 ` rguenther at suse dot de 2023-07-26 13:28 ` cvs-commit at gcc dot gnu.org 2023-07-26 13:28 ` rguenth 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-106081-4-cmTxVYz3Gp@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).