]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/i386: set SSE FTZ in correct floating-point state
authorJoseph Myers <joseph@codesourcery.com>
Thu, 25 Jun 2020 23:57:44 +0000 (23:57 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2020 22:02:16 +0000 (18:02 -0400)
commit3ddc0eca2229846bfecc3485648a6cb85a466dc7
treea3cd4056d93b0d5624a558d6f6eae46f72f5face
parent9e7871b1fca452e6ca125ff74baa3332e99ad5fe
target/i386: set SSE FTZ in correct floating-point state

The code to set floating-point state when MXCSR changes calls
set_flush_to_zero on &env->fp_status, so affecting the x87
floating-point state rather than the SSE state.  Fix to call it for
&env->sse_status instead.

Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Message-Id: <alpine.DEB.2.21.2006252357170.3832@digraph.polyomino.org.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/fpu_helper.c