├── .ci ├── boot-linux-prepare.sh ├── boot-linux.sh ├── check-format.sh ├── check-newline.sh ├── common.sh ├── fetch.sh ├── gdbstub-test.sh ├── requirements.txt ├── riscv-tests.sh └── riscv-toolchain-install.sh ├── .clang-format ├── .editorconfig ├── .gitattributes ├── .github └── workflows │ ├── benchmark.yml │ ├── build-artifact.yml │ ├── build-linux-artifacts.yml │ ├── deploy-wasm.yml │ └── main.yml ├── .gitignore ├── .gitmodules ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── assets ├── system │ └── configs │ │ ├── buildroot.config │ │ ├── busybox.config │ │ └── linux.config └── wasm │ ├── html │ ├── system.html │ └── user.html │ └── js │ ├── coi-serviceworker.min.js │ ├── system-pre.js │ └── user-pre.js ├── docker ├── .gitignore ├── Dockerfile-gcc ├── Dockerfile-sail └── build.sh ├── docs ├── base-image.md ├── demo.md ├── histogram-insn.png ├── histogram-reg.png ├── instruction.md ├── interp-bench-arm64.png ├── interp-bench-x64.png ├── prebuilt.md └── syscall.md ├── mk ├── artifact.mk ├── common.mk ├── external.mk ├── riscv-arch-test.mk ├── softfloat.mk ├── system.mk ├── tests.mk ├── toolchain.mk ├── tools.mk └── wasm.mk ├── pyproject.toml ├── src ├── breakpoint.c ├── breakpoint.h ├── cache.c ├── cache.h ├── common.h ├── decode.c ├── decode.h ├── devices │ ├── minimal.dts │ ├── plic.c │ ├── plic.h │ ├── uart.c │ ├── uart.h │ ├── virtio-blk.c │ └── virtio.h ├── elf.c ├── elf.h ├── em_runtime.c ├── em_runtime.h ├── emulate.c ├── feature.h ├── gdbstub.c ├── io.c ├── io.h ├── jit.c ├── jit.h ├── log.c ├── log.h ├── main.c ├── map.c ├── map.h ├── mpool.c ├── mpool.h ├── riscv.c ├── riscv.h ├── riscv_private.h ├── rv32_constopt.c ├── rv32_jit.c ├── rv32_template.c ├── softfp.h ├── syscall.c ├── syscall_sdl.c ├── system.c ├── system.h ├── t2c.c ├── t2c_template.c ├── utils.c └── utils.h ├── tests ├── arch-test-target │ ├── constants.py │ ├── rv32emu │ │ ├── env │ │ │ ├── link.ld │ │ │ └── model_test.h │ │ ├── riscof_rv32emu.py │ │ ├── rv32emu_isa.yaml │ │ └── rv32emu_platform.yaml │ ├── sail_cSim │ │ ├── env │ │ │ ├── link.ld │ │ │ └── model_test.h │ │ └── riscof_sail_cSim.py │ └── setup.py ├── asm-hello │ ├── Makefile │ ├── hello.S │ └── hello.ld ├── bench-aggregator.py ├── cache │ ├── cache-get.expect │ ├── cache-get.in │ ├── cache-new.expect │ ├── cache-new.in │ ├── cache-put.expect │ ├── cache-put.in │ ├── cache-replace.expect │ ├── cache-replace.in │ └── test-cache.c ├── captcha.c ├── cc-selfhost.sh ├── cc │ ├── README.md │ ├── cc.c │ ├── emit.c │ ├── hello.c │ └── stdlib.c ├── chacha20 │ ├── Makefile │ ├── chacha20.c │ └── chacha20_asm.S ├── common.sh ├── coremark.py ├── coro │ ├── Makefile │ ├── context.c │ ├── context.h │ ├── coro.c │ └── switch_context.S ├── dhrystone.c ├── dhrystone.sh ├── donut.c ├── falling-nes.h ├── fcalc.c ├── fenster.h ├── fibonacci.s ├── hamilton.c ├── ieee754.c ├── jit.c ├── lena.c ├── line.c ├── maj2random.c ├── mandelbrot.c ├── map │ ├── mt19937.c │ ├── mt19937.h │ └── test-map.c ├── nqueens.c ├── nyancat.c ├── path │ └── test-path.c ├── perfcounter │ ├── Makefile │ ├── getcycles.S │ ├── getinstret.S │ ├── main.c │ └── sparkle.S ├── pi.c ├── puzzle.c ├── qrcode.c ├── readelf │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── elf.c │ ├── elf.h │ ├── elf_header.h │ ├── elf_ident.h │ ├── file.c │ ├── file.h │ ├── file_header.c │ ├── readelf.c │ ├── readelf.h │ ├── section.c │ ├── section.h │ ├── string_table.c │ └── string_table.h ├── richards.c ├── rv32fc-test-suite │ ├── cflw-01.S │ ├── cflwsp-01.S │ ├── cfsw-01.S │ └── cfswsp-01.S ├── rvsim.c ├── smolnes.c ├── sound │ ├── Makefile │ ├── d_e1m1.mus │ ├── dspistol │ └── sound.c ├── spirograph.c ├── system │ ├── alignment │ │ ├── Makefile │ │ ├── linker.ld │ │ ├── main.c │ │ └── misalign.S │ └── mmu │ │ ├── Makefile │ │ ├── linker.ld │ │ ├── main.c │ │ ├── setup.S │ │ └── vm_setup.c ├── ticks.c └── uaes.c └── tools ├── bin2c.c ├── build-linux-image.sh ├── gen-elf-list-js.py ├── gen-jit-template.py ├── rv_histogram.c └── rv_profiler /.ci/boot-linux-prepare.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/boot-linux-prepare.sh -------------------------------------------------------------------------------- /.ci/boot-linux.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/boot-linux.sh -------------------------------------------------------------------------------- /.ci/check-format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/check-format.sh -------------------------------------------------------------------------------- /.ci/check-newline.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/check-newline.sh -------------------------------------------------------------------------------- /.ci/common.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/common.sh -------------------------------------------------------------------------------- /.ci/fetch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/fetch.sh -------------------------------------------------------------------------------- /.ci/gdbstub-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/gdbstub-test.sh -------------------------------------------------------------------------------- /.ci/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/requirements.txt -------------------------------------------------------------------------------- /.ci/riscv-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/riscv-tests.sh -------------------------------------------------------------------------------- /.ci/riscv-toolchain-install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.ci/riscv-toolchain-install.sh -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.clang-format -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/benchmark.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.github/workflows/benchmark.yml -------------------------------------------------------------------------------- /.github/workflows/build-artifact.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.github/workflows/build-artifact.yml -------------------------------------------------------------------------------- /.github/workflows/build-linux-artifacts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.github/workflows/build-linux-artifacts.yml -------------------------------------------------------------------------------- /.github/workflows/deploy-wasm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.github/workflows/deploy-wasm.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/.gitmodules -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/README.md -------------------------------------------------------------------------------- /assets/system/configs/buildroot.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/assets/system/configs/buildroot.config -------------------------------------------------------------------------------- /assets/system/configs/busybox.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/assets/system/configs/busybox.config -------------------------------------------------------------------------------- /assets/system/configs/linux.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/assets/system/configs/linux.config -------------------------------------------------------------------------------- /assets/wasm/html/system.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/assets/wasm/html/system.html -------------------------------------------------------------------------------- /assets/wasm/html/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/assets/wasm/html/user.html -------------------------------------------------------------------------------- /assets/wasm/js/coi-serviceworker.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/assets/wasm/js/coi-serviceworker.min.js -------------------------------------------------------------------------------- /assets/wasm/js/system-pre.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/assets/wasm/js/system-pre.js -------------------------------------------------------------------------------- /assets/wasm/js/user-pre.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/assets/wasm/js/user-pre.js -------------------------------------------------------------------------------- /docker/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | -------------------------------------------------------------------------------- /docker/Dockerfile-gcc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docker/Dockerfile-gcc -------------------------------------------------------------------------------- /docker/Dockerfile-sail: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docker/Dockerfile-sail -------------------------------------------------------------------------------- /docker/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docker/build.sh -------------------------------------------------------------------------------- /docs/base-image.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docs/base-image.md -------------------------------------------------------------------------------- /docs/demo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docs/demo.md -------------------------------------------------------------------------------- /docs/histogram-insn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docs/histogram-insn.png -------------------------------------------------------------------------------- /docs/histogram-reg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docs/histogram-reg.png -------------------------------------------------------------------------------- /docs/instruction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docs/instruction.md -------------------------------------------------------------------------------- /docs/interp-bench-arm64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docs/interp-bench-arm64.png -------------------------------------------------------------------------------- /docs/interp-bench-x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docs/interp-bench-x64.png -------------------------------------------------------------------------------- /docs/prebuilt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docs/prebuilt.md -------------------------------------------------------------------------------- /docs/syscall.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/docs/syscall.md -------------------------------------------------------------------------------- /mk/artifact.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/artifact.mk -------------------------------------------------------------------------------- /mk/common.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/common.mk -------------------------------------------------------------------------------- /mk/external.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/external.mk -------------------------------------------------------------------------------- /mk/riscv-arch-test.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/riscv-arch-test.mk -------------------------------------------------------------------------------- /mk/softfloat.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/softfloat.mk -------------------------------------------------------------------------------- /mk/system.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/system.mk -------------------------------------------------------------------------------- /mk/tests.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/tests.mk -------------------------------------------------------------------------------- /mk/toolchain.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/toolchain.mk -------------------------------------------------------------------------------- /mk/tools.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/tools.mk -------------------------------------------------------------------------------- /mk/wasm.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/mk/wasm.mk -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/breakpoint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/breakpoint.c -------------------------------------------------------------------------------- /src/breakpoint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/breakpoint.h -------------------------------------------------------------------------------- /src/cache.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/cache.c -------------------------------------------------------------------------------- /src/cache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/cache.h -------------------------------------------------------------------------------- /src/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/common.h -------------------------------------------------------------------------------- /src/decode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/decode.c -------------------------------------------------------------------------------- /src/decode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/decode.h -------------------------------------------------------------------------------- /src/devices/minimal.dts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/devices/minimal.dts -------------------------------------------------------------------------------- /src/devices/plic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/devices/plic.c -------------------------------------------------------------------------------- /src/devices/plic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/devices/plic.h -------------------------------------------------------------------------------- /src/devices/uart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/devices/uart.c -------------------------------------------------------------------------------- /src/devices/uart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/devices/uart.h -------------------------------------------------------------------------------- /src/devices/virtio-blk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/devices/virtio-blk.c -------------------------------------------------------------------------------- /src/devices/virtio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/devices/virtio.h -------------------------------------------------------------------------------- /src/elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/elf.c -------------------------------------------------------------------------------- /src/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/elf.h -------------------------------------------------------------------------------- /src/em_runtime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/em_runtime.c -------------------------------------------------------------------------------- /src/em_runtime.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/em_runtime.h -------------------------------------------------------------------------------- /src/emulate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/emulate.c -------------------------------------------------------------------------------- /src/feature.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/feature.h -------------------------------------------------------------------------------- /src/gdbstub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/gdbstub.c -------------------------------------------------------------------------------- /src/io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/io.c -------------------------------------------------------------------------------- /src/io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/io.h -------------------------------------------------------------------------------- /src/jit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/jit.c -------------------------------------------------------------------------------- /src/jit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/jit.h -------------------------------------------------------------------------------- /src/log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/log.c -------------------------------------------------------------------------------- /src/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/log.h -------------------------------------------------------------------------------- /src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/main.c -------------------------------------------------------------------------------- /src/map.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/map.c -------------------------------------------------------------------------------- /src/map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/map.h -------------------------------------------------------------------------------- /src/mpool.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/mpool.c -------------------------------------------------------------------------------- /src/mpool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/mpool.h -------------------------------------------------------------------------------- /src/riscv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/riscv.c -------------------------------------------------------------------------------- /src/riscv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/riscv.h -------------------------------------------------------------------------------- /src/riscv_private.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/riscv_private.h -------------------------------------------------------------------------------- /src/rv32_constopt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/rv32_constopt.c -------------------------------------------------------------------------------- /src/rv32_jit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/rv32_jit.c -------------------------------------------------------------------------------- /src/rv32_template.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/rv32_template.c -------------------------------------------------------------------------------- /src/softfp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/softfp.h -------------------------------------------------------------------------------- /src/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/syscall.c -------------------------------------------------------------------------------- /src/syscall_sdl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/syscall_sdl.c -------------------------------------------------------------------------------- /src/system.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/system.c -------------------------------------------------------------------------------- /src/system.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/system.h -------------------------------------------------------------------------------- /src/t2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/t2c.c -------------------------------------------------------------------------------- /src/t2c_template.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/t2c_template.c -------------------------------------------------------------------------------- /src/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/utils.c -------------------------------------------------------------------------------- /src/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/src/utils.h -------------------------------------------------------------------------------- /tests/arch-test-target/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/constants.py -------------------------------------------------------------------------------- /tests/arch-test-target/rv32emu/env/link.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/rv32emu/env/link.ld -------------------------------------------------------------------------------- /tests/arch-test-target/rv32emu/env/model_test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/rv32emu/env/model_test.h -------------------------------------------------------------------------------- /tests/arch-test-target/rv32emu/riscof_rv32emu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/rv32emu/riscof_rv32emu.py -------------------------------------------------------------------------------- /tests/arch-test-target/rv32emu/rv32emu_isa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/rv32emu/rv32emu_isa.yaml -------------------------------------------------------------------------------- /tests/arch-test-target/rv32emu/rv32emu_platform.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/rv32emu/rv32emu_platform.yaml -------------------------------------------------------------------------------- /tests/arch-test-target/sail_cSim/env/link.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/sail_cSim/env/link.ld -------------------------------------------------------------------------------- /tests/arch-test-target/sail_cSim/env/model_test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/sail_cSim/env/model_test.h -------------------------------------------------------------------------------- /tests/arch-test-target/sail_cSim/riscof_sail_cSim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/sail_cSim/riscof_sail_cSim.py -------------------------------------------------------------------------------- /tests/arch-test-target/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/arch-test-target/setup.py -------------------------------------------------------------------------------- /tests/asm-hello/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/asm-hello/Makefile -------------------------------------------------------------------------------- /tests/asm-hello/hello.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/asm-hello/hello.S -------------------------------------------------------------------------------- /tests/asm-hello/hello.ld: -------------------------------------------------------------------------------- 1 | OUTPUT_ARCH("riscv") 2 | ENTRY(_start) 3 | 4 | SECTIONS 5 | { 6 | . = 0x0; 7 | } 8 | -------------------------------------------------------------------------------- /tests/bench-aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/bench-aggregator.py -------------------------------------------------------------------------------- /tests/cache/cache-get.expect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cache/cache-get.expect -------------------------------------------------------------------------------- /tests/cache/cache-get.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cache/cache-get.in -------------------------------------------------------------------------------- /tests/cache/cache-new.expect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cache/cache-new.expect -------------------------------------------------------------------------------- /tests/cache/cache-new.in: -------------------------------------------------------------------------------- 1 | NEW 2 | FREE 3 | -------------------------------------------------------------------------------- /tests/cache/cache-put.expect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cache/cache-put.expect -------------------------------------------------------------------------------- /tests/cache/cache-put.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cache/cache-put.in -------------------------------------------------------------------------------- /tests/cache/cache-replace.expect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cache/cache-replace.expect -------------------------------------------------------------------------------- /tests/cache/cache-replace.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cache/cache-replace.in -------------------------------------------------------------------------------- /tests/cache/test-cache.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cache/test-cache.c -------------------------------------------------------------------------------- /tests/captcha.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/captcha.c -------------------------------------------------------------------------------- /tests/cc-selfhost.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cc-selfhost.sh -------------------------------------------------------------------------------- /tests/cc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cc/README.md -------------------------------------------------------------------------------- /tests/cc/cc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cc/cc.c -------------------------------------------------------------------------------- /tests/cc/emit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cc/emit.c -------------------------------------------------------------------------------- /tests/cc/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cc/hello.c -------------------------------------------------------------------------------- /tests/cc/stdlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/cc/stdlib.c -------------------------------------------------------------------------------- /tests/chacha20/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/chacha20/Makefile -------------------------------------------------------------------------------- /tests/chacha20/chacha20.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/chacha20/chacha20.c -------------------------------------------------------------------------------- /tests/chacha20/chacha20_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/chacha20/chacha20_asm.S -------------------------------------------------------------------------------- /tests/common.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/common.sh -------------------------------------------------------------------------------- /tests/coremark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/coremark.py -------------------------------------------------------------------------------- /tests/coro/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/coro/Makefile -------------------------------------------------------------------------------- /tests/coro/context.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/coro/context.c -------------------------------------------------------------------------------- /tests/coro/context.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/coro/context.h -------------------------------------------------------------------------------- /tests/coro/coro.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/coro/coro.c -------------------------------------------------------------------------------- /tests/coro/switch_context.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/coro/switch_context.S -------------------------------------------------------------------------------- /tests/dhrystone.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/dhrystone.c -------------------------------------------------------------------------------- /tests/dhrystone.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/dhrystone.sh -------------------------------------------------------------------------------- /tests/donut.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/donut.c -------------------------------------------------------------------------------- /tests/falling-nes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/falling-nes.h -------------------------------------------------------------------------------- /tests/fcalc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/fcalc.c -------------------------------------------------------------------------------- /tests/fenster.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/fenster.h -------------------------------------------------------------------------------- /tests/fibonacci.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/fibonacci.s -------------------------------------------------------------------------------- /tests/hamilton.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/hamilton.c -------------------------------------------------------------------------------- /tests/ieee754.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/ieee754.c -------------------------------------------------------------------------------- /tests/jit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/jit.c -------------------------------------------------------------------------------- /tests/lena.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/lena.c -------------------------------------------------------------------------------- /tests/line.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/line.c -------------------------------------------------------------------------------- /tests/maj2random.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/maj2random.c -------------------------------------------------------------------------------- /tests/mandelbrot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/mandelbrot.c -------------------------------------------------------------------------------- /tests/map/mt19937.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/map/mt19937.c -------------------------------------------------------------------------------- /tests/map/mt19937.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/map/mt19937.h -------------------------------------------------------------------------------- /tests/map/test-map.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/map/test-map.c -------------------------------------------------------------------------------- /tests/nqueens.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/nqueens.c -------------------------------------------------------------------------------- /tests/nyancat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/nyancat.c -------------------------------------------------------------------------------- /tests/path/test-path.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/path/test-path.c -------------------------------------------------------------------------------- /tests/perfcounter/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/perfcounter/Makefile -------------------------------------------------------------------------------- /tests/perfcounter/getcycles.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/perfcounter/getcycles.S -------------------------------------------------------------------------------- /tests/perfcounter/getinstret.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/perfcounter/getinstret.S -------------------------------------------------------------------------------- /tests/perfcounter/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/perfcounter/main.c -------------------------------------------------------------------------------- /tests/perfcounter/sparkle.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/perfcounter/sparkle.S -------------------------------------------------------------------------------- /tests/pi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/pi.c -------------------------------------------------------------------------------- /tests/puzzle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/puzzle.c -------------------------------------------------------------------------------- /tests/qrcode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/qrcode.c -------------------------------------------------------------------------------- /tests/readelf/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/LICENSE -------------------------------------------------------------------------------- /tests/readelf/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/Makefile -------------------------------------------------------------------------------- /tests/readelf/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/README.md -------------------------------------------------------------------------------- /tests/readelf/elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/elf.c -------------------------------------------------------------------------------- /tests/readelf/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/elf.h -------------------------------------------------------------------------------- /tests/readelf/elf_header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/elf_header.h -------------------------------------------------------------------------------- /tests/readelf/elf_ident.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/elf_ident.h -------------------------------------------------------------------------------- /tests/readelf/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/file.c -------------------------------------------------------------------------------- /tests/readelf/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/file.h -------------------------------------------------------------------------------- /tests/readelf/file_header.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/file_header.c -------------------------------------------------------------------------------- /tests/readelf/readelf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/readelf.c -------------------------------------------------------------------------------- /tests/readelf/readelf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/readelf.h -------------------------------------------------------------------------------- /tests/readelf/section.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/section.c -------------------------------------------------------------------------------- /tests/readelf/section.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/section.h -------------------------------------------------------------------------------- /tests/readelf/string_table.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/string_table.c -------------------------------------------------------------------------------- /tests/readelf/string_table.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/readelf/string_table.h -------------------------------------------------------------------------------- /tests/richards.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/richards.c -------------------------------------------------------------------------------- /tests/rv32fc-test-suite/cflw-01.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/rv32fc-test-suite/cflw-01.S -------------------------------------------------------------------------------- /tests/rv32fc-test-suite/cflwsp-01.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/rv32fc-test-suite/cflwsp-01.S -------------------------------------------------------------------------------- /tests/rv32fc-test-suite/cfsw-01.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/rv32fc-test-suite/cfsw-01.S -------------------------------------------------------------------------------- /tests/rv32fc-test-suite/cfswsp-01.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/rv32fc-test-suite/cfswsp-01.S -------------------------------------------------------------------------------- /tests/rvsim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/rvsim.c -------------------------------------------------------------------------------- /tests/smolnes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/smolnes.c -------------------------------------------------------------------------------- /tests/sound/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/sound/Makefile -------------------------------------------------------------------------------- /tests/sound/d_e1m1.mus: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/sound/d_e1m1.mus -------------------------------------------------------------------------------- /tests/sound/dspistol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/sound/dspistol -------------------------------------------------------------------------------- /tests/sound/sound.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/sound/sound.c -------------------------------------------------------------------------------- /tests/spirograph.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/spirograph.c -------------------------------------------------------------------------------- /tests/system/alignment/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/system/alignment/Makefile -------------------------------------------------------------------------------- /tests/system/alignment/linker.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/system/alignment/linker.ld -------------------------------------------------------------------------------- /tests/system/alignment/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/system/alignment/main.c -------------------------------------------------------------------------------- /tests/system/alignment/misalign.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/system/alignment/misalign.S -------------------------------------------------------------------------------- /tests/system/mmu/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/system/mmu/Makefile -------------------------------------------------------------------------------- /tests/system/mmu/linker.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/system/mmu/linker.ld -------------------------------------------------------------------------------- /tests/system/mmu/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/system/mmu/main.c -------------------------------------------------------------------------------- /tests/system/mmu/setup.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/system/mmu/setup.S -------------------------------------------------------------------------------- /tests/system/mmu/vm_setup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/system/mmu/vm_setup.c -------------------------------------------------------------------------------- /tests/ticks.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/ticks.c -------------------------------------------------------------------------------- /tests/uaes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tests/uaes.c -------------------------------------------------------------------------------- /tools/bin2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tools/bin2c.c -------------------------------------------------------------------------------- /tools/build-linux-image.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tools/build-linux-image.sh -------------------------------------------------------------------------------- /tools/gen-elf-list-js.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tools/gen-elf-list-js.py -------------------------------------------------------------------------------- /tools/gen-jit-template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tools/gen-jit-template.py -------------------------------------------------------------------------------- /tools/rv_histogram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tools/rv_histogram.c -------------------------------------------------------------------------------- /tools/rv_profiler: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sysprog21/rv32emu/HEAD/tools/rv_profiler --------------------------------------------------------------------------------