summaryrefslogtreecommitdiffstats
path: root/hw/sparc/sun4m_iommu.c
diff options
context:
space:
mode:
authorPaolo Bonzini2022-11-30 15:16:57 +0100
committerPaolo Bonzini2022-12-01 09:05:05 +0100
commit38e65936a8df1c9e7f5d19eae38a42133fab844b (patch)
treead40919079514fdb618aefdb08bb0a03da0bf8cf /hw/sparc/sun4m_iommu.c
parentUpdate VERSION for v7.2.0-rc2 (diff)
downloadqemu-38e65936a8df1c9e7f5d19eae38a42133fab844b.tar.gz
qemu-38e65936a8df1c9e7f5d19eae38a42133fab844b.tar.xz
qemu-38e65936a8df1c9e7f5d19eae38a42133fab844b.zip
target/i386: allow MMX instructions with CR4.OSFXSR=0
MMX state is saved/restored by FSAVE/FRSTOR so the instructions are not illegal opcodes even if CR4.OSFXSR=0. Make sure that validate_vex takes into account the prefix and only checks HF_OSFXSR_MASK in the presence of an SSE instruction. Fixes: 20581aadec5e ("target/i386: validate VEX prefixes via the instructions' exception classes", 2022-10-18) Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1350 Reported-by: Helge Konetzka (@hejko on gitlab.com) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/sparc/sun4m_iommu.c')
0 files changed, 0 insertions, 0 deletions