summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu/fxrstorssefix.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/fxrstorssefix.patch b/meta/recipes-devtools/qemu/qemu/fxrstorssefix.patch
deleted file mode 100644
index 59ab0f50fa..0000000000
--- a/meta/recipes-devtools/qemu/qemu/fxrstorssefix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1When we restore the mxcsr resgister with FXRSTOR, we need to update the various SSE
2flag files by calling update_sse_status() else we're using the flags from some other
3process with interesting results.
4
5The code isn't ordered to make this easy hence the function declaration.
6
7Upstream-Status: Pending
8
9RP 2013/9/30
10
11Index: qemu-1.5.0/target-i386/fpu_helper.c
12===================================================================
13--- qemu-1.5.0.orig/target-i386/fpu_helper.c 2013-09-30 18:46:39.283377648 +0000
14+++ qemu-1.5.0/target-i386/fpu_helper.c 2013-09-30 18:46:56.895377232 +0000
15@@ -1149,6 +1149,8 @@
16 }
17 }
18
19+static void update_sse_status(CPUX86State *env);
20+
21 void helper_fxrstor(CPUX86State *env, target_ulong ptr, int data64)
22 {
23 int i, fpus, fptag, nb_xmm_regs;
24@@ -1180,6 +1182,7 @@
25 if (env->cr[4] & CR4_OSFXSR_MASK) {
26 /* XXX: finish it */
27 env->mxcsr = cpu_ldl_data(env, ptr + 0x18);
28+ update_sse_status(env);
29 /* cpu_ldl_data(env, ptr + 0x1c); */
30 if (env->hflags & HF_CS64_MASK) {
31 nb_xmm_regs = 16;