qemu-cr16/target/i386
Paolo Bonzini feea87cd6b target/i386: fix width of third operand of VINSERTx128
Table A-5 of the Intel manual incorrectly lists the third operand of
VINSERTx128 as Wqq, but it is actually a 128-bit value.  This is
visible when W is a memory operand close to the end of the page.

Fixes the recently-added poly1305_kunit test in linux-next.

(No testcase yet, but I plan to modify test-avx2 to use memory
close to the end of the page.  This would work because the test
vectors correctly have the memory operand as xmm2/m128).

Reported-by: Eric Biggers <ebiggers@kernel.org>
Tested-by: Eric Biggers <ebiggers@kernel.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: qemu-stable@nongnu.org
Fixes: 7906847768 ("target/i386: reimplement 0x0f 0x3a, add AVX", 2022-10-18)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-07-25 14:51:11 +02:00
..
emulate target/i386/emulate: replace FSF postal address with licenses URL 2025-06-26 00:42:37 +02:00
hvf target/i386: merge host_cpu_instance_init() and host_cpu_max_instance_init() 2025-07-12 15:28:20 +02:00
kvm i386/tdx: Remove the redundant qemu_mutex_init(&tdx->lock) 2025-07-17 17:18:59 +02:00
nvmm Accelerators patches 2025-07-16 07:13:40 -04:00
tcg target/i386: fix width of third operand of VINSERTx128 2025-07-25 14:51:11 +02:00
whpx Accelerators patches 2025-07-16 07:13:40 -04:00
arch_dump.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
arch_memory_mapping.c exec/cpu-all: remove system/memory include 2025-04-23 15:04:57 -07:00
confidential-guest.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
confidential-guest.h i386/cgs: Introduce x86_confidential_guest_check_features() 2025-05-28 19:35:55 +02:00
cpu-apic.c include/system: Move exec/address-spaces.h to system/address-spaces.h 2025-04-23 14:08:21 -07:00
cpu-dump.c target/i386: remove CC_OP_CLR 2024-10-31 18:28:33 +01:00
cpu-internal.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
cpu-param.h tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally 2025-04-23 15:07:32 -07:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu-system.c qapi: make most CPU commands unconditionally available 2025-05-28 18:55:50 +02:00
cpu.c i386/cpu: Move x86_ext_save_areas[] initialization to .instance_init 2025-07-17 15:51:29 +02:00
cpu.h i386/cpu: Use a unified cache_info in X86CPUState 2025-07-12 15:28:22 +02:00
gdbstub.c target/i386/gdbstub: Expose orig_ax 2024-10-13 10:05:51 -07:00
helper.c tcg: Define INSN_START_WORDS as constant 3 2025-05-01 07:37:13 -07:00
helper.h target/i386: optimize computation of ZF from CC_OP_DYNAMIC 2024-10-31 18:28:33 +01:00
host-cpu.c i386/cpu: Unify family, model and stepping calculation for x86 CPU 2025-07-12 15:28:21 +02:00
host-cpu.h i386/cpu: Cleanup host_cpu_max_instance_init() 2025-07-17 17:18:59 +02:00
Kconfig i386: select correct components for no-board build 2024-05-10 15:45:15 +02:00
machine.c hw/i386/x86: Remove X86MachineClass::save_tsc_khz field 2025-05-30 09:52:08 +02:00
meson.build target/i386: nvmm, whpx: add accel/CPU class that sets host vendor 2025-07-12 15:28:19 +02:00
monitor.c qapi: remove the misc-target.json file 2025-05-28 18:54:18 +02:00
ops_sse.h target/i386: Use correct type for get_float_exception_flags() values 2025-06-06 14:32:55 +02:00
sev-system-stub.c qapi: make SEV commands unconditionally available 2025-05-28 18:54:16 +02:00
sev.c sev: Provide sev_features flags from IGVM VMSA to KVM_SEV_INIT2 2025-07-12 15:28:21 +02:00
sev.h i386/sev: Add implementation of CGS set_guest_policy() 2025-07-12 15:28:21 +02:00
svm.h target/i386: check intercept for XSETBV 2023-10-17 15:20:53 +02:00
trace-events target/i386/sev: Use size_t for object sizes 2024-06-28 19:26:54 +02:00
trace.h
xsave_helper.c qemu: Declare all load/store helper in 'qemu/bswap.h' 2025-07-15 02:56:39 -04:00