Module Name: src Committed By: joerg Date: Mon Aug 4 19:19:02 UTC 2014
Modified Files: src/common/lib/libx86emu: x86emu.c Log Message: Fix decoding of MOVSX. From Wolf Ramovsky via FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libx86emu/x86emu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/lib/libx86emu/x86emu.c diff -u src/common/lib/libx86emu/x86emu.c:1.7 src/common/lib/libx86emu/x86emu.c:1.8 --- src/common/lib/libx86emu/x86emu.c:1.7 Tue Feb 3 19:26:29 2009 +++ src/common/lib/libx86emu/x86emu.c Mon Aug 4 19:19:02 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: x86emu.c,v 1.7 2009/02/03 19:26:29 joerg Exp $ */ +/* $NetBSD: x86emu.c,v 1.8 2014/08/04 19:19:02 joerg Exp $ */ /**************************************************************************** * @@ -5419,6 +5419,7 @@ x86emuOp2_32_movsx_byte_R_RM(struct X86E { uint32_t *destreg; + fetch_decode_modrm(emu); destreg = decode_rh_long_register(emu); *destreg = (int32_t)(int8_t)decode_and_fetch_byte(emu); }