ping. Thanks. bin
> -----Original Message----- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-ow...@gcc.gnu.org] On > Behalf Of Bin Cheng > Sent: Tuesday, July 09, 2013 4:08 PM > To: gcc-patches@gcc.gnu.org > Subject: [PATCH GCC/ARM]Disable "-fira-hoist-pressure" on Thumb2 > > Hi, > For now the option "-fira-hoist-pressure" is enabled for all targets, but I > monitored performance regression with Os on thumb2 for some cases. > Considering that optimization has small improvement on thumb2 for code size, > here comes this patch disabling it on Thumb2 and modifying the corresponding > test cases. > > Tested on arm-none-eabi/M3, is it OK? > > Thanks. > bin > > 2013-04-25 Bin Cheng <bin.ch...@arm.com> > > * common.opt (flag_ira_hoist_pressure): Initialize to 2. > * doc/invoke.texi (-fira-hoist-pressure): Disabled by default > on Thumb2 instruction set. > * config/arm/arm.c (arm_option_override): Disable option > -fira-hoist-pressure on Thumb2 by default. > > 2013-04-25 Bin Cheng <bin.ch...@arm.com> > > * gcc.dg/hoist-register-pressure-1.c: Add -fira-hoist-pressure option. > * gcc.dg/hoist-register-pressure-2.c: Ditto. > * gcc.dg/hoist-register-pressure-3.c: Ditto.