This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r179239 - in /branches/ARM/embedded-4_6-branch/...
- From: jye2 at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 27 Sep 2011 07:30:40 -0000
- Subject: r179239 - in /branches/ARM/embedded-4_6-branch/...
Author: jye2
Date: Tue Sep 27 07:30:38 2011
New Revision: 179239
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179239
Log:
2011-09-27 Jiangning Liu <jiangning.liu@arm.com>
No loop unroll for Os and option has higher priority.
* config/arm/arm-protos.h (unroll_loops): New.
(max_unroll_times): Removed.
* config/arm/arm.c (arm_default_unroll_times): Deleted.
(arm_cortex_m_unroll_times): Removed.
(arm_cortex_m_unroll_loops): New. Set flag_unroll_loops if
not set by users on command line.
(arm_slowmul_tune): Change arm_default_unroll_times to 0.
(arm_fastmul_tune, arm_xscale_tune, arm_9e_tune, arm_v6t2_tune,
arm_cortex_tune, arm_cortex_a9_tune, arm_fa726te_tune): Likewise.
(arm_cortex_v7m_tune): Change arm_cortex_m_unroll_times to
arm_cortex_m_unroll_loops.
(arm_cortex_v6m_tune): Likewise.
(arm_option_override): Change to set flag_unroll_loops and
max_unroll_times for optimization level >=2 and not for size.
Modified:
branches/ARM/embedded-4_6-branch/gcc/ChangeLog.arm
branches/ARM/embedded-4_6-branch/gcc/config/arm/arm-protos.h
branches/ARM/embedded-4_6-branch/gcc/config/arm/arm.c