This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Emit SIMD moves as mov
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Tue, 20 Jun 2017 12:15:06 +0100
- Subject: Re: [PATCH][AArch64] Emit SIMD moves as mov
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=pass (sender IP is 217.140.96.140) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=bestguesspass action=none header.from=arm.com;
- Nodisclaimer: True
- References: <AM5PR0802MB261082CF3D6C49188B4ABE8683C50@AM5PR0802MB2610.eurprd08.prod.outlook.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Tue, Jun 20, 2017 at 12:06:29PM +0100, Wilco Dijkstra wrote:
> SIMD moves are currently emitted as ORR. Change this to use the MOV
> pseudo instruction just like integer moves (the ARM-ARM states MOV is the
> preferred disassembly), improving readability of -S output.
>
> Passes bootstrap, OK for commit?
Does this introduce a dependency on a particular binutils version, or have
we always supported this alias?
The patch looks OK, but I don't want to introduce a new dependency so please
check how far back this is supported.
Thanks,
James
>
> ChangeLog:
> 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
>
> * config/aarch64/aarch64.md (movti_aarch64):
> Emit mov rather than orr.
> (movtf_aarch64): Likewise.
> * config/aarch64/aarch64-simd.md (aarch64_simd_mov):
> Emit mov rather than orr.
> --