Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kbgez-0005io-1H for qemu-devel@nongnu.org; Fri, 05 Sep 2008 15:07:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kbgex-0005iQ-Mo for qemu-devel@nongnu.org; Fri, 05 Sep 2008 15:07:56 -0400 Received: from [199.232.76.173] (port=54429 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kbgex-0005iG-H2 for qemu-devel@nongnu.org; Fri, 05 Sep 2008 15:07:55 -0400 Received: from hall.aurel32.net ([91.121.138.14]:41256) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kbgex-0005Cd-BO for qemu-devel@nongnu.org; Fri, 05 Sep 2008 15:07:55 -0400 Received: from junta-icatm144570-bada.red.retevision.es ([62.81.118.18] helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Kbgev-00026u-7M for qemu-devel@nongnu.org; Fri, 05 Sep 2008 21:07:53 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1Kbget-0002MF-Kn for qemu-devel@nongnu.org; Fri, 05 Sep 2008 21:07:51 +0200 Date: Fri, 5 Sep 2008 21:07:51 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH]: fix alpha cmovxx instruction Message-ID: <20080905190751.GE23962@volta.aurel32.net> References: <4F959D15-CFA2-4018-BA46-D7952F3DB8E8@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F959D15-CFA2-4018-BA46-D7952F3DB8E8@adacore.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Fri, Sep 05, 2008 at 05:20:46PM +0200, Tristan Gingold wrote: > Hi, > > The CMOV instruction is defined by the alpha manual as: > > CMOVxx Ra.rq,Rb.rq,Rc.wq !Operate format > CMOVxx Ra.rq,#b.ib,Rc.wq !Operate format > > Operation: > IF TEST(Rav, Condition_based_on_Opcode) THEN > Rc ← Rbv > > The current qemu behavior inverses Ra and Rb. This is fixed by this > patch. > > Signed-off-by: Tristan Gingold > Applied, thanks -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net