qemu/tests/tcg/x86_64
Richard Henderson a7365e984d linux-user/i386: Fix allocation and alignment of fp state
For modern cpus, the kernel uses xsave to store all extra
cpu state across the signal handler.  For xsave/xrstor to
work, the pointer must be 64 byte aligned.  Moreover, the
regular part of the signal frame must be 16 byte aligned.

Attempt to mirror the kernel code as much as possible.
Use enum FPStateKind instead of use_xsave() and use_fxsr().

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1648
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2024-05-26 15:45:23 -07:00
..
system tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00
adox.c target/i386: Fix 32-bit AD[CO]X insns in 64-bit mode 2023-02-16 16:57:34 +01:00
cmpxchg.c target/i386: fix cmpxchg with 32-bit register destination 2022-11-15 09:34:42 +10:00
float_convd.ref tests/tcg: add float_convd test 2022-04-20 16:04:20 +01:00
float_convs.ref tests/tcg: add missing reference files for float_convs 2022-04-20 16:04:20 +01:00
Makefile.softmmu-target tests/plugin: Remove duplicate insn log from libinsn.so 2023-06-26 17:33:00 +02:00
Makefile.target linux-user/i386: Fix allocation and alignment of fp state 2024-05-26 15:45:23 -07:00
noexec.c target/i386: Make translator stop before the end of a page 2022-09-06 08:04:26 +01:00
test-1648.c linux-user/i386: Fix allocation and alignment of fp state 2024-05-26 15:45:23 -07:00
vsyscall.c tests/tcg/x86_64: add vsyscall smoke test 2021-05-20 14:19:30 +02:00