24 lines
852 B
Diff
24 lines
852 B
Diff
|
# HG changeset patch
|
||
|
# User Keir Fraser <keir@xen.org>
|
||
|
# Date 1308167438 -3600
|
||
|
# Node ID b58c4ec2f6939b31d56307599b517b5bcfc90279
|
||
|
# Parent 649372e3d46a795040a358075869336b15b6b627
|
||
|
x86_emulate: Fix decode of FUCOMIP %stN.
|
||
|
|
||
|
Signed-off-by: Keir Fraser <keir@xen.org>
|
||
|
xen-unstable changeset: 23546:d25f2c114ace
|
||
|
xen-unstable date: Wed Jun 15 20:33:58 2011 +0100
|
||
|
|
||
|
--- a/xen/arch/x86/x86_emulate/x86_emulate.c
|
||
|
+++ b/xen/arch/x86/x86_emulate/x86_emulate.c
|
||
|
@@ -2936,8 +2936,8 @@ x86_emulate(
|
||
|
dst.reg = (unsigned long *)&_regs.eax;
|
||
|
emulate_fpu_insn_memdst("fnstsw", dst.val);
|
||
|
break;
|
||
|
+ case 0xe8 ... 0xef: /* fucomip %stN */
|
||
|
case 0xf0 ... 0xf7: /* fcomip %stN */
|
||
|
- case 0xf8 ... 0xff: /* fucomip %stN */
|
||
|
emulate_fpu_insn_stub(0xdf, modrm);
|
||
|
break;
|
||
|
default:
|