Hi, This patch fixes a regression caused by recent changes to *mov<mode>_aarch64/SHORT. One of the pattern alternatives is trying to issue a SIMD instruction with -mgeneral-regs-only. The proposed fix is to define the "simd" attribute on the pattern in question.
Thanks Sofiane ----- ChangeLog: gcc/ * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add simd attribute. testsuite/ * gcc.target/aarch64/scalar-mov.c: New test.
aarch64-fix-mov-simd-bug.diff
Description: Binary data