From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16561 invoked by alias); 31 May 2010 14:40:54 -0000 Received: (qmail 16544 invoked by uid 22791); 31 May 2010 14:40:52 -0000 X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 31 May 2010 14:40:48 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4VEejYq008321 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 31 May 2010 10:40:45 -0400 Received: from [10.15.16.118] (dhcp-10-15-16-118.yyz.redhat.com [10.15.16.118]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4VEeiMW022855; Mon, 31 May 2010 10:40:44 -0400 Message-ID: <4C03CA6C.9090007@redhat.com> Date: Mon, 31 May 2010 14:40:00 -0000 From: Dave Brolley User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Lightning/1.0b2pre Thunderbird/3.0.4 MIME-Version: 1.0 To: DJ Delorie CC: sid@sourceware.org, cgen@sourceware.org Subject: Re: xstormy16 cgen/sid patch References: <201005290146.o4T1k6fm026225@greed.delorie.com> In-Reply-To: <201005290146.o4T1k6fm026225@greed.delorie.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2010-q2/txt/msg00007.txt.bz2 If you're seeking approval to commit, then please go ahead. Thanks, Dave On 05/28/2010 09:46 PM, DJ Delorie wrote: > [this time with fixed email] > > Most were OK, but some got missed. > > 2010-05-28 DJ Delorie > > * cpu/xstormy16.cpu (movgriipostincgr, movgriipredecgr, > movfgriipredecgr): Fix increment/decrement amount. > > 2010-05-28 DJ Delorie > > * xstormy16-sem.cxx: Regenerate. > > > Index: cgen/cpu/xstormy16.cpu > =================================================================== > RCS file: /cvs/src/src/cgen/cpu/xstormy16.cpu,v > retrieving revision 1.14 > diff -p -U3 -r1.14 xstormy16.cpu > --- cgen/cpu/xstormy16.cpu 24 Aug 2009 06:46:16 -0000 1.14 > +++ cgen/cpu/xstormy16.cpu 29 May 2010 01:18:27 -0000 > @@ -725,7 +725,7 @@ > (set-alignfix-mem (add Rs imm12) Rdm) > (set (mem QI (add Rs imm12)) Rdm)) > (set-psw-nowrite (index-of Rdm) Rdm ws2) > - (set Rs (add Rs 1))) > + (set Rs (add Rs (add ws2 1)))) > () > ) > > @@ -735,7 +735,7 @@ > ("mov$ws2 (--$Rs,$imm12),$Rdm") > (+ OP1_6 OP2A_A ws2 Rs OP4M_1 Rdm OP5_0 imm12) > (sequence () > - (set Rs (sub Rs 1)) > + (set Rs (sub Rs (add ws2 1))) > (set-psw-nowrite (index-of Rdm) Rdm ws2) > (if ws2 > (set-alignfix-mem (add Rs imm12) Rdm) > @@ -968,7 +968,7 @@ > ("movf$ws2 ($Rb,--$Rs,$imm12),$Rdm") > (+ OP1_6 OP2A_E ws2 Rs OP4M_1 Rdm OP5A_0 Rb imm12) > (sequence () > - (set Rs (sub Rs 1)) > + (set Rs (sub Rs (add ws2 1))) > (set-psw-nowrite (index-of Rdm) Rdm ws2) > (if ws2 > (set (mem HI (and (add (join SI HI Rb Rs) imm12) #xFFFFFFFE)) Rdm) >