Skip to content

tests/tcg: Add MIPS32 Release 6 tests

Philippe Mathieu-Daudé qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 3 repliesIn review
  2. v112 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Use Debian toolchain instead of Bootlin (pbo)
- Convert to TAP

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12tests/docker: Add the mips32r6el toolchain on Debian cross containertests/docker/dockerfiles/debian-all-test-cross.docker+3 -02 replies
2/12meson: Add the tcg_tests_cross_cc/cflags options for mips32r6elmeson_options.txt scripts/meson-buildoptions.sh+6 -00 replies
3/12tests/tcg/mipsel: Add MIPS32R6 logic teststests/tcg/mips/include/wrappers_mips32r6.h tests/tcg/mipsel/meson.build tests/tcg/mipsel/test_mips32r6_logic.c+150 -00 replies
4/12tests/tcg/mipsel: Add MIPS32R6 shift teststests/tcg/mipsel/meson.build tests/tcg/mipsel/test_mips32r6_shift.c+74 -00 replies
5/12tests/tcg/mipsel: Add MIPS32R6 bit operation teststests/tcg/mipsel/meson.build tests/tcg/mipsel/test_mips32r6_bitops.c tests/tcg/mipsel/test_mips32r6_shift.c+83 -50 replies
6/12tests/tcg/mipsel: Add MIPS32R6 multiply teststests/tcg/mipsel/meson.build tests/tcg/mipsel/test_mips32r6_multiply.c+76 -00 replies
7/12tests/tcg/mipsel: Add MIPS32R6 PC-relative teststests/tcg/mipsel/meson.build tests/tcg/mipsel/test_mips32r6_pcrel.c+89 -00 replies
8/12tests/tcg/mipsel: Test MIPS32R6 SELEQZ and SELNEZtests/tcg/mips/include/wrappers_mips32r6.h tests/tcg/mipsel/test_mips32r6_logic.c+8 -00 replies
9/12tests/tcg/mipsel: Test MIPS32R6 DIV, MOD, DIVU and MODUtests/tcg/mips/include/wrappers_mips32r6.h tests/tcg/mipsel/test_mips32r6_multiply.c+42 -80 replies
10/12tests/tcg/mipsel: Test MIPS32R6 LSAtests/tcg/mips/include/wrappers_mips32r6.h tests/tcg/mipsel/test_mips32r6_shift.c+32 -00 replies
11/12tests/tcg/mipsel: Test MIPS32R6 BALCtests/tcg/mipsel/meson.build tests/tcg/mipsel/test_mips32r6_branch.c+54 -00 replies
12/12tests/tcg/mipsel: Test MIPS32R6 JIALC and JICtests/tcg/mipsel/test_mips32r6_branch.c+71 -00 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPierrick Bouvier
SeriesR-b
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/12] tests/tcg: Add MIPS32 Release 6 tests

v2:
- Use Debian toolchain instead of Bootlin (pbo)
- Convert to TAP

v1:
- Include Bootlin mips32r6el toolchain in debian-all-test container
- Wire it to meson
- Cover all the 32-bit opcodes tested in MIPS64 Rel6 (using TAP)

Based-on: <[email protected]>

Philippe Mathieu-Daudé (12):
tests/docker: Add the mips32r6el toolchain on Debian cross container
meson: Add the tcg_tests_cross_cc/cflags options for mips32r6el tests/tcg/mipsel: Add MIPS32R6 logic tests tests/tcg/mipsel: Add MIPS32R6 shift tests tests/tcg/mipsel: Add MIPS32R6 bit operation tests tests/tcg/mipsel: Add MIPS32R6 multiply tests tests/tcg/mipsel: Add MIPS32R6 PC-relative tests tests/tcg/mipsel: Test MIPS32R6 SELEQZ and SELNEZ tests/tcg/mipsel: Test MIPS32R6 DIV, MOD, DIVU and MODU tests/tcg/mipsel: Test MIPS32R6 LSA
tests/tcg/mipsel: Test MIPS32R6 BALC
tests/tcg/mipsel: Test MIPS32R6 JIALC and JIC

 tests/tcg/mips/include/wrappers_mips32r6.h    |  91 +++++++++++++
 tests/tcg/mipsel/test_mips32r6_bitops.c       |  79 +++++++++++
 tests/tcg/mipsel/test_mips32r6_branch.c       | 124 ++++++++++++++++++
 tests/tcg/mipsel/test_mips32r6_logic.c        |  65 +++++++++
 tests/tcg/mipsel/test_mips32r6_multiply.c     | 104 +++++++++++++++
 tests/tcg/mipsel/test_mips32r6_pcrel.c        |  88 +++++++++++++
 tests/tcg/mipsel/test_mips32r6_shift.c        |  81 ++++++++++++
 .../dockerfiles/debian-all-test-cross.docker  |   3 +
 meson_options.txt                             |   4 +
 scripts/meson-buildoptions.sh                 |   2 +
 tests/tcg/mipsel/meson.build                  |  34 +++++
 11 files changed, 675 insertions(+)
 create mode 100644 tests/tcg/mips/include/wrappers_mips32r6.h
 create mode 100644 tests/tcg/mipsel/test_mips32r6_bitops.c
 create mode 100644 tests/tcg/mipsel/test_mips32r6_branch.c
 create mode 100644 tests/tcg/mipsel/test_mips32r6_logic.c
 create mode 100644 tests/tcg/mipsel/test_mips32r6_multiply.c
 create mode 100644 tests/tcg/mipsel/test_mips32r6_pcrel.c
 create mode 100644 tests/tcg/mipsel/test_mips32r6_shift.c
Signature · 1 line
2.55.0