Re: IRA misses register range overlap

2011-09-16 Thread Peter Bigot
On Thu, Sep 15, 2011 at 10:34 AM, Vladimir Makarov wrote: > On 09/15/2011 11:16 AM, Peter Bigot wrote: >> >> In the msp430 back end, hard registers 4 through 15 are HImode, with >> adjacent register sequences used for SImode and DImode.  In preparation >> for >> a library call, I'm emitting RTL th

Re: IRA misses register range overlap

2011-09-15 Thread Peter Bigot
On Thu, Sep 15, 2011 at 4:09 PM, Vladimir Makarov wrote: > On 09/15/2011 03:06 PM, Peter Bigot wrote: >> >> On Thu, Sep 15, 2011 at 10:34 AM, Vladimir Makarov >>  wrote: >>> >>> On 09/15/2011 11:16 AM, Peter Bigot wrote: In the msp430 back end, hard registers 4 through 15 are HImode, wit

Re: IRA misses register range overlap

2011-09-15 Thread Vladimir Makarov
On 09/15/2011 03:06 PM, Peter Bigot wrote: On Thu, Sep 15, 2011 at 10:34 AM, Vladimir Makarov wrote: On 09/15/2011 11:16 AM, Peter Bigot wrote: In the msp430 back end, hard registers 4 through 15 are HImode, with adjacent register sequences used for SImode and DImode. In preparation for a lib

Re: IRA misses register range overlap

2011-09-15 Thread Peter Bigot
On Thu, Sep 15, 2011 at 10:34 AM, Vladimir Makarov wrote: > On 09/15/2011 11:16 AM, Peter Bigot wrote: >> >> In the msp430 back end, hard registers 4 through 15 are HImode, with >> adjacent register sequences used for SImode and DImode.  In preparation >> for >> a library call, I'm emitting RTL th

Re: IRA misses register range overlap

2011-09-15 Thread Vladimir Makarov
On 09/15/2011 11:16 AM, Peter Bigot wrote: In the msp430 back end, hard registers 4 through 15 are HImode, with adjacent register sequences used for SImode and DImode. In preparation for a library call, I'm emitting RTL that assigns values directly to reg:SI 4. Despite that, in gcc 4.5.x IRA ch

IRA misses register range overlap

2011-09-15 Thread Peter Bigot
In the msp430 back end, hard registers 4 through 15 are HImode, with adjacent register sequences used for SImode and DImode. In preparation for a library call, I'm emitting RTL that assigns values directly to reg:SI 4. Despite that, in gcc 4.5.x IRA choses reg:HI 4 as the destination for a pseudo