qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] target/i386: More SIMD tests
@ 2022-09-11 23:00 Paolo Bonzini
  2022-09-11 23:00 ` [PATCH 1/4] tests/tcg: i386: fix typos in 3DNow! instructions Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Paolo Bonzini @ 2022-09-11 23:00 UTC (permalink / raw)
  To: qemu-devel

This series adds more tests for MMX and 3DNow, including a specific
execuatble because the SSE tests in test-avx are not able to pick the
right input parameters for MMn registers.

Unfortunately there are a couple typos in the 3DNow! instructions that
seem to be very widespread; the source of the typos was the "official"
Intel x86 encoder/decoder (XED) and x86.csv was probably generated from
there, though I couldn't find an exact copy on github.  These are fixed
in patch 1 (Paul, where did you get _that x86.csv? :)).

The final patch removes the old SSE tests from test-i386.c, which are
less comprehensive than the ones generated from x86.csv and also had a
couple bugs.

Paolo

Paolo Bonzini (4):
  tests/tcg: i386: fix typos in 3DNow! instructions
  tests/tcg: i386: add MMX and 3DNow! tests
  tests/tcg: refine MMX support in SSE tests
  tests/tcg: remove old SSE tests

 tests/tcg/i386/Makefile.target |  18 +-
 tests/tcg/i386/test-3dnow.c    |   3 +
 tests/tcg/i386/test-avx.py     |  33 +-
 tests/tcg/i386/test-i386.c     | 573 ---------------------------------
 tests/tcg/i386/test-mmx.c      | 315 ++++++++++++++++++
 tests/tcg/i386/test-mmx.py     | 244 ++++++++++++++
 tests/tcg/i386/x86.csv         |   4 +-
 7 files changed, 605 insertions(+), 585 deletions(-)
 create mode 100644 tests/tcg/i386/test-3dnow.c
 create mode 100644 tests/tcg/i386/test-mmx.c
 create mode 100755 tests/tcg/i386/test-mmx.py

-- 
2.37.2



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

end of thread, other threads:[~2022-09-11 23:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-11 23:00 [PATCH 0/4] target/i386: More SIMD tests Paolo Bonzini
2022-09-11 23:00 ` [PATCH 1/4] tests/tcg: i386: fix typos in 3DNow! instructions Paolo Bonzini
2022-09-11 23:00 ` [PATCH 2/4] tests/tcg: i386: add MMX and 3DNow! tests Paolo Bonzini
2022-09-11 23:00 ` [PATCH 3/4] tests/tcg: refine MMX support in SSE tests Paolo Bonzini
2022-09-11 23:00 ` [PATCH 4/4] tests/tcg: remove old " 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).