This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AArch64, ARM] Rename the FCPYS type to FMOV
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: James Greenhalgh <James dot Greenhalgh at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>
- Date: Fri, 06 Sep 2013 14:49:28 +0100
- Subject: Re: [AArch64, ARM] Rename the FCPYS type to FMOV
- Authentication-results: sourceware.org; auth=none
- References: <1378475043-16619-1-git-send-email-james dot greenhalgh at arm dot com>
On 06/09/13 14:44, James Greenhalgh wrote:
>
> Hi,
>
> This patch updates the AArch64 backend such that floating point
> moves are correctly categorized with type "FMOV".
>
> Then in the ARM backend we rename "FCPYS" to "FMOV" everywhere
> where it is appropriate to do so.
>
> Regression tested on aarch64-none-elf and arm-none-eabi with no
> regressions.
>
> OK?
>
> Thanks,
> James
> ---
> gcc/
>
> 2013-09-06 James Greenhalgh <james.greenhalgh@arm.com>
>
> * config/arm/types.md (type): Rename fcpys to fmov.
> * config/arm/vfp.md
> (*arm_movsi_vfp): Rename type fcpys as fmov.
> (*thumb2_movsi_vfp): Likewise
> (*movhf_vfp_neon): Likewise
> (*movhf_vfp): Likewise
> (*movsf_vfp): Likewise
> (*thumb2_movsf_vfp): Likewise
> (*movsfcc_vfp): Likewise
> (*thumb2_movsfcc_vfp): Likewise
> * config/aarch64/aarch64-simd.md
> (move_lo_quad_<mode>): Replace type mov_reg with fmovs.
> * config/aarch64/aarch64.md
> (*movsi_aarch64): Replace type mov_reg with fmovs.
> (*movdi_aarch64): Likewise
> (*movsf_aarch64): Likewise
> (*movdf_aarch64): Likewise
> * config/arm/arm.c
> (cortexa7_older_only): Rename TYPE_FCPYS to TYPE_FMOV.
> * config/arm/iwmmxt.md
> (*iwmmxt_movsi_insn): Rename type fcpys as fmov.
> * config/arm/arm1020e.md: Update with new attributes.
> * config/arm/cortex-a15-neon.md: Update with new attributes.
> * config/arm/cortex-a5.md: Update with new attributes.
> * config/arm/cortex-a53.md: Update with new attributes.
> * config/arm/cortex-a7.md: Update with new attributes.
> * config/arm/cortex-a8-neon.md: Update with new attributes.
> * config/arm/cortex-a9.md: Update with new attributes.
> * config/arm/cortex-m4-fpu.md: Update with new attributes.
> * config/arm/cortex-r4f.md: Update with new attributes.
> * config/arm/marvell-pj4.md: Update with new attributes.
> * config/arm/vfp11.md: Update with new attributes.
>
>
OK.
R.