qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Bug 600589 <600589@bugs.launchpad.net>
Cc: Vic3Dexe <vic3dexe@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 600589] [NEW] xchg r8,rax treated as nop
Date: Thu, 01 Jul 2010 09:17:10 -0700	[thread overview]
Message-ID: <4C2CBF86.4060100@twiddle.net> (raw)
In-Reply-To: <20100701120434.6052.96178.malonedeb@potassium.ubuntu.com>

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~

  reply	other threads:[~2010-07-01 16:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01 12:04 [Qemu-devel] [Bug 600589] [NEW] xchg r8,rax treated as nop Vic3Dexe
2010-07-01 16:17 ` Richard Henderson [this message]
2010-07-01 16:42   ` [Qemu-devel] [PATCH] target-i386: Fix xchg rax,r8 Richard Henderson
2010-07-01 21:52     ` Aurelien Jarno
2010-07-01 16:43   ` [Qemu-devel] [Bug 600589] [NEW] xchg r8,rax treated as nop malc
2010-07-02 19:13     ` vic3dexe
2010-07-02 20:08       ` Richard Henderson
2010-07-06 13:00 ` [Qemu-devel] [Bug 600589] " Jes Sorensen
2011-02-20 17:13 ` Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C2CBF86.4060100@twiddle.net \
    --to=rth@twiddle.net \
    --cc=600589@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    --cc=vic3dexe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).