qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: vic3dexe@gmail.com
To: malc <av1474@comtv.ru>
Cc: Bug 600589 <600589@bugs.launchpad.net>,
	qemu-devel@nongnu.org, Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [Bug 600589] [NEW] xchg r8,rax treated as nop
Date: Fri, 2 Jul 2010 22:13:00 +0300	[thread overview]
Message-ID: <275366227.20100702221300@gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1007012042260.17554@linmac>

You wrote 1 июля 2010 г., 19:43:06:

> On Thu, 1 Jul 2010, Richard Henderson wrote:

>> 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.
>> 

> No surprise really:

> target-i386/translate.c lines 6665-...

>     case 0x90: /* nop */
>         /* XXX: xchg + rex handling */
>         /* XXX: correct lock test for all insn */

> The code to handle that just isn't there.

Sorry for inconvenience, I just forgot to look in source. :)
Do you plan to fix it in the near future?

-- 
Best regards,
 Vic3dexe                          mailto:vic3dexe@gmail.com

  reply	other threads:[~2010-07-02 19:16 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
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 [this message]
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=275366227.20100702221300@gmail.com \
    --to=vic3dexe@gmail.com \
    --cc=600589@bugs.launchpad.net \
    --cc=av1474@comtv.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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).