diff options
author | delphij <delphij@FreeBSD.org> | 2014-06-11 20:22:14 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-06-11 20:22:14 +0000 |
commit | c131765bd2162e292b910ab27b6564913e045ab1 (patch) | |
tree | 17b56ce274482551faa792b08b39409ce2b423de | |
parent | 091c55ab4eacb8dab35aeb23f115a2492cfe2ed7 (diff) | |
download | FreeBSD-src-c131765bd2162e292b910ab27b6564913e045ab1.zip FreeBSD-src-c131765bd2162e292b910ab27b6564913e045ab1.tar.gz |
Fix decoding of MOVSX.
Submitted by: Wolf Ramovsky <wolf.ramovsky gmail.com>
via core (peter)
MFC after: 2 weeks
-rw-r--r-- | sys/contrib/x86emu/x86emu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/contrib/x86emu/x86emu.c b/sys/contrib/x86emu/x86emu.c index 280d4f9..45c6373 100644 --- a/sys/contrib/x86emu/x86emu.c +++ b/sys/contrib/x86emu/x86emu.c @@ -5610,6 +5610,7 @@ x86emuOp2_32_movsx_byte_R_RM(struct x86emu *emu) { uint32_t *destreg; + fetch_decode_modrm(emu); destreg = decode_rh_long_register(emu); *destreg = (int32_t)(int8_t)decode_and_fetch_byte(emu); } |