All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] tests/tcg: Massage MIPS tests for easier maintenance
@ 2026-10-28 19:21 Philippe Mathieu-Daudé
  2026-10-28 19:21 ` [PATCH 1/4] tests/tcg/mips: Clear DSPControl at start of DSP tests Philippe Mathieu-Daudé
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-10-28 19:21 UTC (permalink / raw)
  To: qemu-devel
  Cc: Aleksandar Rikalo, Aurelien Jarno, Jiaxun Yang,
	Philippe Mathieu-Daudé, Pierrick Bouvier

I'm glad we have many MIPS tests but they are in too
many files, taking time to get compiled. In particular
on Aarch64 host via x86_64 docker image... Group the
test in order to reduce CI build time.

Philippe Mathieu-Daudé (4):
  tests/tcg/mips: Clear DSPControl at start of DSP tests
  tests/tcg/mips: Group DSP tests
  tests/tcg/mips: Group Release 6 tests
  tests/tcg/mips: Group MSA tests

 .../user/ase/msa/test_msa_group_bit_count.c   |  82 +++++
 .../user/ase/msa/test_msa_group_bit_move.c    |  76 +++++
 .../user/ase/msa/test_msa_group_bit_set.c     |  82 +++++
 .../ase/msa/test_msa_group_fixed_multiply.c   |  82 +++++
 .../ase/msa/test_msa_group_float_max_min.c    |  58 ++++
 .../user/ase/msa/test_msa_group_int_add.c     | 166 ++++++++++
 .../user/ase/msa/test_msa_group_int_average.c | 106 +++++++
 .../user/ase/msa/test_msa_group_int_compare.c | 130 ++++++++
 .../user/ase/msa/test_msa_group_int_div_mod.c | 106 +++++++
 .../ase/msa/test_msa_group_int_dot_product.c  | 118 +++++++
 .../user/ase/msa/test_msa_group_int_max_min.c | 154 +++++++++
 .../ase/msa/test_msa_group_int_multiply.c     |  82 +++++
 .../ase/msa/test_msa_group_int_subtract.c     | 214 +++++++++++++
 .../user/ase/msa/test_msa_group_interleave.c  | 106 +++++++
 .../mips/user/ase/msa/test_msa_group_logic.c  |  40 +++
 .../mips/user/ase/msa/test_msa_group_pack.c   |  82 +++++
 .../mips/user/ase/msa/test_msa_group_shift.c  | 130 ++++++++
 tests/tcg/mips64/test_mips64r6_bitops.c       |  46 +++
 tests/tcg/mips64/test_mips64r6_crc.c          |  58 ++++
 tests/tcg/mips64/test_mips64r6_logic.c        |  34 ++
 tests/tcg/mips64/test_mips64r6_multiply.c     |  58 ++++
 tests/tcg/mips64/test_mips64r6_shift.c        |  46 +++
 tests/tcg/mipsel/test_dsp_acc.c               | 105 +++++++
 tests/tcg/mipsel/test_dsp_arith.c             | 175 +++++++++++
 tests/tcg/mipsel/test_dsp_cmp.c               |  80 +++++
 tests/tcg/mipsel/test_dsp_ctrl.c              |  40 +++
 tests/tcg/mipsel/test_dsp_dot.c               | 150 +++++++++
 tests/tcg/mipsel/test_dsp_mul.c               |  60 ++++
 tests/tcg/mipsel/test_dsp_pack.c              | 145 +++++++++
 tests/tcg/mipsel/test_dsp_r1_absq_s_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_absq_s_w.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_addq_ph.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_addq_s_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_addq_s_w.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_addsc.c          |   2 +
 tests/tcg/mipsel/test_dsp_r1_addu_qb.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_addu_s_qb.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_addwc.c          |   2 +
 tests/tcg/mipsel/test_dsp_r1_bitrev.c         |   2 +
 tests/tcg/mipsel/test_dsp_r1_bposge32.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_cmp_eq_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_cmp_le_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_cmp_lt_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_cmpgu_eq_qb.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_cmpgu_le_qb.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_cmpgu_lt_qb.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_cmpu_eq_qb.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_cmpu_le_qb.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_cmpu_lt_qb.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_dpaq_s_w_ph.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_dpaq_sa_l_w.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_dpau_h_qbl.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_dpau_h_qbr.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_dpsq_s_w_ph.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_dpsq_sa_l_w.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_dpsu_h_qbl.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_dpsu_h_qbr.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_extp.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_extpdp.c         |   2 +
 tests/tcg/mipsel/test_dsp_r1_extpdpv.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_extpv.c          |   2 +
 tests/tcg/mipsel/test_dsp_r1_extr_r_w.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_extr_rs_w.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_extr_s_h.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_extr_w.c         |   2 +
 tests/tcg/mipsel/test_dsp_r1_extrv_r_w.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_extrv_s_h.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_extrv_w.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_insv.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_lbux.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_lhx.c            |   2 +
 tests/tcg/mipsel/test_dsp_r1_lwx.c            |   2 +
 tests/tcg/mipsel/test_dsp_r1_madd.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_maddu.c          |   2 +
 tests/tcg/mipsel/test_dsp_r1_main.c           |   6 -
 tests/tcg/mipsel/test_dsp_r1_maq_s_w_phl.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_maq_s_w_phr.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_maq_sa_w_phl.c   |   2 +
 tests/tcg/mipsel/test_dsp_r1_maq_sa_w_phr.c   |   2 +
 tests/tcg/mipsel/test_dsp_r1_mfhi.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_mflo.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_modsub.c         |   2 +
 tests/tcg/mipsel/test_dsp_r1_msub.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_msubu.c          |   2 +
 tests/tcg/mipsel/test_dsp_r1_mthi.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_mthlip.c         |   2 +
 tests/tcg/mipsel/test_dsp_r1_mtlo.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_muleq_s_w_phl.c  |   2 +
 tests/tcg/mipsel/test_dsp_r1_muleq_s_w_phr.c  |   2 +
 tests/tcg/mipsel/test_dsp_r1_muleu_s_ph_qbl.c |   2 +
 tests/tcg/mipsel/test_dsp_r1_muleu_s_ph_qbr.c |   2 +
 tests/tcg/mipsel/test_dsp_r1_mulq_rs_ph.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_mult.c           |   2 +
 tests/tcg/mipsel/test_dsp_r1_multu.c          |   2 +
 tests/tcg/mipsel/test_dsp_r1_packrl_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_pick_ph.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_pick_qb.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_preceq_w_phl.c   |   2 +
 tests/tcg/mipsel/test_dsp_r1_preceq_w_phr.c   |   2 +
 tests/tcg/mipsel/test_dsp_r1_precequ_ph_qbl.c |   2 +
 .../tcg/mipsel/test_dsp_r1_precequ_ph_qbla.c  |   2 +
 tests/tcg/mipsel/test_dsp_r1_precequ_ph_qbr.c |   2 +
 .../tcg/mipsel/test_dsp_r1_precequ_ph_qbra.c  |   2 +
 tests/tcg/mipsel/test_dsp_r1_preceu_ph_qbl.c  |   2 +
 tests/tcg/mipsel/test_dsp_r1_preceu_ph_qbla.c |   2 +
 tests/tcg/mipsel/test_dsp_r1_preceu_ph_qbr.c  |   2 +
 tests/tcg/mipsel/test_dsp_r1_preceu_ph_qbra.c |   2 +
 tests/tcg/mipsel/test_dsp_r1_precrq_ph_w.c    |   2 +
 tests/tcg/mipsel/test_dsp_r1_precrq_qb_ph.c   |   2 +
 tests/tcg/mipsel/test_dsp_r1_precrq_rs_ph_w.c |   2 +
 .../tcg/mipsel/test_dsp_r1_precrqu_s_qb_ph.c  |   2 +
 tests/tcg/mipsel/test_dsp_r1_raddu_w_qb.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_rddsp.c          |   2 +
 tests/tcg/mipsel/test_dsp_r1_repl_ph.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_repl_qb.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_replv_ph.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_replv_qb.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_shilo.c          |   2 +
 tests/tcg/mipsel/test_dsp_r1_shilov.c         |   2 +
 tests/tcg/mipsel/test_dsp_r1_shll_ph.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_shll_qb.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_shll_s_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_shll_s_w.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_shllv_ph.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_shllv_qb.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_shllv_s_ph.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_shllv_s_w.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_shra_ph.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_shra_r_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_shra_r_w.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_shrav_ph.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_shrav_r_ph.c     |   2 +
 tests/tcg/mipsel/test_dsp_r1_shrav_r_w.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_shrl_qb.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_shrlv_qb.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_subq_ph.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_subq_s_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_subq_s_w.c       |   2 +
 tests/tcg/mipsel/test_dsp_r1_subu_qb.c        |   2 +
 tests/tcg/mipsel/test_dsp_r1_subu_s_qb.c      |   2 +
 tests/tcg/mipsel/test_dsp_r1_wrdsp.c          |   2 +
 tests/tcg/mipsel/test_dsp_r2_absq_s_qb.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_addqh_ph.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_addqh_r_ph.c     |   2 +
 tests/tcg/mipsel/test_dsp_r2_addqh_r_w.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_addqh_w.c        |   2 +
 tests/tcg/mipsel/test_dsp_r2_addu_ph.c        |   2 +
 tests/tcg/mipsel/test_dsp_r2_addu_s_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_adduh_qb.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_adduh_r_qb.c     |   2 +
 tests/tcg/mipsel/test_dsp_r2_append.c         |   2 +
 tests/tcg/mipsel/test_dsp_r2_balign.c         |   2 +
 tests/tcg/mipsel/test_dsp_r2_cmpgdu_eq_qb.c   |   2 +
 tests/tcg/mipsel/test_dsp_r2_cmpgdu_le_qb.c   |   2 +
 tests/tcg/mipsel/test_dsp_r2_cmpgdu_lt_qb.c   |   2 +
 tests/tcg/mipsel/test_dsp_r2_dpa_w_ph.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_dpaqx_s_w_ph.c   |   2 +
 tests/tcg/mipsel/test_dsp_r2_dpaqx_sa_w_ph.c  |   2 +
 tests/tcg/mipsel/test_dsp_r2_dpax_w_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_dps_w_ph.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_dpsqx_s_w_ph.c   |   2 +
 tests/tcg/mipsel/test_dsp_r2_dpsqx_sa_w_ph.c  |   2 +
 tests/tcg/mipsel/test_dsp_r2_dpsx_w_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_mul_ph.c         |   2 +
 tests/tcg/mipsel/test_dsp_r2_mul_s_ph.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_mulq_rs_w.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_mulq_s_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_mulq_s_w.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_mulsa_w_ph.c     |   2 +
 tests/tcg/mipsel/test_dsp_r2_mulsaq_s_w_ph.c  |   2 +
 tests/tcg/mipsel/test_dsp_r2_precr_qb_ph.c    |   2 +
 tests/tcg/mipsel/test_dsp_r2_precr_sra_ph_w.c |   2 +
 .../tcg/mipsel/test_dsp_r2_precr_sra_r_ph_w.c |   2 +
 tests/tcg/mipsel/test_dsp_r2_prepend.c        |   2 +
 tests/tcg/mipsel/test_dsp_r2_shra_qb.c        |   2 +
 tests/tcg/mipsel/test_dsp_r2_shra_r_qb.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_shrav_qb.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_shrav_r_qb.c     |   2 +
 tests/tcg/mipsel/test_dsp_r2_shrl_ph.c        |   2 +
 tests/tcg/mipsel/test_dsp_r2_shrlv_ph.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_subqh_ph.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_subqh_r_ph.c     |   2 +
 tests/tcg/mipsel/test_dsp_r2_subqh_r_w.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_subqh_w.c        |   2 +
 tests/tcg/mipsel/test_dsp_r2_subu_ph.c        |   2 +
 tests/tcg/mipsel/test_dsp_r2_subu_s_ph.c      |   2 +
 tests/tcg/mipsel/test_dsp_r2_subuh_qb.c       |   2 +
 tests/tcg/mipsel/test_dsp_r2_subuh_r_qb.c     |   2 +
 tests/tcg/mipsel/test_dsp_shift.c             | 120 ++++++++
 tests/tcg/mips/meson.build                    | 291 +-----------------
 tests/tcg/mips64/meson.build                  |  37 +--
 tests/tcg/mipsel/meson.build                  | 168 +---------
 193 files changed, 3279 insertions(+), 472 deletions(-)
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_bit_count.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_bit_move.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_bit_set.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_fixed_multiply.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_float_max_min.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_int_add.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_int_average.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_int_compare.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_int_div_mod.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_int_dot_product.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_int_max_min.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_int_multiply.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_int_subtract.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_interleave.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_logic.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_pack.c
 create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_group_shift.c
 create mode 100644 tests/tcg/mips64/test_mips64r6_bitops.c
 create mode 100644 tests/tcg/mips64/test_mips64r6_crc.c
 create mode 100644 tests/tcg/mips64/test_mips64r6_logic.c
 create mode 100644 tests/tcg/mips64/test_mips64r6_multiply.c
 create mode 100644 tests/tcg/mips64/test_mips64r6_shift.c
 create mode 100644 tests/tcg/mipsel/test_dsp_acc.c
 create mode 100644 tests/tcg/mipsel/test_dsp_arith.c
 create mode 100644 tests/tcg/mipsel/test_dsp_cmp.c
 create mode 100644 tests/tcg/mipsel/test_dsp_ctrl.c
 create mode 100644 tests/tcg/mipsel/test_dsp_dot.c
 create mode 100644 tests/tcg/mipsel/test_dsp_mul.c
 create mode 100644 tests/tcg/mipsel/test_dsp_pack.c
 delete mode 100644 tests/tcg/mipsel/test_dsp_r1_main.c
 create mode 100644 tests/tcg/mipsel/test_dsp_shift.c

-- 
2.55.0



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

end of thread, other threads:[~2026-10-29  8:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-28 19:21 [PATCH 0/4] tests/tcg: Massage MIPS tests for easier maintenance Philippe Mathieu-Daudé
2026-10-28 19:21 ` [PATCH 1/4] tests/tcg/mips: Clear DSPControl at start of DSP tests Philippe Mathieu-Daudé
2026-10-28 19:21 ` [PATCH 2/4] tests/tcg/mips: Group " Philippe Mathieu-Daudé
2026-10-28 19:21 ` [PATCH 3/4] tests/tcg/mips: Group Release 6 tests Philippe Mathieu-Daudé
2026-10-28 19:21 ` [PATCH 4/4] tests/tcg/mips: Group MSA tests Philippe Mathieu-Daudé
2026-10-28 20:07 ` [PATCH 0/4] tests/tcg: Massage MIPS tests for easier maintenance Pierrick Bouvier
2026-10-29  7:04   ` Philippe Mathieu-Daudé
2026-10-29  7:47     ` Pierrick Bouvier
2026-10-29  8:16       ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.