[Bug target/98167] [x86] Failure to optimize operation on indentically shuffled operands into a shuffle of the result of the operation

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 7 12:26:49 GMT 2020


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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
That works only for single-operation and doesn't really scale.  I think we want
to expose the permutes at the GIMPLE level via ix86_gimple_fold_builtin.  We
already handle IX86_BUILTIN_SHUFPD there but not IX86_BUILTIN_SHUFPS for
some reason.


More information about the Gcc-bugs mailing list