Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libx86emu Fix decoding of MOVSX. From Wolf Ramovs...



details:   https://anonhg.NetBSD.org/src/rev/83e093ec4f93
branches:  trunk
changeset: 331174:83e093ec4f93
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Aug 04 19:19:02 2014 +0000

description:
Fix decoding of MOVSX. From Wolf Ramovsky via FreeBSD.

diffstat:

 common/lib/libx86emu/x86emu.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f622ce55713d -r 83e093ec4f93 common/lib/libx86emu/x86emu.c
--- a/common/lib/libx86emu/x86emu.c     Mon Aug 04 18:14:43 2014 +0000
+++ b/common/lib/libx86emu/x86emu.c     Mon Aug 04 19:19:02 2014 +0000
@@ -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 @@
 {
        uint32_t *destreg;
 
+       fetch_decode_modrm(emu);
        destreg = decode_rh_long_register(emu);
        *destreg = (int32_t)(int8_t)decode_and_fetch_byte(emu);
 }



Home | Main Index | Thread Index | Old Index