aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-03-22 17:51:12 +0000
committerWilco Dijkstra <wilco@gcc.gnu.org>2017-03-22 17:51:12 +0000
commite0701ef04266fa742bd3c7ced44b3195e32f146e (patch)
tree01fbece878beaa3b38ecf586e77ca0b209da9464 /gcc/config
parent992113522d88d5676b29a74bde4f3d5f21fd0c85 (diff)
downloadgcc-e0701ef04266fa742bd3c7ced44b3195e32f146e.zip
gcc-e0701ef04266fa742bd3c7ced44b3195e32f146e.tar.gz
gcc-e0701ef04266fa742bd3c7ced44b3195e32f146e.tar.bz2
Many supported cores implement fusion of AES instructions.
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. From-SVN: r246395
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/aarch64/aarch64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index a069427..eb0095d 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. */