Commit graph

48 commits

Author SHA1 Message Date
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
Zihao Yu
245c069c4e thread-os: fix stack overflow with glibc 2.39
* `Inconsistency detected by ld.so: dl-runtime.c: 63: _dl_fixup:
  Assertion `ELFW(R_TYPE)(reloc->r_info) == ELF_MACHINE_JMP_SLOT' failed!`
2023-07-01 00:44:58 +08:00
Zihao Yu
adc316af6e cpu-tests,Makefile: support target gdb 2021-10-20 12:56:40 +08:00
Zihao Yu
c03fc2b97b nemu: restore previous config when it fails to build the AM version 2021-08-27 19:26:36 +08:00
Zihao Yu
3433d0f8db remove unused file 2021-08-21 15:30:29 +08:00
Zihao Yu
6052ab0244 kernels: support NEMU over AM 2021-08-16 17:09:25 +08:00
Zihao Yu
56c864d5ef tests,cpu-tests,Makefile: report run results 2021-08-13 18:04:41 +08:00
Zihao Yu
8a1caa1db3 remove x attribute 2021-08-11 16:59:18 +08:00
Zihao Yu
5e7cd0c7f2 am-tests,intr: change printf() to putch() 2021-08-11 16:55:49 +08:00
Zihao Yu
f3af11ebbf cpu-tests,Makefile: remove unused rules 2021-08-11 16:55:34 +08:00
Yanyan Jiang
87c35f8f19 fix mmc multi def bug 2021-08-11 16:54:48 +08:00
Zihao Yu
a3d742d259 microbench: avoid %03d in the format string 2021-08-11 16:54:23 +08:00
Zihao Yu
1a008865df microbench: explicitly use uint32_t for score and uint64_t for usec 2021-08-11 16:54:23 +08:00
Zihao Yu
e45d2189d9 microbench: change REF_CPU to i9-9900k 2021-08-11 16:54:23 +08:00
Zihao Yu
e611fa70d2 microbench: set correct checksum for huge input 2021-08-11 16:54:23 +08:00
Zihao Yu
54f5c1f8fa microbench: add huge input 2021-08-11 16:54:23 +08:00
Zihao Yu
f4f447c422 microbench: use us precision timer 2021-08-11 16:54:23 +08:00
Zihao Yu
242c1f1f53 tests,cpu-tests,string: test the return value of strcmp() according to the manual 2021-08-11 16:52:42 +08:00
Zihao Yu
1d1ff1431d tools: add gitignore for export/ 2021-08-11 16:52:42 +08:00
Zihao Yu
060dde6692 am-tests,audio: ctrl.bufsize is now unconfigurable 2021-08-11 16:52:42 +08:00
Zihao Yu
11a4fe4ceb kernels: add slider 2021-08-11 16:52:42 +08:00
Zihao Yu
2466656eea kernels,typing-game: add message about exiting 2021-08-11 16:52:42 +08:00
Zihao Yu
a1edccd647 benchmarks: readd README.md 2021-08-11 16:52:42 +08:00
Zihao Yu
fc7b5f832b test,am-tests,audio: add .gitignore to track the pcm file 2021-08-11 16:52:42 +08:00
Zihao Yu
6cdc69bdeb gitignore: fix typo 2021-08-11 16:52:42 +08:00
Zihao Yu
07c99a1e2a test,am-tests: add audio test 2021-08-11 16:52:42 +08:00
Zihao Yu
9e59fd2cba kernels,typing-game: exit when pressing ESC 2021-08-11 16:52:42 +08:00
Zihao Yu
fa054f1c3a benchmark,microbench: reduce test input size for bf
* this will cost less time to run with RTL simulation
* note that the checksum is still the same
2021-08-11 16:52:42 +08:00
Zihao Yu
fa8bcce0a9 fix typo 2021-08-11 16:52:42 +08:00
Zihao Yu
0a123cc9e6 tests: add am-tests 2021-08-11 16:52:42 +08:00
Yanyan Jiang
8fbf7f9425 Merge pull request #1 from jiangyy/remove-thread-os-ioe
kernels,thread-os: remove ioe
2021-08-11 16:47:42 +08:00
Yanyan Jiang
6067516bec add color 2021-08-11 16:46:48 +08:00
Yanyan Jiang
0c534454bd new typing game 2021-08-11 16:46:48 +08:00
Yanyan Jiang
87220d57be use lut 2021-08-11 16:46:48 +08:00
Yanyan Jiang
509da0b18a a new typing game; not finished 2021-08-11 16:46:48 +08:00
Yanyan Jiang
ef885890c1 much better user interface for litenes 2021-08-11 16:46:48 +08:00
Yanyan Jiang
891375d8fa update readme 2021-08-11 16:46:48 +08:00
Yanyan Jiang
f8e9232a64 renames 2021-08-11 16:46:48 +08:00
Yanyan Jiang
0ce11d082c refactor 2021-08-11 16:46:48 +08:00
Yanyan Jiang
960dc907e9 restructure project 2021-08-11 16:46:45 +08:00
Yanyan Jiang
a317d8cce1 port more apps 2021-08-11 16:44:38 +08:00
Yanyan Jiang
673f8605ce rename nemu_assert to check 2020-08-11 17:40:29 +00:00
Yanyan Jiang
7e870cb2e4 add cputest 2020-08-11 17:38:42 +00:00
Yanyan Jiang
304daa3501 rename projects 2020-08-11 17:22:46 +00:00
Yanyan Jiang
bdcb3ba65a copy licence and readme 2020-08-11 17:18:00 +00:00
Yanyan Jiang
009f8b5fb0 port some benchmarks 2020-08-11 17:17:16 +00:00
Yanyan Jiang
30a534e650 start am apps 2020-08-11 17:14:09 +00:00