This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[AARCH64] Fix mov<mode>_aarch64/SHORT regression


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.

Attachment: aarch64-fix-mov-simd-bug.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]