Re: [PATCH, ARM] Tune thumb1_size_rtx_costs

2014-09-18 Thread Ramana Radhakrishnan
On Wed, Sep 10, 2014 at 6:30 AM, Zhenqiang Chen wrote: > Hi, > > Currently most thumb1_size_rtx_costs are "guessed" from performance view, > not size. > > The patch adjusts some of them according the instruction patterns defined in > thumb1.md. It also replaces several hard coded "4" to COSTS_N_IN

[PATCH, ARM] Tune thumb1_size_rtx_costs

2014-09-09 Thread Zhenqiang Chen
Hi, Currently most thumb1_size_rtx_costs are "guessed" from performance view, not size. The patch adjusts some of them according the instruction patterns defined in thumb1.md. It also replaces several hard coded "4" to COSTS_N_INSNS (1). No make check regression for Cortex-M0 on qemu. For Cortex