SDM rev 071 points out this fact explicitly.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit:
a72c508656c0a0fa573890b290064e6035971f86
master date: 2019-11-15 14:15:31 +0100
{
/*
* xbegin unconditionally aborts, xabort is unconditionally
- * a nop.
+ * a nop. It also does not truncate the destination address to
+ * 16 bits when 16-bit operand size is in effect.
*/
if ( b & 1 )
{
+ op_bytes = 4;
jmp_rel((int32_t)src.val);
_regs.r(ax) = 0;
}