[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86_emulate: Correct RIP-relative addressing offset for SHLD/SHRD with
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1199873491 0 # Node ID b5b3e27f1af3f709a7795d407b567a7b4db533f0 # Parent 4c1a0d2a318d5cd404f5411e31ba425f223a0e66 x86_emulate: Correct RIP-relative addressing offset for SHLD/SHRD with immediate byte third operand. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/x86_emulate.c | 3 +++ 1 files changed, 3 insertions(+) diff -r 4c1a0d2a318d -r b5b3e27f1af3 xen/arch/x86/x86_emulate.c --- a/xen/arch/x86/x86_emulate.c Wed Jan 09 10:09:04 2008 +0000 +++ b/xen/arch/x86/x86_emulate.c Wed Jan 09 10:11:31 2008 +0000 @@ -1064,6 +1064,9 @@ x86_emulate( /* Special case in Grp3: test has immediate operand. */ ea.mem.off += (d & ByteOp) ? 1 : ((op_bytes == 8) ? 4 : op_bytes); + else if ( (b == 0xf7) == 0xa4 ) + /* SHLD/SHRD with immediate byte third operand. */ + ea.mem.off++; break; case 1: ea.mem.off += insn_fetch_type(int8_t); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |