This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Fix shift attributes
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Wed, 27 Apr 2016 15:55:07 +0100
- Subject: Re: [PATCH][AArch64] Fix shift attributes
- Authentication-results: sourceware.org; auth=none
- Nodisclaimer: True
- References: <AM3PR08MB0088D8F0A8B620450F9ACED1836F0 at AM3PR08MB0088 dot eurprd08 dot prod dot outlook dot com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
On Fri, Apr 22, 2016 at 02:11:52PM +0000, Wilco Dijkstra wrote:
> This patch fixes the attributes of integer immediate shifts which were
> incorrectly modelled as register controlled shifts. Also change EXTR
> attribute to being a rotate.
>
> OK for trunk?
OK. Thanks for the fix.
Thanks,
James
>
> ChangeLog:
> 2016-04-22 Wilco Dijkstra <wdijkstr@arm.com>
>
> * gcc/config/aarch64/aarch64.md (aarch64_ashl_sisd_or_int_<mode>3):
> Split integer shifts into shift_reg and bfm.
> (aarch64_lshr_sisd_or_int_<mode>3): Likewise.
> (aarch64_ashr_sisd_or_int_<mode>3): Likewise.
> (ror<mode>3_insn): Likewise.
> (<optab>si3_insn_uxtw): Likewise.
> (<optab><mode>3_insn): Change to rotate_imm.
> (extr<mode>5_insn_alt): Likewise.
> (extrsi5_insn_uxtw): Likewise.
> (extrsi5_insn_uxtw_alt): Likewise.