https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87743
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Target| |x86_64-*-* Component|middle-end |target --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Works for me on aarch64: ldr q0, [x1] sshll v1.2d, v0.2s, 0 sshll2 v0.2d, v0.4s, 0 str q1, [x0] str q0, [x0, 16] So it has to be a target issue.