Re: Coloring problem - Pass 0 for finding allocno costs

2010-03-22 Thread Jeff Law
On 03/18/10 08:30, Frank Isamov wrote: From the h file: #define REG_CLASS_CONTENTS \ { \ {0x, 0x, 0x}, /* NO_REGS*/ \ {0x, 0x, 0x}, /* D_REGS*/ \ {0x000

RE: Coloring problem - Pass 0 for finding allocno costs

2010-03-18 Thread Ian Bolton
> -Original Message- > From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of > Michael Matz > Sent: 18 March 2010 15:13 > To: Frank Isamov > Cc: gcc@gcc.gnu.org > Subject: Re: Coloring problem - Pass 0 for finding allocno costs > > Hi, >

Re: Coloring problem - Pass 0 for finding allocno costs

2010-03-18 Thread Michael Matz
Hi, On Thu, 18 Mar 2010, Frank Isamov wrote: > From the h file: > > #define REG_CLASS_CONTENTS                                              \ >  { >             \ >    {0x, 0x, 0x}, /* NO_REGS*/          \ >    {0x, 0x, 0x}, /* D_REGS*/          \

RE: Coloring problem - Pass 0 for finding allocno costs

2010-03-18 Thread Ian Bolton
> -Original Message- > From: Frank Isamov [mailto:frank.isa...@gmail.com] > Sent: 18 March 2010 14:29 > To: Ian Bolton > Subject: Re: Coloring problem - Pass 0 for finding allocno costs > > On Thu, Mar 18, 2010 at 3:51 PM, Ian Bolton > wrote: > >> The pr

Re: Coloring problem - Pass 0 for finding allocno costs

2010-03-18 Thread Frank Isamov
-- Forwarded message -- From: Frank Isamov Date: Thu, Mar 18, 2010 at 4:28 PM Subject: Re: Coloring problem - Pass 0 for finding allocno costs To: Ian Bolton On Thu, Mar 18, 2010 at 3:51 PM, Ian Bolton wrote: >> The problem I see is that for registers 100,101 I ge

RE: Coloring problem - Pass 0 for finding allocno costs

2010-03-18 Thread Ian Bolton
> The problem I see is that for registers 100,101 I get best register > class D instead of R - actually they get the same cost and D is chosen > (maybe because it is first). Hi Frank. Do D and R overlap? It would be useful to know which regs are in which class, before trying to understand what i