Skip to content

target/riscv: corner case fixes

Nicholas Piggin qemu-devel 3 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 11 repliesApplied
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 7 repliesSuperseded

Changes in v3 from the cover letter

* Added vloxei8.v to overflow test.
* Added store variants of interrupted vector ops tests.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3target/riscv: Fix IALIGN check in misa writetarget/riscv/csr.c tests/tcg/riscv64/Makefile.softmmu-target tests/tcg/riscv64/misa-ialign.S+106 -35 replies
2/3target/riscv: Fix vector whole ldst vstart checktarget/riscv/vector_helper.c tests/tcg/riscv64/Makefile.target tests/tcg/riscv64/test-vstart-overflow.c+85 -02 replies
3/3tests/tcg: Add riscv test for interrupted vector opstests/tcg/riscv64/Makefile.target tests/tcg/riscv64/test-interrupted-v.c+340 -03 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisChao Liu
1/3R-b
2/3A-b R-b
3/3A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] target/riscv: corner case fixes

Changes:
v3:
* Added vloxei8.v to overflow test.
* Added store variants of interrupted vector ops tests.

v2:
* Added a tcg tests build-time check for vector intrinsics support in target compiler before building new tests that require it. ci images may not support these yet unfortunately, but upgrading those will be a separate effort.

Thanks,
Nick

Nicholas Piggin (3):
target/riscv: Fix IALIGN check in misa write target/riscv: Fix vector whole ldst vstart check tests/tcg: Add riscv test for interrupted vector ops

 target/riscv/csr.c                        |  16 +-
 target/riscv/vector_helper.c              |   2 +
 tests/tcg/riscv64/Makefile.softmmu-target |   5 +
 tests/tcg/riscv64/Makefile.target         |  16 ++
 tests/tcg/riscv64/misa-ialign.S           |  88 ++++++
 tests/tcg/riscv64/test-interrupted-v.c    | 329 ++++++++++++++++++++++
 tests/tcg/riscv64/test-vstart-overflow.c  |  78 +++++
 7 files changed, 531 insertions(+), 3 deletions(-)
 create mode 100644 tests/tcg/riscv64/misa-ialign.S
 create mode 100644 tests/tcg/riscv64/test-interrupted-v.c
 create mode 100644 tests/tcg/riscv64/test-vstart-overflow.c
Signature · 1 line
2.51.0