Hello Alec Roelke,
I'd like you to reexamine a change. Please visit
https://gem5-review.googlesource.com/6703
to look at the new patch set (#2).
Change subject: tests: Add RISC-V assembly tests
......................................................................
tests: Add RISC-V assembly tests
This patch adds a subset (rv64u*) of RISC-V assembly tests. The tests
have been slightly modified to work in gem5 SE mode:
(1) Replaced a trap handler used in riscv-tests for bare-metal systems
with asmtest syscall defined in gem5 SE. The syscall informs details of
a success or failure inside gem5.
(2) Called exit syscall in the case of successful and failed tests.
The main riscv-tests project is maintained in this repository:
https://github.com/riscv/riscv-tests
Change-Id: Id1015d9a2c6c7d0341fa8b81483289e5f0bfcec0
---
A tests/test-progs/asmtest/src/riscv/LICENSE
A tests/test-progs/asmtest/src/riscv/Makefile
A tests/test-progs/asmtest/src/riscv/README.md
A tests/test-progs/asmtest/src/riscv/env/LICENSE
A tests/test-progs/asmtest/src/riscv/env/encoding.h
A tests/test-progs/asmtest/src/riscv/env/p/link.ld
A tests/test-progs/asmtest/src/riscv/env/p/riscv_test.h
A tests/test-progs/asmtest/src/riscv/env/pm/link.ld
A tests/test-progs/asmtest/src/riscv/env/pm/riscv_test.h
A tests/test-progs/asmtest/src/riscv/macros/scalar/test_macros.h
A tests/test-progs/asmtest/src/riscv/rv64ua/Makefrag
A tests/test-progs/asmtest/src/riscv/rv64ua/amoadd_d.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amoadd_w.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amoand_d.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amoand_w.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amomax_d.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amomax_w.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amomaxu_d.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amomaxu_w.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amomin_d.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amomin_w.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amominu_d.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amominu_w.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amoor_d.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amoor_w.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amoswap_d.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amoswap_w.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amoxor_d.S
A tests/test-progs/asmtest/src/riscv/rv64ua/amoxor_w.S
A tests/test-progs/asmtest/src/riscv/rv64ua/lrsc.S
A tests/test-progs/asmtest/src/riscv/rv64uc/Makefrag
A tests/test-progs/asmtest/src/riscv/rv64uc/rvc.S
A tests/test-progs/asmtest/src/riscv/rv64ud/Makefrag
A tests/test-progs/asmtest/src/riscv/rv64ud/fadd.S
A tests/test-progs/asmtest/src/riscv/rv64ud/fclass.S
A tests/test-progs/asmtest/src/riscv/rv64ud/fcmp.S
A tests/test-progs/asmtest/src/riscv/rv64ud/fcvt.S
A tests/test-progs/asmtest/src/riscv/rv64ud/fcvt_w.S
A tests/test-progs/asmtest/src/riscv/rv64ud/fdiv.S
A tests/test-progs/asmtest/src/riscv/rv64ud/fmadd.S
A tests/test-progs/asmtest/src/riscv/rv64ud/fmin.S
A tests/test-progs/asmtest/src/riscv/rv64ud/ldst.S
A tests/test-progs/asmtest/src/riscv/rv64ud/move.S
A tests/test-progs/asmtest/src/riscv/rv64ud/recoding.S
A tests/test-progs/asmtest/src/riscv/rv64ud/structural.S
A tests/test-progs/asmtest/src/riscv/rv64uf/Makefrag
A tests/test-progs/asmtest/src/riscv/rv64uf/fadd.S
A tests/test-progs/asmtest/src/riscv/rv64uf/fclass.S
A tests/test-progs/asmtest/src/riscv/rv64uf/fcmp.S
A tests/test-progs/asmtest/src/riscv/rv64uf/fcvt.S
A tests/test-progs/asmtest/src/riscv/rv64uf/fcvt_w.S
A tests/test-progs/asmtest/src/riscv/rv64uf/fdiv.S
A tests/test-progs/asmtest/src/riscv/rv64uf/fmadd.S
A tests/test-progs/asmtest/src/riscv/rv64uf/fmin.S
A tests/test-progs/asmtest/src/riscv/rv64uf/ldst.S
A tests/test-progs/asmtest/src/riscv/rv64uf/move.S
A tests/test-progs/asmtest/src/riscv/rv64uf/recoding.S
A tests/test-progs/asmtest/src/riscv/rv64ui/Makefrag
A tests/test-progs/asmtest/src/riscv/rv64ui/add.S
A tests/test-progs/asmtest/src/riscv/rv64ui/addi.S
A tests/test-progs/asmtest/src/riscv/rv64ui/addiw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/addw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/and.S
A tests/test-progs/asmtest/src/riscv/rv64ui/andi.S
A tests/test-progs/asmtest/src/riscv/rv64ui/auipc.S
A tests/test-progs/asmtest/src/riscv/rv64ui/beq.S
A tests/test-progs/asmtest/src/riscv/rv64ui/bge.S
A tests/test-progs/asmtest/src/riscv/rv64ui/bgeu.S
A tests/test-progs/asmtest/src/riscv/rv64ui/blt.S
A tests/test-progs/asmtest/src/riscv/rv64ui/bltu.S
A tests/test-progs/asmtest/src/riscv/rv64ui/bne.S
A tests/test-progs/asmtest/src/riscv/rv64ui/fence_i.S
A tests/test-progs/asmtest/src/riscv/rv64ui/jal.S
A tests/test-progs/asmtest/src/riscv/rv64ui/jalr.S
A tests/test-progs/asmtest/src/riscv/rv64ui/lb.S
A tests/test-progs/asmtest/src/riscv/rv64ui/lbu.S
A tests/test-progs/asmtest/src/riscv/rv64ui/ld.S
A tests/test-progs/asmtest/src/riscv/rv64ui/lh.S
A tests/test-progs/asmtest/src/riscv/rv64ui/lhu.S
A tests/test-progs/asmtest/src/riscv/rv64ui/lui.S
A tests/test-progs/asmtest/src/riscv/rv64ui/lw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/lwu.S
A tests/test-progs/asmtest/src/riscv/rv64ui/or.S
A tests/test-progs/asmtest/src/riscv/rv64ui/ori.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sb.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sd.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sh.S
A tests/test-progs/asmtest/src/riscv/rv64ui/simple.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sll.S
A tests/test-progs/asmtest/src/riscv/rv64ui/slli.S
A tests/test-progs/asmtest/src/riscv/rv64ui/slliw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sllw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/slt.S
A tests/test-progs/asmtest/src/riscv/rv64ui/slti.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sltiu.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sltu.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sra.S
A tests/test-progs/asmtest/src/riscv/rv64ui/srai.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sraiw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sraw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/srl.S
A tests/test-progs/asmtest/src/riscv/rv64ui/srli.S
A tests/test-progs/asmtest/src/riscv/rv64ui/srliw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/srlw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sub.S
A tests/test-progs/asmtest/src/riscv/rv64ui/subw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/sw.S
A tests/test-progs/asmtest/src/riscv/rv64ui/xor.S
A tests/test-progs/asmtest/src/riscv/rv64ui/xori.S
A tests/test-progs/asmtest/src/riscv/rv64um/Makefrag
A tests/test-progs/asmtest/src/riscv/rv64um/div.S
A tests/test-progs/asmtest/src/riscv/rv64um/divu.S
A tests/test-progs/asmtest/src/riscv/rv64um/divuw.S
A tests/test-progs/asmtest/src/riscv/rv64um/divw.S
A tests/test-progs/asmtest/src/riscv/rv64um/mul.S
A tests/test-progs/asmtest/src/riscv/rv64um/mulh.S
A tests/test-progs/asmtest/src/riscv/rv64um/mulhsu.S
A tests/test-progs/asmtest/src/riscv/rv64um/mulhu.S
A tests/test-progs/asmtest/src/riscv/rv64um/mulw.S
A tests/test-progs/asmtest/src/riscv/rv64um/rem.S
A tests/test-progs/asmtest/src/riscv/rv64um/remu.S
A tests/test-progs/asmtest/src/riscv/rv64um/remuw.S
A tests/test-progs/asmtest/src/riscv/rv64um/remw.S
123 files changed, 9,736 insertions(+), 0 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/6703
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id1015d9a2c6c7d0341fa8b81483289e5f0bfcec0
Gerrit-Change-Number: 6703
Gerrit-PatchSet: 2
Gerrit-Owner: Tuan Ta <[email protected]>
Gerrit-Reviewer: Alec Roelke <[email protected]>
Gerrit-Reviewer: Tuan Ta <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev