Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jux5L-0008Kc-NJ for qemu-devel@nongnu.org; Sat, 10 May 2008 17:58:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jux5L-0008JR-AG for qemu-devel@nongnu.org; Sat, 10 May 2008 17:58:31 -0400 Received: from [199.232.76.173] (port=49167 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jux5L-0008J9-2b for qemu-devel@nongnu.org; Sat, 10 May 2008 17:58:31 -0400 Received: from savannah.gnu.org ([199.232.41.3]:37044 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jux5K-0003OF-PK for qemu-devel@nongnu.org; Sat, 10 May 2008 17:58:30 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Jux5J-0000js-SK for qemu-devel@nongnu.org; Sat, 10 May 2008 21:58:30 +0000 Received: from bellard by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Jux5J-0000jh-Ba for qemu-devel@nongnu.org; Sat, 10 May 2008 21:58:29 +0000 MIME-Version: 1.0 Errors-To: bellard Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Fabrice Bellard Message-Id: Date: Sat, 10 May 2008 21:58:29 +0000 Subject: [Qemu-devel] [4420] REXB optimization cannot be done at this level 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 Revision: 4420 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4420 Author: bellard Date: 2008-05-10 21:58:28 +0000 (Sat, 10 May 2008) Log Message: ----------- REXB optimization cannot be done at this level Modified Paths: -------------- trunk/tcg/x86_64/tcg-target.c Modified: trunk/tcg/x86_64/tcg-target.c =================================================================== --- trunk/tcg/x86_64/tcg-target.c 2008-05-10 21:51:02 UTC (rev 4419) +++ trunk/tcg/x86_64/tcg-target.c 2008-05-10 21:58:28 UTC (rev 4420) @@ -235,7 +235,7 @@ int rex; rex = ((opc >> 6) & 0x8) | ((r >> 1) & 0x4) | ((x >> 2) & 2) | ((rm >> 3) & 1); - if (rex || ((opc & P_REXB) && r >= 4)) { + if (rex || (opc & P_REXB)) { tcg_out8(s, rex | 0x40); } if (opc & P_EXT)