svn commit: r241744 - projects/bhyve/usr.sbin/bhyve

Peter Grehan grehan at freebsd.org
Wed Oct 24 05:41:11 UTC 2012


Hi Andriy,

> If this code emulates something like mov into %eax on AMDD64, then it should clear
> upper 32-bits of %rax.  Which I think your original code already did, but in a
> less obvious way than Jilles suggested above.
> But I could be very well confused...

  The 0x88/0x89 forms of the MOV instruction don't touch bytes outside 
of the operand size.

later,

Peter.




More information about the svn-src-projects mailing list