diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-03-22 17:51:12 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2017-03-22 17:51:12 +0000 |
commit | 04d2e17e02d39b65a846dca50d4b27e9b8d4e6d4 (patch) | |
tree | 01fbece878beaa3b38ecf586e77ca0b209da9464 /gcc/config/aarch64 | |
parent | 26e5b011f88d4151bf1546c3e08ce59e30426fa0 (diff) |
Many supported cores implement fusion of AES instructions. When fusion
happens it can give a significant performance gain. If not, scheduling
fusion candidates next to each other has almost no effect on performance.
Due to the high benefit/low cost it makes sense to enable AES fusion with
-mcpu=generic so that cores that support it always benefit.
gcc/
* config/aarch64/aarch64.c (generic_tunings): Add AES fusion.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@246395 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/aarch64')
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index a069427f576..eb0095d6b6d 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -536,7 +536,7 @@ static const struct tune_params generic_tunings = &generic_approx_modes, 4, /* memmov_cost */ 2, /* issue_rate */ - AARCH64_FUSE_NOTHING, /* fusible_ops */ + (AARCH64_FUSE_AES_AESMC), /* fusible_ops */ 8, /* function_align. */ 8, /* jump_align. */ 4, /* loop_align. */ |