Created
March 5, 2017 22:09
-
-
Save michaeljclark/f86abdb57a0f8f465882bef27d51a90e to your computer and use it in GitHub Desktop.
RISC-V Linux Dynamic Register Usage
This file contains hidden or 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
$ git clone https://github.com/michaeljclark/riscv-meta.git | |
$ cd riscv-meta/ | |
$ git submodule update --init --recursive | |
$ make -j4 && sudo make install | |
$ rv-sys -H build/riscv64-unknown-elf/bin/bbl | |
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | |
vvvvvvvvvvvvvvvvvvvvvvvvvvvv | |
rrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvvvv | |
rrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv | |
rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv | |
rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv | |
rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv | |
rrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvv | |
rrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvv | |
rr vvvvvvvvvvvvvvvvvvvvvv | |
rr vvvvvvvvvvvvvvvvvvvvvvvv rr | |
rrrr vvvvvvvvvvvvvvvvvvvvvvvvvv rrrr | |
rrrrrr vvvvvvvvvvvvvvvvvvvvvv rrrrrr | |
rrrrrrrr vvvvvvvvvvvvvvvvvv rrrrrrrr | |
rrrrrrrrrr vvvvvvvvvvvvvv rrrrrrrrrr | |
rrrrrrrrrrrr vvvvvvvvvv rrrrrrrrrrrr | |
rrrrrrrrrrrrrr vvvvvv rrrrrrrrrrrrrr | |
rrrrrrrrrrrrrrrr vv rrrrrrrrrrrrrrrr | |
rrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrr | |
rrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrr | |
rrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrr | |
INSTRUCTION SETS WANT TO BE FREE | |
[ 0.000000] Linux version 4.6.2-00043-g23bf08e (mclark@minty) (gcc version 7.0.1 20170202 (experimental) (GCC) ) #1 Mon Mar 6 10:54:58 NZDT 2017 | |
[ 0.000000] bootconsole [early0] enabled | |
[ 0.000000] Available physical memory: 1020MB | |
[ 0.000000] Initial ramdisk at: 0xffffffff800105b0 (683046 bytes) | |
[ 0.000000] Zone ranges: | |
[ 0.000000] Normal [mem 0x0000000080400000-0x00000000bfffffff] | |
[ 0.000000] Movable zone start for each node | |
[ 0.000000] Early memory node ranges | |
[ 0.000000] node 0: [mem 0x0000000080400000-0x00000000bfffffff] | |
[ 0.000000] Initmem setup node 0 [mem 0x0000000080400000-0x00000000bfffffff] | |
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257550 | |
[ 0.000000] Kernel command line: earlyprintk=sbi-console rdinit=/sbin/init | |
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) | |
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) | |
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) | |
[ 0.000000] Sorting __ex_table... | |
[ 0.000000] Memory: 1025276K/1044480K available (1700K kernel code, 121K rwdata, 488K rodata, 736K init, 230K bss, 19204K reserved, 0K cma-reserved) | |
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 | |
[ 0.000000] NR_IRQS:0 nr_irqs:0 0 | |
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126044627 ns | |
[ 0.000000] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=100000) | |
[ 0.000000] pid_max: default: 32768 minimum: 301 | |
[ 0.000000] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) | |
[ 0.000000] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) | |
[ 0.010000] devtmpfs: initialized | |
[ 0.010000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns | |
[ 0.010000] NET: Registered protocol family 16 | |
[ 0.010000] clocksource: Switched to clocksource riscv_clocksource | |
[ 0.010000] NET: Registered protocol family 2 | |
[ 0.010000] TCP established hash table entries: 8192 (order: 4, 65536 bytes) | |
[ 0.010000] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) | |
[ 0.010000] TCP: Hash tables configured (established 8192 bind 8192) | |
[ 0.010000] UDP hash table entries: 512 (order: 2, 16384 bytes) | |
[ 0.010000] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) | |
[ 0.010000] NET: Registered protocol family 1 | |
[ 0.010000] Unpacking initramfs... | |
[ 0.010000] console [sbi_console0] enabled | |
[ 0.010000] console [sbi_console0] enabled | |
[ 0.010000] bootconsole [early0] disabled | |
[ 0.010000] bootconsole [early0] disabled | |
[ 0.010000] futex hash table entries: 256 (order: 0, 6144 bytes) | |
[ 0.010000] workingset: timestamp_bits=61 max_order=18 bucket_order=0 | |
[ 0.010000] 9p: Installing v9fs 9p2000 file system support | |
[ 0.010000] io scheduler noop registered | |
[ 0.010000] io scheduler cfq registered (default) | |
[ 0.010000] 9pnet: Installing 9P2000 support | |
[ 0.010000] Freeing unused kernel memory: 736K (ffffffff80000000 - ffffffff800b8000) | |
[ 0.010000] This architecture does not have kernel memory protection. | |
BusyBox v1.26.1 (2017-03-06 10:50:45 NZDT) built-in shell (ash) | |
Enter 'help' for a list of built-in commands. | |
/ # SIGNAL :SIGINT pc:0xffffffff800d21ea si_addr:0x0 | |
(rv-sys) hist | |
1. a5 23.28% [47852045 ] ############################################################################### | |
2. a1 9.98% [20519835 ] ################################# | |
3. a3 9.40% [19310731 ] ############################### | |
4. zero 8.94% [18374975 ] ############################## | |
5. a4 7.63% [15683994 ] ######################### | |
6. a2 5.73% [11783294 ] ################### | |
7. a6 3.59% [7368019 ] ############ | |
8. a0 3.34% [6865410 ] ########### | |
9. sp 3.21% [6606843 ] ########## | |
10. t1 3.05% [6271751 ] ########## | |
11. t0 3.03% [6231721 ] ########## | |
12. a7 2.83% [5820854 ] ######### | |
13. s0 2.80% [5751136 ] ######### | |
14. ra 1.85% [3803635 ] ###### | |
15. s1 1.77% [3646883 ] ###### | |
16. s10 1.46% [3010745 ] #### | |
17. s3 1.21% [2492144 ] #### | |
18. s11 1.04% [2139366 ] ### | |
19. s2 0.85% [1746796 ] ## | |
20. t4 0.71% [1451796 ] ## | |
21. t5 0.68% [1393109 ] ## | |
22. t2 0.63% [1300184 ] ## | |
23. t6 0.49% [1005122 ] # | |
24. s7 0.47% [968560 ] # | |
25. s5 0.43% [881191 ] # | |
26. s8 0.38% [776603 ] # | |
27. s6 0.37% [764330 ] # | |
28. s4 0.28% [572417 ] | |
29. s9 0.27% [551768 ] | |
30. t3 0.25% [520365 ] | |
31. tp 0.02% [40219 ] | |
32. gp 0.01% [11215 ] | |
33. fs5 0.00% [26 ] | |
34. fs6 0.00% [26 ] | |
35. fs7 0.00% [26 ] | |
36. fs1 0.00% [26 ] | |
37. fs0 0.00% [26 ] | |
38. fs8 0.00% [26 ] | |
39. fs9 0.00% [26 ] | |
40. fs10 0.00% [26 ] | |
41. fs11 0.00% [26 ] | |
42. fs4 0.00% [26 ] | |
43. fs3 0.00% [26 ] | |
44. fs2 0.00% [26 ] | |
45. fa7 0.00% [13 ] | |
46. ft8 0.00% [13 ] | |
47. ft9 0.00% [13 ] | |
48. ft10 0.00% [13 ] | |
49. ft11 0.00% [13 ] | |
50. fa6 0.00% [13 ] | |
51. fa5 0.00% [13 ] | |
52. fa4 0.00% [13 ] | |
53. fa3 0.00% [13 ] | |
54. fa2 0.00% [13 ] | |
55. fa1 0.00% [13 ] | |
56. fa0 0.00% [13 ] | |
57. ft7 0.00% [13 ] | |
58. ft6 0.00% [13 ] | |
59. ft5 0.00% [13 ] | |
60. ft4 0.00% [13 ] | |
61. ft3 0.00% [13 ] | |
62. ft2 0.00% [13 ] | |
63. ft1 0.00% [13 ] | |
64. ft0 0.00% [13 ] | |
(rv-sys) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment