[PATCH][AARCH64] Restrict "m" constraint for narrow moves

Sofiane Naci sofiane.naci@arm.com
Mon Mar 25 09:34:00 GMT 2013


Hi,

Loads and stores with PC-relative addresses are not supported for SHORT
modes. This patch fixes a silent bug and implements this restriction for the
generic "m" constraint.

Tested successfully on aarch64-none-elf.

OK for trunk?

Thanks
Sofiane

-----

2013-03-25  Sofiane Naci  <sofiane.naci@arm.com>

	* config/aarch64/aarch64.c (aarch64_classify_address): Support
	PC-relative load in SI modes and above only.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-restrict-m-constraint.patch
Type: application/octet-stream
Size: 650 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130325/f748d597/attachment.obj>


More information about the Gcc-patches mailing list