RE: Help with another constraint

2007-12-17 Thread Balaji V. Iyer
, 2007 1:33 PM To: Balaji V. Iyer Cc: gcc@gcc.gnu.org; [EMAIL PROTECTED] Subject: Re: Help with another constraint On Wed, Dec 12, 2007 at 03:35:09PM +0100, 'Rask Ingemann Lambertsen' wrote: > >The movxx patterns are special and you'll need to hold the > compiler'

Re: Help with another constraint

2007-12-17 Thread Rask Ingemann Lambertsen
On Wed, Dec 12, 2007 at 03:35:09PM +0100, 'Rask Ingemann Lambertsen' wrote: > >The movxx patterns are special and you'll need to hold the compiler's > hands a little. Since your target can't move immediates directly to memory, > you have to ask for a secondary reload to an intermediate registe

RE: Help with another constraint

2007-12-16 Thread Hans-Peter Nilsson
On Sun, 16 Dec 2007, Hans-Peter Nilsson wrote: > On Wed, 12 Dec 2007, Dave Korn wrote: > > > On 12 December 2007 12:14, Revital1 Eres wrote: > > > > > It seems that the pair m and I is missing (which indicate the memory = > > > constant instruction). > > > > So doesn't the question then become "W

RE: Help with another constraint

2007-12-16 Thread Hans-Peter Nilsson
On Wed, 12 Dec 2007, Dave Korn wrote: > On 12 December 2007 12:14, Revital1 Eres wrote: > > > It seems that the pair m and I is missing (which indicate the memory = > > constant instruction). > > So doesn't the question then become "Why isn't reload reloading the constant > into a register"? Ye

Re: Help with another constraint

2007-12-12 Thread Rask Ingemann Lambertsen
On Wed, Dec 12, 2007 at 01:01:00PM -, Dave Korn wrote: > On 12 December 2007 12:14, Revital1 Eres wrote: > > > It seems that the pair m and I is missing (which indicate the memory = > > constant instruction). > > So doesn't the question then become "Why isn't reload reloading the constant

Re: Help with another constraint

2007-12-12 Thread 'Rask Ingemann Lambertsen'
On Wed, Dec 12, 2007 at 12:06:04AM -0500, Balaji V. Iyer wrote: > Hello Everyone, > I got past that negdi2 and some errors..now I am trying to compile > some linux module, and it says I am not able to find this constraint: > > init/main.c: In function 'start_kernel': > init/main.c:441: error:

RE: Help with another constraint

2007-12-12 Thread Dave Korn
On 12 December 2007 12:14, Revital1 Eres wrote: > It seems that the pair m and I is missing (which indicate the memory = > constant instruction). So doesn't the question then become "Why isn't reload reloading the constant into a register"? cheers, DaveK -- Can't think of a witty

RE: Help with another constraint

2007-12-12 Thread Balaji V. Iyer
] Sent: Wednesday, December 12, 2007 7:14 AM To: Balaji V. Iyer Cc: gcc@gcc.gnu.org; [EMAIL PROTECTED]; 'Rask Ingemann Lambertsen' Subject: RE: Help with another constraint Hello, I think you should add the pair of constraints m and I respectively to the description of the instruction in yo

RE: Help with another constraint

2007-12-12 Thread Revital1 Eres
Hello, I think you should add the pair of constraints m and I respectively to the description of the instruction in your md file (and a relevant case 8 to handle such instruction), i.e.: (define_insn "movqi" - [(set (match_operand:QI 0 "nonimmediate_operand" "=p,q,m,m,p,q,p,q") -(match_

RE: Help with another constraint

2007-12-11 Thread Balaji V. Iyer
ask Ingemann Lambertsen' [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 12:16 PM To: Balaji V. Iyer Cc: gcc@gcc.gnu.org; [EMAIL PROTECTED] Subject: Re: Help with another constraint On Sun, Dec 09, 2007 at 11:35:32AM -0500, Balaji V. Iyer wrote: > Hello Rask, > I am n

Re: Help with another constraint

2007-12-10 Thread 'Rask Ingemann Lambertsen'
On Sun, Dec 09, 2007 at 11:35:32AM -0500, Balaji V. Iyer wrote: > Hello Rask, > I am not understanding your response, can you clarify it for me? > > As per the question about the error message above? > > ../../gcc-4.0.2/gcc/libgcc2.c -o libgcc/./_negdi2.o > ../../gcc-4.0.2/gcc/libgcc2.c: I

RE: Help with another constraint

2007-12-09 Thread Balaji V. Iyer
u.org; [EMAIL PROTECTED] Subject: Re: Help with another constraint On Sun, Dec 09, 2007 at 03:55:36AM -0500, Balaji V. Iyer wrote: > Hello Everyone, > I am trying to partition register files in GCC port of Opencores > (OPENRISC 1000). It is currently failing the following constraint in >

Re: Help with another constraint

2007-12-09 Thread Rask Ingemann Lambertsen
On Sun, Dec 09, 2007 at 03:55:36AM -0500, Balaji V. Iyer wrote: > Hello Everyone, > I am trying to partition register files in GCC port of Opencores > (OPENRISC 1000). It is currently failing the following constraint in > negdi2 > > (insn 15 13 16 (set (mem:SI (plus:SI (reg/f:SI 2 r2)