On Thu, Feb 13, 2025 at 02:26:12PM +0000, Peter Maydell wrote: > Date: Thu, 13 Feb 2025 14:26:12 +0000 > From: Peter Maydell <peter.mayd...@linaro.org> > Subject: [PATCH 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>