https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117092
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |113857 Last reconfirmed| |2024-10-24 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. The code generation out of the gimple is basically the same as what is done for PR 113857. FAIL: gcc.target/aarch64/pr109072_1.c check-function-bodies s16x4_2 vector(4) short int _9; <bb 2> [local count: 1073741824]: _9 = {x_2(D), 0, 0, 0}; XPASS: gcc.target/aarch64/pr109072_1.c check-function-bodies s64x2_2 XFAIL: gcc.target/aarch64/pr109072_1.c check-function-bodies s32x4_2 vector(4) int _9; <bb 2> [local count: 1073741824]: _9 = {x_2(D), 0, 0, 0}; return _9; So this depends on PR 113857 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113857 [Bug 113857] fmov should be used to zero the upper bits of the vector register