From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4876 invoked by alias); 25 Sep 2009 15:27:35 -0000 Received: (qmail 4863 invoked by uid 22791); 25 Sep 2009 15:27:34 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,DNS_FROM_RFC_BOGUSMX X-Spam-Check-By: sourceware.org Received: from sebabeach.org (HELO sebabeach.org) (64.165.110.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Sep 2009 15:27:30 +0000 Received: from sspiff.sspiff.org (seba.sebabeach.org [10.8.159.10]) by sebabeach.org (Postfix) with ESMTP id 038856E3CE; Fri, 25 Sep 2009 08:27:28 -0700 (PDT) Message-ID: <4ABCE160.6060607@sebabeach.org> Date: Fri, 25 Sep 2009 15:27:00 -0000 From: Doug Evans User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Alan Modra CC: cgen@sourceware.org Subject: Re: m32r cgen errors References: <20090925020923.GF18973@bubble.grove.modra.org> In-Reply-To: <20090925020923.GF18973@bubble.grove.modra.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00100.txt.bz2 Alan Modra wrote: > Fixes the following error. OK to apply? > > cgen -s /src/binutils-current/opcodes/../cgen/cgen-opc.scm -s /src/binutils-current/opcodes/../cgen -v -f opinst -m all -a /src/binutils-current/opcodes/../cpu/m32r.cpu -OPC /src/binutils-current/opcodes/../cpu/m32r.opc -H tmp-26602-desc.h1 -C tmp-26602-desc.c1 -O tmp-26602-opc.h1 -P tmp-26602-opc.c1 -L tmp-26602-ibld.in1 -A tmp-26602-asm.in1 -D tmp-26602-dis.in1 -Q tmp-26602-opinst.c1 > Setting option `opinst' to "". > Loading cpu description /src/binutils-current/opcodes/../cpu/m32r.cpu ... > machs: all > isas: all > options: opinst > trace: > diags: > Including file /src/binutils-current/opcodes/../cpu/simplify.inc ... > ERROR: In procedure list: > ERROR: end of file in /src/binutils-current/opcodes/../cpu/m32r.cpu > make[5]: *** [run-cgen] Error 1 > > * m32r.cpu (stb-plus): Typo fix. > > Index: cpu/m32r.cpu > =================================================================== > RCS file: /cvs/src/src/cpu/m32r.cpu,v > retrieving revision 1.6 > diff -u -p -r1.6 m32r.cpu > --- cpu/m32r.cpu 23 Sep 2009 22:30:55 -0000 1.6 > +++ cpu/m32r.cpu 25 Sep 2009 02:06:11 -0000 > @@ -2108,7 +2108,7 @@ > (sequence ((WI new-src2)) > (set new-src2 src2) > (set (mem QI new-src2) src1) > - (set src2 (add new-src2 (const 1))) > + (set src2 (add new-src2 (const 1)))) > ((m32rx (unit u-store) > (unit u-exec (in dr src2) (out dr src2) (cycles 0))) > (m32r2 (unit u-store) > > Thanks! And sorry! [given all the testing I did, I don't know how this got missed, blech]