|
Message
From: 'Rask Ingemann Lambertsen'<rask@s...>
Date: Mon Dec 10 18:15:42 CET 2007
Subject: [openrisc] Re: Help with another constraint
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: In function '__negdi2': > ../../gcc-4.0.2/gcc/libgcc2.c:72: error: insn does not satisfy its > constraints:
I think this is misleading you. It seems likely that the problem is with the predicate and not the constraint.
> (insn 15 13 16 (set (mem:SI (plus:SI (reg/f:SI 2 r2) ^^^
This has to be a register, doesn't it? If so, use -fdump-rtl-all and look at the dump files to see where it goes wrong.
> (const_int -28 [0xffffffe4])) [0 D.1256+0 S4 A32]) > (neg:SI (reg:SI 3 r3 [orig:80 D.1255 ] [80]))) 38 {negsi2} (nil) > (nil))
Please also post your negsi2 pattern.
-- Rask Ingemann Lambertsen Danish law requires addresses in e-mail to be logged and stored for a year
|
 |