Yanyan Jiang
ce2308aa80
Merge pull request #16 from jiangyy/fix-makefile
...
Makefile.app: use rules to spefify the dependency, instead of sub-make
2019-02-17 13:44:28 +08:00
Zihao Yu
05e89fd34a
Makefile.app: use rules to spefify the dependency, instead of sub-make
...
* `cputests` will invoke Makefiles with name `Makefile.xxx`, but sub-make
will use `Makefile` by default. This will invoke the wrong file.
2019-02-17 12:23:49 +08:00
Yanyan Jiang
676a3f3927
Merge pull request #13 from jiangyy/refactor-microbench
...
Improve microbench
2019-02-15 11:27:04 +08:00
Yanyan Jiang
a258709127
Merge pull request #15 from jiangyy/fix-build-dependency
...
Makefile.app: force the order of prebuild -> app -> postbuild
2019-02-15 11:24:36 +08:00
Zihao Yu
f1dc6e9704
Makefile.app: force the order of prebuild -> app -> postbuild
...
* When running 'make' with '-j' option, placing them in the same rule
may break the dependency. For example, OS may be built before the
ramdisk is updated.
2019-02-15 09:46:16 +08:00
Yanyan Jiang
395320448f
microbench: optimize alloc, update ref scores, and minor revisions
2019-02-15 02:01:56 +08:00
Yanyan Jiang
a32bb30959
Merge pull request #12 from jiangyy/refactor
...
Refactors to AM APIs and x86-qemu
2019-02-15 00:00:47 +08:00
Zihao Yu
7681dc784f
riscv32-nemu,vme: change _Protect to _AddressSpace
2019-02-14 23:51:45 +08:00
Yanyan Jiang
577449a067
Merge pull request #11 from jiangyy/improve-microbench
...
Improve microbench
2019-02-14 23:31:23 +08:00
Yanyan Jiang
2840eb03b0
Merge branch 'refactor' of https://github.com/jiangyy/abstract-machine into refactor
2019-02-14 08:29:58 +00:00
Yanyan Jiang
5d0e8c1df7
x86-qemu: code cleanup
2019-02-14 08:12:18 +00:00
Yanyan Jiang
e386145522
makefile: add prebuild and postbuild
2019-02-14 08:12:18 +00:00
Yanyan Jiang
de26a8faf4
native: add single-core mpe
2019-02-14 08:12:18 +00:00
Yanyan Jiang
7faa2f7c18
vme: rename _Protect to _AddressSpace
2019-02-14 08:12:18 +00:00
Zihao Yu
ccb284edfa
Merge pull request #10 from jiangyy/image-align
...
apps,slider: align images with 8 bytes
2019-02-13 23:08:03 +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
7c2ee494cb
apps,slider: align images with 8 bytes
...
* else memcpy() will use byte copy because of unalignment
2019-02-13 22:22:35 +08:00
Yanyan Jiang
1eaf4f37bf
merge conflicts
2019-02-11 13:55:52 +08:00
Yanyan Jiang
1eb377e6f0
makefile: add prebuild and postbuild
2019-02-11 13:51:42 +08:00
Yanyan Jiang
08308d0655
native: add single-core mpe
2019-02-11 13:51:42 +08:00
Yanyan Jiang
d78a19eb14
vme: rename _Protect to _AddressSpace
2019-02-11 13:51:42 +08:00
Yanyan Jiang
59c355b86a
Merge pull request #9 from jiangyy/microbench-test
...
microbench: reduce the size of heap for TEST input
2019-02-11 05:49:41 +00:00
Yanyan Jiang
a4218ba0c0
Merge pull request #7 from jiangyy/improve-string
...
Improve string
2019-02-11 05:49:11 +00:00
Yanyan Jiang
fa5f007ebc
Merge pull request #6 from jiangyy/improve-hello
...
apps,hello: display ISA info
2019-02-11 05:47:29 +00: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
Zihao Yu
45dd247ea5
Merge pull request #8 from jiangyy/navy-ioe
...
*-navy,ioe: adapt new API
2019-02-11 11:19:58 +08:00
Zihao Yu
6f9126b572
*-navy,ioe: adapt new API
2019-02-11 11:17:57 +08:00
Zihao Yu
61dd53862c
klib,string: fix memcmp
2019-02-10 16:38:50 +08:00
Zihao Yu
d442d20a32
klibtest: refactor
2019-02-10 16:38:28 +08:00
Zihao Yu
4986a229ff
klib,string: implement fast memcpy() and memset() by loop unrolling
...
* this will bring great speedup when running NOOP simulation
2019-02-10 16:35:20 +08:00
Zihao Yu
f4536e62a7
apps,hello: display ISA info
2019-02-10 14:29:14 +08:00
Zihao Yu
d9d06c8a03
Merge pull request #5 from jiangyy/nemu-vga-sync
...
*-nemu,video: use software sync
2019-02-10 14:26:01 +08:00
Zihao Yu
0e05576834
Merge pull request #4 from jiangyy/fix-mips32-ioe
...
mips32-nemu,ioe: adapt new API
2019-02-10 14:25:37 +08:00
Zihao Yu
a72ced8c7b
*-nemu,video: use software sync
2019-02-10 14:24:16 +08:00
Zihao Yu
440b785c62
mips32-nemu,ioe: adapt new API
2019-02-10 14:22:05 +08:00
Zihao Yu
aa2c0602cc
Merge pull request #3 from jiangyy/rv32
...
Rv32
2019-02-10 14:19:18 +08:00
Zihao Yu
98ced2fce7
Merge pull request #2 from jiangyy/fix-native
...
Fix native
2019-02-10 14:15:24 +08:00
Zihao Yu
5b70e727c1
riscv32-nemu,ioe: adapt new API
2019-02-08 00:09:42 +08:00
Zihao Yu
118330a481
Merge branch 'dev' into rv32
2019-02-08 00:05:39 +08:00
Zihao Yu
be897c1bcc
native,dev,input: receive repeated keys
2019-02-07 23:59:14 +08:00
Zihao Yu
a9b1d441ec
native,dev,input: use _exit() instead of exit() for SDL_QUIT event
...
* exit() will munmap and close file opened by shm_open(). Since we
handle SDL_QUIT in another thread, the main thread will trigger a
segmentation fault right after munmap(). _exit() will exit
immediately, avoiding the segmentation fault message.
2019-02-07 23:52:14 +08:00
Zihao Yu
c172a8b782
riscv32-nemu: add vme
2019-02-07 23:44:22 +08:00
Yanyan Jiang
1b38368d05
makefile: add prebuild and postbuild
2019-02-06 15:35:20 +08:00
Yanyan Jiang
1d8579e607
native: add single-core mpe
2019-02-06 14:46:57 +08:00
Yanyan Jiang
ace562aff8
vme: rename _Protect to _AddressSpace
2019-02-01 13:01:09 +00:00
Yanyan Jiang
37a2b51ec1
Merge pull request #1 from jiangyy/ioe-refactor
...
Refactor IOE with simpler APIs
2019-01-31 06:26:30 +00:00
Yanyan Jiang
d376711c50
ioe,native: refactor native ioe
2019-01-31 05:59:34 +00:00