Commit Graph

85 Commits

Author SHA1 Message Date
LinJiawei 8fe5185ec0 Microbench: reduce test size of bf 2020-07-26 15:44:44 +08:00
Zihao Yu b2cd0c447b libs,klib,macros: define bool/true/false for C files 2020-02-07 17:23:16 +08:00
Zihao Yu 095819199e use macros in klib-macros.h 2020-02-07 14:40:20 +08:00
Zihao Yu 51c5a6125d convert text files to unix format and remove trailing whitespace 2020-02-05 22:19:56 +08:00
Yanyan Jiang 592bd80d5a microbench: update ref scores 2019-08-27 09:23:54 +00:00
Yanyan Jiang 0a70b6b992 Makefile: remove klib 2019-06-13 17:54:49 +00:00
Zihao Yu 76530213b3 apps,microbench: update doc 2019-06-13 10:55:30 +08:00
Zihao Yu 71202b3d71 apps,microbench: run ref by default 2019-06-13 10:53:40 +08:00
Yanyan Jiang b22a9041fe
am: let `main()` to receive arguments
* add mainargs for x86-qemu, works good for litenes
* port microbench to mainargs
* fix native am
* fix litenes: not include generated .c
* restore back to main
* fix microbench at native
* start amtest, with interesting bug
* add unit test framework
* fix native archive removal
2019-06-13 10:43:59 +08:00
Zihao Yu 9307402f18 apps,microbench: update doc 2019-05-25 16:28:54 +08:00
Zihao Yu 4544fccc4c apps,microbench: add train input of medium size 2019-05-25 16:20:52 +08:00
Zihao Yu 5ff42f83d9 apps,microbench: remove _halt() in main()
* let _trm_init() do something (e.g. report performance counters) after
  return from main()
2019-02-23 11:24:53 +08:00
Yanyan Jiang 395320448f microbench: optimize alloc, update ref scores, and minor revisions 2019-02-15 02:01:56 +08:00
Zihao Yu ccc2ae67c7 apps,microbench: add 'static' to more global variables and functions 2019-02-13 22:57:26 +08:00
Zihao Yu 41cb6009b5 apps,microbench: report total time 2019-02-13 22:36:48 +08:00
Zihao Yu 255cd77a9d apps,microbench: use memset() for bench_alloc during preparation 2019-02-13 22:34:14 +08:00
Zihao Yu 99ad3690fc apps,microbench: fix heap size for LZIP_SM
* native use 64-bit pointers, requiring more heap space than 32-bit
  platforms
2019-02-13 22:26:40 +08:00
Zihao Yu a604cfc555 microbench: reduce the size of heap for TEST input
* this makes it possible for TEST verison to fit in 64KB distributed
  memory on FPGA
* it also speeds up the simulation by remove unnecessary initialization
  of large size data structure
2019-02-11 11:26:56 +08:00
fluorinedog d16f60b06b fix UBs related to order of execution and signed integer overflow 2019-01-30 09:50:30 +08:00
Yanyan Jiang 2c84761453 migrate native code to new ioe 2017-08-22 11:35:03 -04:00
yzh 429cdfc32d apps,microbench: do not return struct
* else it will generate `ret_imm` instruction
* use struct pointer instead
2017-07-23 13:44:41 +08:00
Yanyan Jiang 51af0c5439 fix signed char checksum on riscv64 2017-07-09 00:04:18 -04:00
yzh 50805dce02 apps,microbench,Makefile: compile ref by default 2017-07-04 18:48:35 +08:00
Yanyan Jiang ca49021003 update docs 2017-07-04 03:35:42 -04:00
Yanyan Jiang fa76b4204a change file structure 2017-07-04 03:29:44 -04:00
Yanyan Jiang 4ee0b5f924 update outputs 2017-07-04 03:22:11 -04:00
Yanyan Jiang 2e9c400327 add small benchmarks 2017-07-04 03:19:52 -04:00
Yanyan Jiang 2109a8fbb1 add all benchmarks 2017-07-04 03:06:54 -04:00
Yanyan Jiang cc5544d8ff add dinic and lzip 2017-07-04 02:31:17 -04:00
Yanyan Jiang 5e7f51f979 add 15 puzzle 2017-07-04 02:22:40 -04:00
Yanyan Jiang d3d568dcd9 add sieve 2017-07-03 16:05:14 -04:00
Yanyan Jiang 3508bf81d0 many benchmarks runs 2017-07-03 15:57:58 -04:00
Yanyan Jiang 4db234a46d qsort have small and large 2017-07-03 15:35:21 -04:00
yzh 4e9b978023 apps,microbench: fix the version of memcpy 2017-06-28 21:18:25 +08:00
Yanyan Jiang 56374b313f change type to stdint 2017-06-26 11:53:15 -04:00
Yanyan Jiang 2665e5b56d change apis 2017-06-26 06:21:19 -04:00
Yanyan Jiang 138e9d8c18 remove _cycles from am 2017-06-26 05:35:00 -04:00
Yanyan Jiang e2ef7a6850 rerun i7 scores 2017-06-13 10:54:17 -04:00
Yanyan Jiang 9502b67315 fix RNG problem 2017-06-13 09:53:04 -04:00
yzh 8e31e60f2a apps,microbench: remove unused variable 2017-06-11 23:11:33 +08:00
Yanyan Jiang 4a67440ed2 fix lzip unaligned read bug 2017-06-01 13:51:00 -04:00
Yanyan Jiang 61271c7b16 fix lzip memory alignment problem 2017-05-30 03:43:47 -04:00
Yanyan Jiang 60c3444ed8 standalone libs 2017-05-29 16:42:47 +08:00
Yanyan Jiang bb11817501 remove api calls 2017-05-29 15:26:03 +08:00
Yanyan Jiang 52e593fbd2 do not link klib at native 2017-05-27 13:12:12 -04:00
jyy c973a2c90c code cleanup and add docs 2017-05-22 02:23:43 +08:00
Yanyan Jiang ec6f9cdbe2 distribute makefile to each dirs 2017-05-21 11:22:51 -04:00
Yanyan Jiang 909b9c4920 refactors 2017-05-18 03:44:19 -04:00
Yanyan Jiang cf58446d8f remove _trm_init and _start from header 2017-05-17 20:34:52 -04:00
reccetear bb77b696ae change loader.ld 2017-05-15 03:28:17 +08:00