qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] target/i386: SSE floating-point fixes
@ 2020-06-25 23:57 Joseph Myers
  2020-06-25 23:57 ` [PATCH 1/2] target/i386: set SSE FTZ in correct floating-point state Joseph Myers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Joseph Myers @ 2020-06-25 23:57 UTC (permalink / raw)
  To: qemu-devel, pbonzini, rth, ehabkost

Fix some issues relating to SSE floating-point emulation.  The first
patch fixes a problem with the handling of the FTZ bit that was found
through the testcase written for the second patch.  Rather than
writing a separate standalone test for that bug, it seemed sufficient
for the testcase in the second patch to cover both patches.

The style checker will produce its usual inapplicable warnings about
use of "volatile" in the testcase and about C99 hex float constants.

Joseph Myers (2):
  target/i386: set SSE FTZ in correct floating-point state
  target/i386: fix IEEE SSE floating-point exception raising

 target/i386/cpu.h                         |   1 +
 target/i386/fpu_helper.c                  |  35 +-
 target/i386/gdbstub.c                     |   1 +
 target/i386/helper.c                      |   1 +
 target/i386/helper.h                      |   1 +
 target/i386/ops_sse.h                     |  28 +-
 target/i386/translate.c                   |   1 +
 tests/tcg/i386/Makefile.target            |   4 +
 tests/tcg/i386/test-i386-sse-exceptions.c | 813 ++++++++++++++++++++++
 9 files changed, 872 insertions(+), 13 deletions(-)
 create mode 100644 tests/tcg/i386/test-i386-sse-exceptions.c

-- 
2.17.1


-- 
Joseph S. Myers
joseph@codesourcery.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-26 11:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-25 23:57 [PATCH 0/2] target/i386: SSE floating-point fixes Joseph Myers
2020-06-25 23:57 ` [PATCH 1/2] target/i386: set SSE FTZ in correct floating-point state Joseph Myers
2020-06-25 23:58 ` [PATCH 2/2] target/i386: fix IEEE SSE floating-point exception raising Joseph Myers
2020-06-26  2:01 ` [PATCH 0/2] target/i386: SSE floating-point fixes no-reply
2020-06-26 11:00 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).