[AArch64] Use "multiple" for type, where more than one instruction is used for a move
Richard Earnshaw
rearnsha@arm.com
Fri Sep 6 13:50:00 GMT 2013
On 06/09/13 14:46, James Greenhalgh wrote:
>
> Hi,
>
> We could introduce a whole new type for insns which generate two moves,
> but we have already introduced a "multiple" classification for
> types in the ARM backend, so use that in place of "mov_reg" where
> appropriate.
>
> 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/aarch64/aarch64.md
> (*movti_aarch64): Use "multiple" for type where v8type is "move2".
> (*movtf_aarch64): Likewise.
> * config/arm/arm.md
> (thumb1_movdi_insn): Use "multiple" for type where more than one
> instruction is used for a move.
> (*arm32_movhf): Likewise.
> (*thumb_movdf_insn): Likewise.
>
>
OK.
R.
More information about the Gcc-patches
mailing list