From 984239ade961b08b46f272b6f8f104cf8cf77e4f Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Mon, 25 Nov 2013 15:26:04 +0000 Subject: [PATCH] aarch64.c (cortexa53_tuning): New struct. * config/aarch64/aarch64.c (cortexa53_tuning): New struct. * config/aarch64/aarch64-cores.def (cortex-a53): Use cortexa53 tuning struct. From-SVN: r205354 --- gcc/ChangeLog | 6 ++++++ gcc/config/aarch64/aarch64-cores.def | 2 +- gcc/config/aarch64/aarch64.c | 9 +++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d89967035913..5bddb6fbd301 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-11-25 Kyrylo Tkachov + + * config/aarch64/aarch64.c (cortexa53_tuning): New struct. + * config/aarch64/aarch64-cores.def (cortex-a53): + Use cortexa53 tuning struct. + 2013-11-25 Andrew Macleod PR bootstrap/59260 diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-cores.def index 51c1ff803b0a..b631dbed9246 100644 --- a/gcc/config/aarch64/aarch64-cores.def +++ b/gcc/config/aarch64/aarch64-cores.def @@ -34,5 +34,5 @@ This list currently contains example CPUs that implement AArch64, and therefore serves as a template for adding more CPUs in the future. */ -AARCH64_CORE("cortex-a53", cortexa53, 8, AARCH64_FL_FPSIMD, generic) +AARCH64_CORE("cortex-a53", cortexa53, 8, AARCH64_FL_FPSIMD, cortexa53) AARCH64_CORE("cortex-a57", cortexa15, 8, AARCH64_FL_FPSIMD, generic) diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index c85947a6cd81..b1b4eef81be7 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -224,6 +224,15 @@ static const struct tune_params generic_tunings = NAMED_PARAM (memmov_cost, 4) }; +static const struct tune_params cortexa53_tunings = +{ + &cortexa53_extra_costs, + &generic_addrcost_table, + &generic_regmove_cost, + &generic_vector_cost, + NAMED_PARAM (memmov_cost, 4) +}; + /* A processor implementing AArch64. */ struct processor { -- 2.47.3