qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [PATCH 0/4] target/i386: More SIMD tests
Date: Mon, 12 Sep 2022 01:00:10 +0200	[thread overview]
Message-ID: <20220911230014.340601-1-pbonzini@redhat.com> (raw)

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



             reply	other threads:[~2022-09-11 23:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11 23:00 Paolo Bonzini [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220911230014.340601-1-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).