arm-protos.h (struct cpu_vec_costs): New struct type.
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 12 Feb 2013 14:53:45 +0000 (14:53 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 12 Feb 2013 14:53:45 +0000 (15:53 +0100)
commit2597da229a2261de8576099213ffdef4bf946a7c
tree632f166a13b2e090eba199f0717558186acc354e
parent43320568b265d6f0448e6f8ae7e6a8ace3a13be0
arm-protos.h (struct cpu_vec_costs): New struct type.

2013-02-05  Christophe Lyon <christophe.lyon@linaro.org>

* config/arm/arm-protos.h (struct cpu_vec_costs): New struct type.
(struct tune_params): Add vec_costs field.
* config/arm/arm.c (arm_builtin_vectorization_cost)
(arm_add_stmt_cost): New functions.
(TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST)
(TARGET_VECTORIZE_ADD_STMT_COST): Define.
(arm_default_vec_cost): New struct of type cpu_vec_costs.
(arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune)
(arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune)
(arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune)
(arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field.

From-SVN: r195977
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c