aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@arm.com>2015-01-21 05:57:05 +0000
committerBin Cheng <amker@gcc.gnu.org>2015-01-21 05:57:05 +0000
commit18092bec58ca45442b7e0893609688056ffc9f09 (patch)
tree32788a1f0b0cecb7b0c349b2698be3679f994771 /gcc
parentb7d2b8da5d94973a2091c2241be06ad2522c8c66 (diff)
downloadgcc-18092bec58ca45442b7e0893609688056ffc9f09.zip
gcc-18092bec58ca45442b7e0893609688056ffc9f09.tar.gz
gcc-18092bec58ca45442b7e0893609688056ffc9f09.tar.bz2
arm.c (arm_cortex_a53_tune, [...]): Prefer neon on aarch32 processors for stringops.
* config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer neon on aarch32 processors for stringops. From-SVN: r219926
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f9755b8..ded76c4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-21 Bin Cheng <bin.cheng@arm.com>
+
+ * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
+ neon on aarch32 processors for stringops.
+
2015-01-19 Jan Hubicka <hubicka@ucw.cz>
PR ipa/63576
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index fc21b33..0f255e3 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -1907,7 +1907,7 @@ const struct tune_params arm_cortex_a53_tune =
&arm_default_vec_cost, /* Vectorizer costs. */
false, /* Prefer Neon for 64-bits bitops. */
false, false, /* Prefer 32-bit encodings. */
- false, /* Prefer Neon for stringops. */
+ true, /* Prefer Neon for stringops. */
8, /* Maximum insns to inline memset. */
ARM_FUSE_MOVW_MOVT, /* Fuseable pairs of instructions. */
ARM_SCHED_AUTOPREF_OFF /* Sched L2 autopref. */
@@ -1928,7 +1928,7 @@ const struct tune_params arm_cortex_a57_tune =
&arm_default_vec_cost, /* Vectorizer costs. */
false, /* Prefer Neon for 64-bits bitops. */
true, true, /* Prefer 32-bit encodings. */
- false, /* Prefer Neon for stringops. */
+ true, /* Prefer Neon for stringops. */
8, /* Maximum insns to inline memset. */
ARM_FUSE_MOVW_MOVT, /* Fuseable pairs of instructions. */
ARM_SCHED_AUTOPREF_FULL /* Sched L2 autopref. */