ia64/xen-unstable

changeset 17012:1b750b9cf431

x86_emulate: Fix IMUL r/m8 emulation.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 07 19:30:36 2008 +0000 (2008-02-07)
parents 8e4cd0658c41
children 7d03c0b07504
files xen/arch/x86/x86_emulate.c
line diff
     1.1 --- a/xen/arch/x86/x86_emulate.c	Thu Feb 07 18:57:12 2008 +0000
     1.2 +++ b/xen/arch/x86/x86_emulate.c	Thu Feb 07 19:30:36 2008 +0000
     1.3 @@ -1755,6 +1755,7 @@ x86_emulate(
     1.4                             (uint16_t)(int8_t)dst.val);
     1.5                  if ( (int8_t)dst.val != (uint16_t)dst.val )
     1.6                      _regs.eflags |= EFLG_OF|EFLG_CF;
     1.7 +                dst.bytes = 2;
     1.8                  break;
     1.9              case 2:
    1.10                  dst.val = ((uint32_t)(int16_t)src.val *