[PATCH GCC/ARM]Fix rtx cost for Thumb1
Tue Mar 26 10:57:00 GMT 2013
On 26/03/13 08:34, Bin Cheng wrote:
> 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
> 2013-03-26 Bin Cheng <email@example.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.
More information about the Gcc-patches