This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AARCH64] Restrict "m" constraint for narrow moves
- From: Marcus Shawcroft <marcus dot shawcroft at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 25 Mar 2013 09:58:54 +0000
- Subject: Re: [PATCH][AARCH64] Restrict "m" constraint for narrow moves
- References: <000001ce293b$b4ee04b0$1eca0e10$ at naci@arm.com>
On 25/03/13 09:32, Sofiane Naci wrote:
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.
OK.
This is also an issue in 4.8, please back port the patch.
Cheers
/Marcus