On Mon, May 19, 2025 at 03:51:13PM +0100, Peter Maydell wrote: > Date: Mon, 19 May 2025 15:51:13 +0100 > From: Peter Maydell <peter.mayd...@linaro.org> > Subject: [PATCH v2 3/4] target/i386: Wire up MXCSR.DE and FPUS.DE correctly > X-Mailer: git-send-email 2.43.0 > > 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.mayd...@linaro.org> > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > --- > target/i386/tcg/fpu_helper.c | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>