Skip to content

target/i386: More SIMD tests

Paolo Bonzini qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests/tcg: i386: fix typos in 3DNow! instructionstests/tcg/i386/x86.csv+2 -20 replies
2/4tests/tcg: i386: add MMX and 3DNow! teststests/tcg/i386/Makefile.target tests/tcg/i386/test-3dnow.c tests/tcg/i386/test-avx.py +2 more+558 -40 replies
3/4tests/tcg: refine MMX support in SSE teststests/tcg/i386/test-avx.py+26 -60 replies
4/4tests/tcg: remove old SSE teststests/tcg/i386/test-i386.c+0 -5730 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] target/i386: More SIMD tests

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
Signature · 1 line
2.37.2