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