This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch AArch64 1/4] Define candidates for instruction fusion in a .def file
- From: Marcus Shawcroft <marcus dot shawcroft at gmail 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>
- Date: Fri, 26 Jun 2015 13:39:57 +0100
- Subject: Re: [Patch AArch64 1/4] Define candidates for instruction fusion in a .def file
- Authentication-results: sourceware.org; auth=none
- References: <1435049360-10990-1-git-send-email-james dot greenhalgh at arm dot com> <1435049360-10990-2-git-send-email-james dot greenhalgh at arm dot com>
On 23 June 2015 at 09:49, James Greenhalgh <james.greenhalgh@arm.com> wrote:
>
> Hi,
>
> This patch moves the instruction fusion pairs from a set of #defines
> to an enum which we can generate from a .def file.
>
> We'll use that .def file again, and the friendly names it introduces
> shortly.
>
> OK?
>
> Thanks,
> James
>
> ---
> 2015-06-23 James Greenhalgh <james.greenhalgh@arm.com>
>
> * config/aarch64/aarch64-fusion-pairs.def: New.
> * config/aarch64/aarch64-protos.h (aarch64_fusion_pairs): New.
> * config/aarch64/aarch64.c (AARCH64_FUSE_NOTHING): Move to
> aarch64_fusion_pairs.
> (AARCH64_FUSE_MOV_MOVK): Likewise.
> (AARCH64_FUSE_ADRP_ADD): Likewise.
> (AARCH64_FUSE_MOVK_MOVK): Likewise.
> (AARCH64_FUSE_ADRP_LDR): Likewise.
> (AARCH64_FUSE_CMP_BRANCH): Likewise.
>
OK /Marcus