qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 75/76] target/i386: Wire up MXCSR.DE and FPUS.DE correctly


From: Richard Henderson
Subject: Re: [PATCH 75/76] target/i386: Wire up MXCSR.DE and FPUS.DE correctly
Date: Sun, 26 Jan 2025 05:31:50 -0800
User-agent: Mozilla Thunderbird

On 1/24/25 08:28, Peter Maydell wrote:
The x86 DE bit in the FPU and MXCSR status is supposed to be set
when an input denormal is consumed. We didn't previously report
this from softfloat, so the x86 code either simply didn't set
the DE bit or else incorrectly wired it up to denormal_flushed,
depending on which register you looked at.

Now we have input_denormal_used we can wire up these DE bits
with the semantics they are supposed to have.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/i386/tcg/fpu_helper.c | 11 +++--------
  1 file changed, 3 insertions(+), 8 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]