From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38810 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUMkq-0006xP-V3 for qemu-devel@nongnu.org; Thu, 01 Jul 2010 12:36:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUMkl-0003Kq-R8 for qemu-devel@nongnu.org; Thu, 01 Jul 2010 12:36:48 -0400 Received: from b.mail.sonic.net ([64.142.19.5]:54831) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUMkl-0003KB-DD for qemu-devel@nongnu.org; Thu, 01 Jul 2010 12:36:43 -0400 Message-ID: <4C2CBF86.4060100@twiddle.net> Date: Thu, 01 Jul 2010 09:17:10 -0700 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] [Bug 600589] [NEW] xchg r8,rax treated as nop References: <20100701120434.6052.96178.malonedeb@potassium.ubuntu.com> <20100701120434.6052.96178.malonedeb@potassium.ubuntu.com> In-Reply-To: <20100701120434.6052.96178.malonedeb@potassium.ubuntu.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 600589 <600589@bugs.launchpad.net> Cc: Vic3Dexe , qemu-devel@nongnu.org On 07/01/2010 05:04 AM, Vic3Dexe wrote: > Public bug reported: > > xchg r8,rax (49h 90h) executed as nop (90h) in long mode, in other words > REX not used. > > qemu 0.12.4, host Win 7 x64, running qemu-system-x86_64.exe. > > ** Affects: qemu > Importance: Undecided > Status: New > Verified. Test case for x86_64-linux-user: .globl main .type main, @function main: movl $0, %r8d movl $1, %eax xchgq %r8, %rax ret Expected result is exit status 0. r~