Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1Khp-0005yb-PX for qemu-devel@nongnu.org; Wed, 28 May 2008 08:24:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1Kho-0005wy-6Q for qemu-devel@nongnu.org; Wed, 28 May 2008 08:24:37 -0400 Received: from [199.232.76.173] (port=42288 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1Khn-0005wq-TC for qemu-devel@nongnu.org; Wed, 28 May 2008 08:24:35 -0400 Received: from miranda.se.axis.com ([193.13.178.8]:57207) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1Khn-0004gV-N0 for qemu-devel@nongnu.org; Wed, 28 May 2008 08:24:35 -0400 Received: from axis.com (edgar.se.axis.com [10.93.151.1]) by miranda.se.axis.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id m4SCOWHH002533 for ; Wed, 28 May 2008 14:24:32 +0200 Date: Wed, 28 May 2008 14:24:32 +0200 From: "Edgar E. Iglesias" Subject: Re: [Qemu-devel] [4597] CRIS: Re-add the X flag to the tb flags, it allows for better code generation and is practially always cleared. Message-ID: <20080528122432.GE3968@edgar.se.axis.com> References: <200805272330.03117.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805272330.03117.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: "Edgar E. Iglesias" , qemu-devel@nongnu.org On Tue, May 27, 2008 at 11:30:02PM +0100, Paul Brook wrote: > On Tuesday 27 May 2008, Edgar E. Iglesias wrote: > > Revision: 4597 > > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4597 > > Author: edgar_igl > > Date: 2008-05-27 21:15:56 +0000 (Tue, 27 May 2008) > > > > Log Message: > > ----------- > > CRIS: Re-add the X flag to the tb flags, it allows for better code > > generation and is practially always cleared. > > Are you sure this is safe? It means you shouldn't do TB chaining from any > block that modifies the X flag, and I don't see any code for that. I wouldn't expect the cris translator to handle broken X sequences (it's a TODO). I'll look into it when adding proper X flag support. Thanks for the hint, I didn't know the target specific code was responsible for assuring flag consistency at tb chaining. Best regards -- Edgar E. Iglesias Axis Communications AB