|
From: | Richard Henderson |
Subject: | Re: [PATCH 73/76] target/i386: Detect flush-to-zero after rounding |
Date: | Sun, 26 Jan 2025 05:30:02 -0800 |
User-agent: | Mozilla Thunderbird |
On 1/24/25 08:28, Peter Maydell wrote:
The Intel SDM section 10.2.3.3 on the MXCSR.FTZ bit says that we flush outputs to zero when we detect underflow, which is after rounding. Set the detect_ftz flag accordingly. This allows us to enable the test in fma.c which checks this behaviour. Signed-off-by: Peter Maydell<peter.maydell@linaro.org> --- target/i386/tcg/fpu_helper.c | 8 ++++---- tests/tcg/x86_64/fma.c | 5 ----- 2 files changed, 4 insertions(+), 9 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |