https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104188
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2022-01-22
Ever confirmed|0 |1
Keywords| |wrong-code
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There is a broadcast as part of the other instruction, optimizing it correctly:
vfmadd132ps 16(%rdx){1to16}, %zmm1, %zmm2
{1to16} says to broadcast from first element to all 16.
Why do you think this is wrong code?