diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-07 19:30:36 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-07 19:30:36 +0000 |
commit | cb87e2c31a75778469165cd60a7044661b047780 (patch) | |
tree | 4699ad4a77965cdee095dc6e3cb1fe17f21b4c45 /xen/arch/x86/x86_emulate.c | |
parent | 690e710ebfa75aa224314b5b7d1c2d86e4f442f5 (diff) | |
download | xen-cb87e2c31a75778469165cd60a7044661b047780.tar.gz xen-cb87e2c31a75778469165cd60a7044661b047780.tar.bz2 xen-cb87e2c31a75778469165cd60a7044661b047780.zip |
x86_emulate: Fix IMUL r/m8 emulation.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/x86_emulate.c')
-rw-r--r-- | xen/arch/x86/x86_emulate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/x86_emulate.c b/xen/arch/x86/x86_emulate.c index 32a11b6be4..b240a0a48e 100644 --- a/xen/arch/x86/x86_emulate.c +++ b/xen/arch/x86/x86_emulate.c @@ -1755,6 +1755,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 * |