[arm-embedded] Tune loop unrolling for cortex-m
Joey Ye
joey.ye@arm.com
Wed Sep 21 09:54:00 GMT 2011
Committed in ARM/embedded-4_6-branch.
2011-09-21 Jiangning Liu <jiangning.liu@arm.com>
Tune loop unrolling for cortex-m
* config/arm/arm-cores.def (cortex-m0): Change to new tune
cortex_v6m.
(cortex-m1): Likewise.
* config/arm/arm-protos.h (max_unroll_times): New.
* config/arm/arm.c (arm_default_unroll_times): New.
(arm_cortex_m_unroll_times): New.
(arm_cortex_v6m_tune): New.
(arm_slowmul_tune): Add max_unroll_times function pointer.
(arm_fastmul_tune, arm_xscale_tune, arm_9e_tune,
arm_v6t2_tune, arm_cortex_tune, arm_cortex_a9_tune,
arm_cortex_v7m_tune, arm_cortex_v6m_tune,
arm_fa726te_tune): Likewise.
(arm_option_override): Enable loop unroll for all all M class
Cores, if optimization level is >= 1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loop-unrolling.patch
Type: application/octet-stream
Size: 6225 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110921/88d382e5/attachment.obj>
More information about the Gcc-patches
mailing list