RE: [PATCH GCC/ARM]Fix rtx cost for Thumb1

2013-03-27 Thread Bin Cheng
> -Original Message- > From: Richard Earnshaw > Sent: Tuesday, March 26, 2013 6:57 PM > To: Bin Cheng > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH GCC/ARM]Fix rtx cost for Thumb1 > > On 26/03/13 08:34, Bin Cheng wrote: > > Hi, > > As repor

Re: [PATCH GCC/ARM]Fix rtx cost for Thumb1

2013-03-26 Thread Richard Earnshaw
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 issu

[PATCH GCC/ARM]Fix rtx cost for Thumb1

2013-03-26 Thread Bin Cheng
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/