forked from sysprog21/rv32emu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a tier-1 JIT compiler based on aarch64 architecture
We follow the template and API of X64 to implement A64 tier-1 JIT compiler. * Perfromance | Metric | rv32emu-T1C | qemu | |----------+-------------+-------| |aes | 0.034| 0.045| |puzzle | 0.0115| 0.0169| |pi | 0.035| 0.032| |dhrystone | 1.914| 2.005| |Nqeueens | 3.87| 2.898| |qsort-O2 | 7.819| 11.614| |miniz-O2 | 7.604| 3.803| |primes-O2 | 10.551| 5.986| |sha512-O2 | 6.497| 2.853| |stream | 52.25| 45.776| As demonstrated in the memory usage analysis below, the tier-1 JIT compiler utilizes less memory than QEMU across all benchmarks. * Memory usage | Metric | rv32emu-T1C | qemu | |----------+-------------+---------| |aes | 183,212|1,265,962| |puzzle | 145,239| 891,357| |pi | 144,739| 872,525| |dhrystone | 146,282| 853,256| |Nqeueens | 146,696| 854,174| |qsort-O2 | 146,907| 856,721| |miniz-O2 | 157,475| 999,897| |primes-O2 | 142,356| 851,661| |sha512-O2 | 145,369| 901,136| |stream | 157,975| 955,809| Related: sysprog21#238 Close: sysprog21#296
- Loading branch information
Showing
12 changed files
with
2,188 additions
and
1,523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.