tinyriscv/tests/random_instruction
liangkangnan e9044a7efe tests:random_instruction: add .gitignore
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-07-12 19:46:00 +08:00
..
.gitignore tests:random_instruction: add .gitignore 2021-07-12 19:46:00 +08:00
Makefile tests: add random instruction 2021-07-12 18:22:02 +08:00
README.md tests/random_instruction: add README.md 2021-07-12 19:29:40 +08:00
link.ld tests: add random instruction 2021-07-12 18:22:02 +08:00
riscv_test.h tests: add random instruction 2021-07-12 18:22:02 +08:00

README.md

使用方法

1.生成随机指令程序

$make gen NUM=2

在当前目录下生成测试程序其中NUM参数表示要生成多少个测试程序(.S文件)。

2.编译程序

$make

编译当前目录下所有.S文件。