Author: delphij
Date: Wed Jun 11 20:22:14 2014
New Revision: 267372
URL: http://svnweb.freebsd.org/changeset/base/267372
Log:
  Fix decoding of MOVSX.
  
  Submitted by: Wolf Ramovsky <wolf.ramovsky gmail.com>
                via core (peter)
  MFC after:    2 weeks

Modified:
  head/sys/contrib/x86emu/x86emu.c

Modified: head/sys/contrib/x86emu/x86emu.c
==============================================================================
--- head/sys/contrib/x86emu/x86emu.c    Wed Jun 11 20:20:14 2014        
(r267371)
+++ head/sys/contrib/x86emu/x86emu.c    Wed Jun 11 20:22:14 2014        
(r267372)
@@ -5610,6 +5610,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);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to