Commit graph

7 commits

Author SHA1 Message Date
f6c3a13e7f
build: fix unneeded dependency on npcgcc
All checks were successful
Build nix packages / build-matrix (am-kernels) (push) Successful in 2m24s
Build nix packages / build-matrix (rv32Cross.am-kernels-nemu) (push) Successful in 2m20s
Build nix packages / build-matrix (rv32Cross.am-kernels-npc) (push) Successful in 2m21s
2024-08-15 16:42:02 +08:00
9d41ac2f7b
build: add more tests to build system 2024-07-09 17:44:09 +08:00
Zihao Yu
9486898b81 tests,alu-tests: fix printf format error caused by -2147483648
* This error is reported by clang, but it is suppressed by -fno-builtin
  in gcc.
2023-11-13 12:05:30 +08:00
Zihao Yu
d918fc429f tests,alu-tests: fix errors reported by -Wall and -Werror 2023-11-13 12:05:15 +08:00
Zihao Yu
773fa2b997 add license for alu-tests and snake 2023-10-03 21:04:37 +08:00
Zihao Yu
d336e55bc3 tests,alu-tests: refine
* use volatile to prevent compiler optimization
* only output failed tests
* output with line number in the generated C file
* return 1 if some tests fail
* disable floating-point tests
2023-07-01 00:52:47 +08:00
Zihao Yu
fbc2739875 tests: add alu-test from movfuscator
* https://github.com/xoreaxeaxeax/movfuscator
2023-07-01 00:51:15 +08:00