← All repos

riscv-tests

Browse cluster: RISC-V Toolchain & Math Libraries
1,084commits
102contributors
8languages

Tech stack & purpose

riscv-tests is a repository of unit tests for RISC-V processors. The project provides a framework for testing RISC-V implementations through test virtual machines (TVMs) that define constrained execution environments, allowing the same test programs to run across different processor implementations. Tests are written in RISC-V assembly language processed through the C preprocessor and built using the riscv-gnu-toolchain, with support for multiple instruction set configurations including user-level and supervisor-level variants, integer-only, floating-point, and vector extensions. The repository includes benchmarks, debug tests using gdb and OpenOCD, and originated from testing approaches developed at UC Berkeley and ICSI beginning in 1992.

Languages

Assembly
64.6%
C
25.7%
Python
7.1%
Perl
1.5%
Makefile
0.7%
Linker Script
0.3%
Scala
0.2%
M4
0.0%

Contributors (top 30 of 102)