Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2014 20:22:15 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r267372 - head/sys/contrib/x86emu
Message-ID:  <201406112022.s5BKMFXb079444@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406112022.s5BKMFXb079444>