[PATCHv2/AARCH64] Remove index from AARCH64_FUSION_PAIR
James Greenhalgh
james.greenhalgh@arm.com
Wed Aug 19 16:08:00 GMT 2015
On Wed, Aug 19, 2015 at 04:58:22PM +0100, Andrew Pinski wrote:
> Changes from v1:
> Also remove the hack AARCH64_FUSE_ALL.
>
> Instead of doing an explict index in aarch64-fusion-pairs.def, we
> should have an enum which does the index instead. This allows
> you to add/remove them without worrying about the order being
> correct and having holes or worry about merge conficts.
>
> OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions.
OK.
Thanks,
James
>
> ChangeLog:
> * aarch64-fusion-pairs.def: Remove all index to AARCH64_FUSION_PAIR.
> * config/aarch64/aarch64-protos.h (aarch64_fusion_pairs_index): New enum.
> (aarch64_fusion_pairs): Base the shifted value on the index instead
> Rewrite AARCH64_FUSE_ALL to be based on the end index.
> of the argument to AARCH64_FUSION_PAIR.
> * config/aarch64/aarch64.c: Remove the last argument to AARCH64_FUSION_PAIR.
More information about the Gcc-patches
mailing list