public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111023] New: missing extendv4siv4hi (and friends)
@ 2023-08-15  7:33 rguenth at gcc dot gnu.org
  2023-08-15 15:23 ` [Bug target/111023] " ubizjak at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-08-15  7:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111023
           Summary: missing extendv4siv4hi (and friends)
           Product: gcc
           Version: 13.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

We could vectorize gcc.dg/vect/pr65947-7.c if we implement the
extendv4siv4hi pattern (sign-extend V4HI to V4SI).  We can already do
vec_unpacks_lo via

        pcmpgtw %xmm0, %xmm1
        movdqa  %xmm0, %xmm2
        punpcklwd       %xmm1, %xmm2

and that would trivially extend to the required pattern - just the
input is v4hi instead of v8hi.

Other related patterns are probably missing as well, where we can do
vec_unpack[s]_lo we should be able to implement [zero_]extend.

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

end of thread, other threads:[~2023-08-21  9:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-15  7:33 [Bug target/111023] New: missing extendv4siv4hi (and friends) rguenth at gcc dot gnu.org
2023-08-15 15:23 ` [Bug target/111023] " ubizjak at gmail dot com
2023-08-17  6:46 ` rguenth at gcc dot gnu.org
2023-08-18  9:58 ` ubizjak at gmail dot com
2023-08-18  9:59 ` ubizjak at gmail dot com
2023-08-18 11:37 ` rguenth at gcc dot gnu.org
2023-08-18 17:08 ` cvs-commit at gcc dot gnu.org
2023-08-21  7:26 ` ubizjak at gmail dot com
2023-08-21  9:25 ` rguenth at gcc dot gnu.org

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).