hexagon: TCG test coverage + ubsan fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest17 patches 1 replyIn review
- v117 patches 17 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | tests/tcg/hexagon: fix undefined signed left shift in circ.ctests/ | +3 | 0 replies | |
| 2/17 | tests/tcg/hexagon: fix undefined signed left shift in brev.ctests/ | +1 | 0 replies | |
| 3/17 | tests/tcg/hexagon: fix undefined signed integer overflow in hvx_misctests/ tests/ | +10 | 0 replies | |
| 4/17 | tests/tcg/hexagon: fix undefined integer overflow in v69_hvx.ctests/ | +2 | 0 replies | |
| 5/17 | tests/tcg/multiarch: suppress UBSan for float-to-int conversionstests/ tests/ | +2 | 0 replies | |
| 6/17 | tests/tcg/hexagon: add FP classification, conversion, and fixup teststests/ | +175 | 0 replies | |
| 7/17 | tests/tcg/hexagon: add bit interleave and convergent rounding teststests/ tests/ | +99 | 0 replies | |
| 8/17 | tests/tcg/hexagon: add cond call, tstbit-jump, and endloop01 teststests/ tests/ | +163 | 0 replies | |
| 9/17 | tests/tcg/hexagon: add dczeroa cache line zero testtests/ tests/ | +89 | 0 replies | |
| 10/17 | tests/tcg/hexagon: add HVX vwhist teststests/ tests/ tests/ | +356 | 1 reply | |
| 11/17 | tests/tcg/hexagon: add sfrecipa edge case teststests/ | +81 | 0 replies | |
| 12/17 | tests/tcg/hexagon: add dfmpyhhtests/ | +57 | 0 replies | |
| 13/17 | tests/tcg/hexagon: add unconditional store-immediate teststests/ | +44 | 0 replies | |
| 14/17 | tests/tcg/hexagon: add predicate register transfer testtests/ | +26 | 0 replies | |
| 15/17 | tests/tcg/hexagon: add rounding conv, sffma:lib, and sfinvsqrtatests/ | +99 | 0 replies | |
| 16/17 | tests/tcg/hexagon: add scalar+HVX and masked store teststests/ | +66 | 0 replies | |
| 17/17 | tests/tcg/hexagon: add decbin MPS test casetests/ | +9 | 0 replies |
Reviews trailers per patch
All 17 patches have a Reviewed-by or Acked-by.
| Patch | Sid Manning | Pierrick Bouvier |
|---|---|---|
| 1/17 | R-b | |
| 2/17 | R-b | |
| 3/17 | R-b | |
| 4/17 | R-b | |
| 5/17 | R-b | |
| 6/17 | R-b | |
| 7/17 | R-b | |
| 8/17 | R-b | |
| 9/17 | R-b | |
| 10/17 | R-b | |
| 11/17 | R-b | |
| 12/17 | R-b | |
| 13/17 | R-b | |
| 14/17 | R-b | |
| 15/17 | R-b | |
| 16/17 | R-b | |
| 17/17 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/17] hexagon: TCG test coverage + ubsan fixes
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.
In v2:
- updated vwhist test to use the check32() from hex_test.h, moved check16() there.
v1: https://lore.kernel.org/qemu-devel/[email protected]/
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/hex_test.h | 10 + 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 | 345 ++++++++++++++++++++++ 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 + 15 files changed, 1282 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
Signature · 1 line
2.34.1