On 20/07/12 15:59, Greta Yorsh wrote: > Add a new field to tune_params structure to indicate whether LDRD/STRD > instructions are preferred over POP/PUSH/STM/LDM. Set the new field to false > for all existing tunes. Subsequent patches will set it to true for > Cortex-A15 and use it to determine which instructions to emit, in particular > for prologue and epilogue. > > Ok for trunk? > > Thanks, > Greta > > Changelog > > gcc/ > > 2012-07-20 Sameera Deshpande <sameera.deshpa...@arm.com> > Greta Yorsh <greta.yo...@arm.com> > > * config/arm/arm-protos.h (prefer_ldrd_strd): New field.
* config/arm/arm-protos.h (tune_params): Add prefer_ldrd_strd. > * config/arm/arm.c (arm_slowmul_tune): Initialized the new field. * config/arm/arm.c (arm_slowmul_tune): Initialize it. > (arm_fastmul_tune, arm_strongarm_tune): Likewise. > (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune): Likewise. > (rm_cortex_tune, am_cortex_a5_tune, arm_cortex_a9_tune): Likewise. arm_cortex_tune, arm_cortex_a5_tune. > (arm_fa726te_tune): Likewise. > OK with those changes. R.