qemu/tests/tcg/x86_64
Peter Maydell 059fad25fd tests/tcg/x86_64/fma: Test some x86 fused-multiply-add cases
Add a test case which tests some corner case behaviour of
fused-multiply-add on x86:
 * 0 * Inf + SNaN should raise Invalid
 * 0 * Inf + QNaN shouldh not raise Invalid
 * tininess should be detected after rounding

There is also one currently-disabled test case:
 * flush-to-zero should be done after rounding

This is disabled because QEMU's emulation currently does this
incorrectly (and so would fail the test).  The test case is kept in
but disabled, as the justification for why the test running harness
has support for testing both with and without FTZ set.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Link: https://lore.kernel.org/r/20250116112536.4117889-3-peter.maydell@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-02-07 15:51:01 +01: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
cross-modifying-code.c tests/tcg/x86_64: Add cross-modifying code test 2024-10-24 09:56:21 +01: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
fma.c tests/tcg/x86_64/fma: Test some x86 fused-multiply-add cases 2025-02-07 15:51:01 +01:00
Makefile.softmmu-target tests/tcg: Use --noexecstack with assembler files 2024-07-30 11:44:11 +01:00
Makefile.target tests/tcg/x86_64/fma: Test some x86 fused-multiply-add cases 2025-02-07 15:51:01 +01: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
test-2175.c target/i386: Fix carry flag for BLSI 2024-08-21 09:11:26 +10:00
test-2413.c tcg/optimize: Fix TCG_COND_TST* simplification of setcond2 2024-07-03 10:24:12 -07:00
vsyscall.c tests/tcg/x86_64: add vsyscall smoke test 2021-05-20 14:19:30 +02:00