[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PATCH 31/43] target-i386: fix movntsd on big-endian hosts
From: |
Michael Roth |
Subject: |
[Qemu-stable] [PATCH 31/43] target-i386: fix movntsd on big-endian hosts |
Date: |
Tue, 24 Feb 2015 15:48:06 -0600 |
From: Paolo Bonzini <address@hidden>
This was accessing an XMM register's low half without going through XMM_Q.
Cc: address@hidden
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
(cherry picked from commit 07958082fdf39284935d38a5b8aec1fe7d020637)
Signed-off-by: Michael Roth <address@hidden>
---
target-i386/translate.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target-i386/translate.c b/target-i386/translate.c
index 782f7d2..269b885 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -3069,7 +3069,8 @@ static void gen_sse(CPUX86State *env, DisasContext *s,
int b,
goto illegal_op;
gen_lea_modrm(env, s, modrm);
if (b1 & 1) {
- gen_stq_env_A0(s, offsetof(CPUX86State, xmm_regs[reg]));
+ gen_stq_env_A0(s, offsetof(CPUX86State,
+ xmm_regs[reg].XMM_Q(0)));
} else {
tcg_gen_ld32u_tl(cpu_T[0], cpu_env, offsetof(CPUX86State,
xmm_regs[reg].XMM_L(0)));
--
1.9.1
- [Qemu-stable] [PATCH 20/43] target-xtensa: fix translation for opcodes crossing page boundary, (continued)
[Qemu-stable] [PATCH 28/43] pckbd: set bits 2-3-6-7 of the output port by default, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 30/43] scsi: fix cancellation when I/O was completed but DMA was not., Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 32/43] vt82c686: avoid out-of-bounds read, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 31/43] target-i386: fix movntsd on big-endian hosts,
Michael Roth <=
[Qemu-stable] [PATCH 33/43] virtio: fix feature bit checks, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 02/43] block: Omit bdrv_find_format for essential drivers, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 36/43] target-arm/translate-a64: Fix wrong mmu_idx usage for LDT/STT, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 34/43] sb16: fix interrupt acknowledgement, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 35/43] hw/input/hid.c Fix capslock hid code, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 39/43] libcacard: stop linking against every single 3rd party library, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 37/43] vfio-pci: Fix missing unparent of dynamically allocated MemoryRegion, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 38/43] qemu-thread: fix qemu_event without futexes, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 40/43] fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail, Michael Roth, 2015/02/24
[Qemu-stable] [PATCH 03/43] block/vvfat: qcow driver may not be found, Michael Roth, 2015/02/24