[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] hvm_decode() questions


  • To: Jan Beulich <jbeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Fri, 24 Nov 2006 14:08:16 +0000
  • Delivery-date: Fri, 24 Nov 2006 06:08:31 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AccP0fxeOsZ4DnvFEdupMAAX8io7RQ==
  • Thread-topic: [Xen-devel] hvm_decode() questions



On 24/11/06 14:03, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

> 1) single-byte opcode 0x87 (xchg): What is this strange conditional
> 
>         if ( ((*(opcode+1)) & 0xc7) == 5 )
> 
> supposed to address? xchg has absolutely symmetric operands.
> 
> 2) two-byte opcode 0xB7 (movzx): What is this dependency on rex
> bit 3 doing here? Apparently this was based on Intel's (broken)
> documentation - the source operand is always 16 bits.
> 
> Unless someone can explain these, I'll send a patch to remove them.

Yes, these can both be removed.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.