From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8512 invoked by alias); 9 Dec 2007 16:35:45 -0000 Received: (qmail 8493 invoked by uid 22791); 9 Dec 2007 16:35:44 -0000 X-Spam-Check-By: sourceware.org Received: from uni12mr.unity.ncsu.edu (HELO uni12mr.unity.ncsu.edu) (152.1.1.171) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 09 Dec 2007 16:35:36 +0000 Received: from lakshmi (lakshmi.ece.ncsu.edu [152.14.22.51]) by uni12mr.unity.ncsu.edu (8.13.7/8.13.8/Nv5.2006.1109) with ESMTP id lB9GZWrk013416; Sun, 9 Dec 2007 11:35:32 -0500 (EST) From: "Balaji V. Iyer" To: "'Rask Ingemann Lambertsen'" Cc: , References: <000c01c83a41$4499e240$33160e98@ece.ncsu.edu> <20071209130740.GI17368@sygehus.dk> Subject: RE: Help with another constraint Date: Sun, 09 Dec 2007 22:06:00 -0000 Message-ID: <000d01c83a81$85462ca0$33160e98@ece.ncsu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20071209130740.GI17368@sygehus.dk> Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00298.txt.bz2 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 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:rask@sygehus.dk] Sent: Sunday, December 09, 2007 8:08 AM To: Balaji V. Iyer Cc: gcc@gcc.gnu.org; openrisc@opencores.org 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