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

[Xen-changelog] [xen-3.1-testing] x86_emulate: Fix IMUL r/m8 emulation.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203344511 0
# Node ID 5bcd419017912d94a188aa1f67077a91dfba7973
# Parent  2acc0adcf6e7b41af3ad2bc3e47e8748b13f153e
x86_emulate: Fix IMUL r/m8 emulation.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   16998:1b750b9cf4319c076bb831d26dcdcffbd5cfb913
xen-unstable date:        Thu Feb 07 19:30:36 2008 +0000
---
 xen/arch/x86/x86_emulate.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 2acc0adcf6e7 -r 5bcd41901791 xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c        Mon Feb 18 14:21:11 2008 +0000
+++ b/xen/arch/x86/x86_emulate.c        Mon Feb 18 14:21:51 2008 +0000
@@ -1428,6 +1428,7 @@ x86_emulate(
                            (uint16_t)(int8_t)dst.val);
                 if ( (int8_t)dst.val != (uint16_t)dst.val )
                     _regs.eflags |= EFLG_OF|EFLG_CF;
+                dst.bytes = 2;
                 break;
             case 2:
                 dst.val = ((uint32_t)(int16_t)src.val *

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.