public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106222] New: x86 Better code squence for __builtin_shuffle
@ 2022-07-07  6:26 admin at levyhsu dot com
  2022-07-07  7:05 ` [Bug target/106222] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: admin at levyhsu dot com @ 2022-07-07  6:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106222
           Summary: x86 Better code squence for __builtin_shuffle
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: admin at levyhsu dot com
  Target Milestone: ---

Related bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54346

After I merge two VEC_PERM_EXPR in the match.pd, I found that two
__builtin_shuffle actually generate better code than one __builtin_shuffle:

https://godbolt.org/z/xE9xd9ExT

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

* [Bug target/106222] x86 Better code squence for __builtin_shuffle
  2022-07-07  6:26 [Bug target/106222] New: x86 Better code squence for __builtin_shuffle admin at levyhsu dot com
@ 2022-07-07  7:05 ` pinskia at gcc dot gnu.org
  2022-10-19  2:47 ` crazylht at gmail dot com
  2023-07-30  9:03 ` roger at nextmovesoftware dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-07  7:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 53270
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53270&action=edit
testcase

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

* [Bug target/106222] x86 Better code squence for __builtin_shuffle
  2022-07-07  6:26 [Bug target/106222] New: x86 Better code squence for __builtin_shuffle admin at levyhsu dot com
  2022-07-07  7:05 ` [Bug target/106222] " pinskia at gcc dot gnu.org
@ 2022-10-19  2:47 ` crazylht at gmail dot com
  2023-07-30  9:03 ` roger at nextmovesoftware dot com
  2 siblings, 0 replies; 4+ messages in thread
From: crazylht at gmail dot com @ 2022-10-19  2:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> ---
This is fixed by r13-2843-g3db8e9c2422d92

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

* [Bug target/106222] x86 Better code squence for __builtin_shuffle
  2022-07-07  6:26 [Bug target/106222] New: x86 Better code squence for __builtin_shuffle admin at levyhsu dot com
  2022-07-07  7:05 ` [Bug target/106222] " pinskia at gcc dot gnu.org
  2022-10-19  2:47 ` crazylht at gmail dot com
@ 2023-07-30  9:03 ` roger at nextmovesoftware dot com
  2 siblings, 0 replies; 4+ messages in thread
From: roger at nextmovesoftware dot com @ 2023-07-30  9:03 UTC (permalink / raw)
  To: gcc-bugs

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

Roger Sayle <roger at nextmovesoftware dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |roger at nextmovesoftware dot com
   Target Milestone|---                         |13.0

--- Comment #3 from Roger Sayle <roger at nextmovesoftware dot com> ---
This was fixed by Hongtao's patch for GCC 13.

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

end of thread, other threads:[~2023-07-30  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07  6:26 [Bug target/106222] New: x86 Better code squence for __builtin_shuffle admin at levyhsu dot com
2022-07-07  7:05 ` [Bug target/106222] " pinskia at gcc dot gnu.org
2022-10-19  2:47 ` crazylht at gmail dot com
2023-07-30  9:03 ` roger at nextmovesoftware dot com

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