public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: mtosatti@redhat.com, kvm@vger.kernel.org
Subject: Re: [PATCH] add "xchg ax, reg" emulator test
Date: Tue, 16 Mar 2010 14:56:28 +0200	[thread overview]
Message-ID: <4B9F7FFC.8090704@redhat.com> (raw)
In-Reply-To: <20100316125248.GE1365@redhat.com>

On 03/16/2010 02:52 PM, Gleb Natapov wrote:
>>> +	MK_INSN(xchg_test1, "xchg %eax,%eax\n\t");
>>>        
>> AKA 'nop'.
>>
>>      
> Yep, but we still emulate it.
>
>    

And well too.

Note that 'xchg eax, ebx' will clear the top 32-bits of rax and rbx, but 
'xchg eax, eax' will not.

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2010-03-16 12:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-16 12:42 [PATCH] add "xchg ax, reg" emulator test Gleb Natapov
2010-03-16 12:50 ` Avi Kivity
2010-03-16 12:52   ` Gleb Natapov
2010-03-16 12:56     ` Avi Kivity [this message]
2010-03-17 19:10 ` Marcelo Tosatti

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=4B9F7FFC.8090704@redhat.com \
    --to=avi@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.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