From 18092bec58ca45442b7e0893609688056ffc9f09 Mon Sep 17 00:00:00 2001 From: Bin Cheng Date: Wed, 21 Jan 2015 05:57:05 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9755b8200c..ded76c43820 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-21 Bin Cheng + + * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer + neon on aarch32 processors for stringops. + 2015-01-19 Jan Hubicka PR ipa/63576 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index fc21b33f457..0f255e37fdf 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. */ -- 2.30.2