arm-protos.h (tune_params): New structure.
authorRichard Earnshaw <rearnsha@gcc.gnu.org>
Sat, 17 Apr 2010 12:43:40 +0000 (12:43 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Sat, 17 Apr 2010 12:43:40 +0000 (12:43 +0000)
commit1b78f5757ac38afb7c5acc14e95f12fef41adc84
tree874622440c9d9f5887b2698d720f3513d1ae92ec
parent6936c61a5cb4cf17d8badafa6d547305cdef63ee
arm-protos.h (tune_params): New structure.

* arm-protos.h (tune_params): New structure.
* arm.c (current_tune): New variable.
(arm_constant_limit): Delete.
(struct processors): Add pointer to the tune parameters.
(arm_slowmul_tune): New tuning option.
(arm_fastmul_tune, arm_xscale_tune, arm_9e_tune): Likewise.
(all_cores): Adjust to pick up the tuning model.
(arm_constant_limit): New function.
(arm_override_options): Select the appropriate tuning model.  Delete
initialization of arm_const_limit.
(arm_split_constant): Use the new constant-limit model.
(arm_rtx_costs): Pick up the current tuning model.
* arm.md (is_strongarm, is_xscale): Delete.
* arm-generic.md (load_ldsched_x, load_ldsched): Test explicitly
for Xscale variant architectures.
(mult_ldsched_strongarm, mult_ldsched): Similarly for StrongARM.

From-SVN: r158463
gcc/ChangeLog
gcc/config/arm/arm-generic.md
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.md