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: (insn 15 13 16 (set (mem:SI (plus:SI (reg/f:SI 2 r2) (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)) ../../gcc-4.0.2/gcc/libgcc2.c:72: internal compiler error: in final_scan_insn, at final.c:2439 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[2]: *** [libgcc/./_negdi2.o] Error 1 make[2]: Leaving directory -Balaji V. Iyer. -- Balaji V. Iyer PhD Student, Center for Efficient, Scalable and Reliable Computing, Department of Electrical and Computer Engineering, North Carolina State University. -----Original Message----- From: Rask Ingemann Lambertsen [mailto:[EMAIL PROTECTED] Sent: Sunday, December 09, 2007 8:08 AM To: Balaji V. Iyer Cc: gcc@gcc.gnu.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 > negdi2 > > (insn 15 13 16 (set (mem:SI (plus:SI (reg/f:SI 2 r2) ^^^ > (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)) > ../../gcc-4.0.2/gcc/libgcc2.c:72: internal compiler error: in > final_scan_insn, at final.c:2439 Please submit a full bug report, +(define_insn "negsi2" + [(set (match_operand:SI 0 "register_operand" "=r") ^^^^^^^^^^^^^^^^ + (neg:SI (match_operand:SI 1 "register_operand" "r")))] "" + "l.sub \t%0,r0,%1" + [(set_attr "type" "add") + (set_attr "length" "1")]) How did that happen? Look at the dump files. Btw, what is the error message above the insn dump? -- Rask Ingemann Lambertsen Danish law requires addresses in e-mail to be logged and stored for a year