aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/qemu-devel/files/patch-target-i386-translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-target-i386-translate.c')
-rw-r--r--emulators/qemu-devel/files/patch-target-i386-translate.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/emulators/qemu-devel/files/patch-target-i386-translate.c b/emulators/qemu-devel/files/patch-target-i386-translate.c
deleted file mode 100644
index 332ce9fcd26e..000000000000
--- a/emulators/qemu-devel/files/patch-target-i386-translate.c
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: qemu/target-i386/translate.c
-@@ -3330,8 +3330,12 @@
- op1_offset = offsetof(CPUX86State,xmm_regs[reg]);
- tcg_gen_addi_ptr(cpu_ptr0, cpu_env, op1_offset);
- sse_op2 = sse_op_table3[(s->dflag == 2) * 2 + ((b >> 8) - 2)];
-- tcg_gen_trunc_tl_i32(cpu_tmp2_i32, cpu_T[0]);
-- tcg_gen_helper_0_2(sse_op2, cpu_ptr0, cpu_tmp2_i32);
-+ if (ot == OT_LONG) {
-+ tcg_gen_trunc_tl_i32(cpu_tmp2_i32, cpu_T[0]);
-+ tcg_gen_helper_0_2(sse_op2, cpu_ptr0, cpu_tmp2_i32);
-+ } else {
-+ tcg_gen_helper_0_2(sse_op2, cpu_ptr0, cpu_T[0]);
-+ }
- break;
- case 0x02c: /* cvttps2pi */
- case 0x12c: /* cvttpd2pi */