[PATCH][AArch64] Enable -frename-registers at -O2 and higher

Kyrill Tkachov kyrylo.tkachov@foss.arm.com
Fri May 27 14:56:00 GMT 2016


Hi all,

As mentioned in https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00297.html, frename-registers registers can be beneficial for aarch64
and the patch at https://gcc.gnu.org/ml/gcc-patches/2016-05/msg01618.html resolves the AESE/AESMC fusion issue that it exposed
in the aarch64 backend. So this patch enables the pass for aarch64 at -O2 and above.

Bootstrapped and tested on aarch64-none-linux-gnu.

Ok for trunk?
Thanks,
Kyrill

P.S. Why is the table holding this information called aarch_option_optimization_table rather than
aarch64_option_optimization_table ?

2016-05-27  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * common/config/aarch64/aarch64-common.c
     (aarch64_option_optimization_table): Enable -frename-registers at
     -O2 and higher.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-renam-regs.patch
Type: text/x-patch
Size: 739 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160527/4f21f3af/attachment.bin>


More information about the Gcc-patches mailing list