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.mayd...@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.hender...@linaro.org>

r~

Reply via email to