|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] x86 emulation: fix bswap
>>> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> 15.02.07 11:33 >>>
>On 15/2/07 10:22, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:
>
>> REX.R needs to be decoded and since bswap on a 16-bit operand is undefined,
>> it is best to have hardware execute this so the emulation result matches
>> hardware behavior. Since it is simple to do, faster, and smaller, also let
>> hardware do 32- and 64-bit ones.
>
>Can 'undefined' behaviour include e.g. #UD?
I don't think so.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|