On 26/03/13 08:34, Bin Cheng wrote:
Hi,
As reported in PR56102, arm back end returns wrong rtx cost for pattern
SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT with multi-word mode. This
causes GCC skipping the split process in lower-subreg.c, and generating
bigger constant pool.
This patch fixes the issue. Tested on arm-none-eabi/thumb1/O2/Os, ok for
trunk?
Thanks.
2013-03-26 Bin Cheng <bin.ch...@arm.com>
PR target/56102
* config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix
rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with
mult-word mode.
OK.
R.