https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103170
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>: https://gcc.gnu.org/g:c744ae0897957def0cd798399ef8ed6dc0d23811 commit r12-5137-gc744ae0897957def0cd798399ef8ed6dc0d23811 Author: Andrew Pinski <apin...@marvell.com> Date: Wed Nov 10 18:37:22 2021 +0000 [COMMITTED] aarch64: [PR103170] Fix aarch64_simd_dup<mode> The problem here is aarch64_simd_dup<mode> use the vw iterator rather than vwcore iterator. This causes problems for the V4SF and V2DF modes. I changed both of aarch64_simd_dup<mode> patterns to be consistent. Committed as obvious after a bootstrap/test on aarch64-linux-gnu. PR target/103170 gcc/ChangeLog: * config/aarch64/aarch64-simd.md (aarch64_simd_dup<mode>): Use vwcore iterator for the r constraint output string. gcc/testsuite/ChangeLog: * gcc.c-torture/compile/vector-dup-1.c: New test.