Hi,
Please find attached the patch that adds AES and CMP_BRANCH
fusion for Thunderx2t99.
Bootstrapped and Regression tested on aarch64-thunderx2t99.
Please review the patch and let us know if its okay?
2017-1-25 Naveen H.S <naveen.hurugalaw...@cavium.com>
gcc
* config/aarch64/aarch64.c (thunderx2t99_tunings):
Improve vector initialization code gen.
Thanks,
Naveen
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index f343d92..acaa975 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -780,7 +780,7 @@ static const struct tune_params thunderx2t99_tunings =
&generic_approx_modes,
4, /* memmov_cost. */
4, /* issue_rate. */
- AARCH64_FUSE_NOTHING, /* fuseable_ops. */
+ (AARCH64_FUSE_CMP_BRANCH | AARCH64_FUSE_AES_AESMC), /* fusible_ops */
16, /* function_align. */
8, /* jump_align. */
16, /* loop_align. */