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

Philippe Mathieu-Daudé posted 12 patches 3 weeks, 2 days ago
Failed in applying to current master (apply log)
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
[PATCH v2 00/12] tests/tcg: Add MIPS32 Release 6 tests
Posted by Philippe Mathieu-Daudé 3 weeks, 2 days ago
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: <20261030175357.99684-1-philmd@oss.qualcomm.com>

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

-- 
2.55.0


Re: [PATCH v2 00/12] tests/tcg: Add MIPS32 Release 6 tests
Posted by Pierrick Bouvier 3 weeks, 2 days ago
On 10/30/2026 10:25 AM, Philippe Mathieu-Daudé wrote:
> 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: <20261030175357.99684-1-philmd@oss.qualcomm.com>
> 
> 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
> 

For series:
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>

Just remove the binutils dep in dockerfile, as I think it's not
mandatory to compile the tests.

Regards,
Pierrick