All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/17] hexagon: TCG test coverage + ubsan fixes
@ 2026-09-05 18:09 Brian Cain
  2026-09-05 18:09 ` [PATCH 01/17] tests/tcg/hexagon: fix undefined signed left shift in circ.c Brian Cain
                   ` (16 more replies)
  0 siblings, 17 replies; 35+ messages in thread
From: Brian Cain @ 2026-09-05 18:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: Pierrick Bouvier, Alex Bennée, Brian Cain, sid.manning

Running a coverage build identified some gaps in the coverage of translation
code.  New tests are added here to close some of those gaps.

After running ubsan on the hexagon TCG tests, some tests were flagged
as having undefined behavior.  Fixes for many of those issues are included.

Brian Cain (17):
  tests/tcg/hexagon: fix undefined signed left shift in circ.c
  tests/tcg/hexagon: fix undefined signed left shift in brev.c
  tests/tcg/hexagon: fix undefined signed integer overflow in hvx_misc
  tests/tcg/hexagon: fix undefined integer overflow in v69_hvx.c
  tests/tcg/multiarch: suppress UBSan for float-to-int conversions
  tests/tcg/hexagon: add FP classification, conversion, and fixup tests
  tests/tcg/hexagon: add bit interleave and convergent rounding tests
  tests/tcg/hexagon: add cond call, tstbit-jump, and endloop01 tests
  tests/tcg/hexagon: add dczeroa cache line zero test
  tests/tcg/hexagon: add HVX vwhist tests
  tests/tcg/hexagon: add sfrecipa edge case tests
  tests/tcg/hexagon: add dfmpyhh
  tests/tcg/hexagon: add unconditional store-immediate tests
  tests/tcg/hexagon: add predicate register transfer test
  tests/tcg/hexagon: add rounding conv, sffma:lib, and sfinvsqrta
  tests/tcg/hexagon: add scalar+HVX and masked store tests
  tests/tcg/hexagon: add decbin MPS test case

 tests/tcg/hexagon/hvx_misc.h         |   1 +
 tests/tcg/hexagon/brev.c             |   2 +-
 tests/tcg/hexagon/circ.c             |   6 +-
 tests/tcg/hexagon/fpstuff.c          | 412 +++++++++++++++++++++++++++
 tests/tcg/hexagon/hvx_misc.c         |  84 +++++-
 tests/tcg/hexagon/misc.c             |  79 +++++
 tests/tcg/hexagon/test_bitops.c      |  98 +++++++
 tests/tcg/hexagon/test_cond_branch.c | 162 +++++++++++
 tests/tcg/hexagon/test_dczeroa.c     |  88 ++++++
 tests/tcg/hexagon/test_vwhist.c      | 361 +++++++++++++++++++++++
 tests/tcg/hexagon/v69_hvx.c          |   3 +-
 tests/tcg/multiarch/float_convd.c    |   1 +
 tests/tcg/multiarch/float_convs.c    |   1 +
 tests/tcg/hexagon/meson.build        |   4 +
 14 files changed, 1288 insertions(+), 14 deletions(-)
 create mode 100644 tests/tcg/hexagon/test_bitops.c
 create mode 100644 tests/tcg/hexagon/test_cond_branch.c
 create mode 100644 tests/tcg/hexagon/test_dczeroa.c
 create mode 100644 tests/tcg/hexagon/test_vwhist.c

-- 
2.34.1


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

end of thread, other threads:[~2026-09-14 21:24 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 18:09 [PATCH 00/17] hexagon: TCG test coverage + ubsan fixes Brian Cain
2026-09-05 18:09 ` [PATCH 01/17] tests/tcg/hexagon: fix undefined signed left shift in circ.c Brian Cain
2026-09-08 15:54   ` Sid Manning
2026-09-05 18:09 ` [PATCH 02/17] tests/tcg/hexagon: fix undefined signed left shift in brev.c Brian Cain
2026-09-09 14:43   ` Sid Manning
2026-09-05 18:09 ` [PATCH 03/17] tests/tcg/hexagon: fix undefined signed integer overflow in hvx_misc Brian Cain
2026-09-09 14:50   ` Sid Manning
2026-09-05 18:09 ` [PATCH 04/17] tests/tcg/hexagon: fix undefined integer overflow in v69_hvx.c Brian Cain
2026-09-09 14:51   ` Sid Manning
2026-09-05 18:09 ` [PATCH 05/17] tests/tcg/multiarch: suppress UBSan for float-to-int conversions Brian Cain
2026-09-14 19:43   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 06/17] tests/tcg/hexagon: add FP classification, conversion, and fixup tests Brian Cain
2026-09-14 19:43   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 07/17] tests/tcg/hexagon: add bit interleave and convergent rounding tests Brian Cain
2026-09-10 17:54   ` Sid Manning
2026-09-05 18:09 ` [PATCH 08/17] tests/tcg/hexagon: add cond call, tstbit-jump, and endloop01 tests Brian Cain
2026-09-14 19:44   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 09/17] tests/tcg/hexagon: add dczeroa cache line zero test Brian Cain
2026-09-10 18:14   ` Sid Manning
2026-09-05 18:09 ` [PATCH 10/17] tests/tcg/hexagon: add HVX vwhist tests Brian Cain
2026-09-14 21:21   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 11/17] tests/tcg/hexagon: add sfrecipa edge case tests Brian Cain
2026-09-14 21:22   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 12/17] tests/tcg/hexagon: add dfmpyhh Brian Cain
2026-09-14 21:22   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 13/17] tests/tcg/hexagon: add unconditional store-immediate tests Brian Cain
2026-09-14 21:23   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 14/17] tests/tcg/hexagon: add predicate register transfer test Brian Cain
2026-09-14 21:23   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 15/17] tests/tcg/hexagon: add rounding conv, sffma:lib, and sfinvsqrta Brian Cain
2026-09-14 21:23   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 16/17] tests/tcg/hexagon: add scalar+HVX and masked store tests Brian Cain
2026-09-14 21:24   ` Pierrick Bouvier
2026-09-05 18:09 ` [PATCH 17/17] tests/tcg/hexagon: add decbin MPS test case Brian Cain
2026-09-14 21:24   ` Pierrick Bouvier

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.