276 lines
11 KiB
Plaintext
276 lines
11 KiB
Plaintext
|
|
||
|
D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-RF_size-01.elf: file format elf32-littleriscv
|
||
|
|
||
|
|
||
|
Disassembly of section .text.init:
|
||
|
|
||
|
00000000 <_start>:
|
||
|
0: 04c0006f j 4c <reset_vector>
|
||
|
|
||
|
00000004 <trap_vector>:
|
||
|
4: 34202f73 csrr t5,mcause
|
||
|
8: 00800f93 li t6,8
|
||
|
c: 03ff0a63 beq t5,t6,40 <write_tohost>
|
||
|
10: 00900f93 li t6,9
|
||
|
14: 03ff0663 beq t5,t6,40 <write_tohost>
|
||
|
18: 00b00f93 li t6,11
|
||
|
1c: 03ff0263 beq t5,t6,40 <write_tohost>
|
||
|
20: 00000f17 auipc t5,0x0
|
||
|
24: fe0f0f13 addi t5,t5,-32 # 0 <_start>
|
||
|
28: 000f0463 beqz t5,30 <trap_vector+0x2c>
|
||
|
2c: 000f0067 jr t5
|
||
|
30: 34202f73 csrr t5,mcause
|
||
|
34: 000f5463 bgez t5,3c <handle_exception>
|
||
|
38: 0040006f j 3c <handle_exception>
|
||
|
|
||
|
0000003c <handle_exception>:
|
||
|
3c: 5391e193 ori gp,gp,1337
|
||
|
|
||
|
00000040 <write_tohost>:
|
||
|
40: 00001f17 auipc t5,0x1
|
||
|
44: fc3f2023 sw gp,-64(t5) # 1000 <tohost>
|
||
|
48: ff9ff06f j 40 <write_tohost>
|
||
|
|
||
|
0000004c <reset_vector>:
|
||
|
4c: 00000193 li gp,0
|
||
|
50: 00000297 auipc t0,0x0
|
||
|
54: fb428293 addi t0,t0,-76 # 4 <trap_vector>
|
||
|
58: 30529073 csrw mtvec,t0
|
||
|
5c: 30005073 csrwi mstatus,0
|
||
|
60: 00000297 auipc t0,0x0
|
||
|
64: 02028293 addi t0,t0,32 # 80 <begin_testcode>
|
||
|
68: 34129073 csrw mepc,t0
|
||
|
6c: 00000293 li t0,0
|
||
|
70: 10000337 lui t1,0x10000
|
||
|
74: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
|
||
|
78: 00532023 sw t0,0(t1)
|
||
|
7c: 30200073 mret
|
||
|
|
||
|
00000080 <begin_testcode>:
|
||
|
80: 00002817 auipc a6,0x2
|
||
|
84: f8080813 addi a6,a6,-128 # 2000 <begin_signature>
|
||
|
88: 42727037 lui zero,0x42727
|
||
|
8c: e6f00013 li zero,-401
|
||
|
90: 563330b7 lui ra,0x56333
|
||
|
94: 24908093 addi ra,ra,585 # 56333249 <_end+0x56331045>
|
||
|
98: 2d562137 lui sp,0x2d562
|
||
|
9c: 05210113 addi sp,sp,82 # 2d562052 <_end+0x2d55fe4e>
|
||
|
a0: 526971b7 lui gp,0x52697
|
||
|
a4: 36318193 addi gp,gp,867 # 52697363 <_end+0x5269515f>
|
||
|
a8: 736b8237 lui tp,0x736b8
|
||
|
ac: 92020213 addi tp,tp,-1760 # 736b7920 <_end+0x736b571c>
|
||
|
b0: 737462b7 lui t0,0x73746
|
||
|
b4: 57228293 addi t0,t0,1394 # 73746572 <_end+0x7374436e>
|
||
|
b8: 6e205337 lui t1,0x6e205
|
||
|
bc: e6f30313 addi t1,t1,-401 # 6e204e6f <_end+0x6e202c6b>
|
||
|
c0: 4d6973b7 lui t2,0x4d697
|
||
|
c4: c6138393 addi t2,t2,-927 # 4d696c61 <_end+0x4d694a5d>
|
||
|
c8: 6f646437 lui s0,0x6f646
|
||
|
cc: 17340413 addi s0,s0,371 # 6f646173 <_end+0x6f643f6f>
|
||
|
d0: 6b7944b7 lui s1,0x6b794
|
||
|
d4: 06348493 addi s1,s1,99 # 6b794063 <_end+0x6b791e5f>
|
||
|
d8: 74657537 lui a0,0x74657
|
||
|
dc: 27350513 addi a0,a0,627 # 74657273 <_end+0x7465506f>
|
||
|
e0: 286e75b7 lui a1,0x286e7
|
||
|
e4: f7358593 addi a1,a1,-141 # 286e6f73 <_end+0x286e4d6f>
|
||
|
e8: 656b2637 lui a2,0x656b2
|
||
|
ec: 04860613 addi a2,a2,72 # 656b2048 <_end+0x656afe44>
|
||
|
f0: 205266b7 lui a3,0x20526
|
||
|
f4: 16468693 addi a3,a3,356 # 20526164 <_end+0x20523f60>
|
||
|
f8: 6f6d3737 lui a4,0x6f6d3
|
||
|
fc: 92c70713 addi a4,a4,-1748 # 6f6d292c <_end+0x6f6d0728>
|
||
|
100: 697037b7 lui a5,0x69703
|
||
|
104: e6378793 addi a5,a5,-413 # 69702e63 <_end+0x69700c5f>
|
||
|
108: 00082023 sw zero,0(a6)
|
||
|
10c: 00182223 sw ra,4(a6)
|
||
|
110: 00282423 sw sp,8(a6)
|
||
|
114: 00382623 sw gp,12(a6)
|
||
|
118: 00482823 sw tp,16(a6)
|
||
|
11c: 00582a23 sw t0,20(a6)
|
||
|
120: 00682c23 sw t1,24(a6)
|
||
|
124: 00782e23 sw t2,28(a6)
|
||
|
128: 02882023 sw s0,32(a6)
|
||
|
12c: 02982223 sw s1,36(a6)
|
||
|
130: 02a82423 sw a0,40(a6)
|
||
|
134: 02b82623 sw a1,44(a6)
|
||
|
138: 02c82823 sw a2,48(a6)
|
||
|
13c: 02d82a23 sw a3,52(a6)
|
||
|
140: 02e82c23 sw a4,56(a6)
|
||
|
144: 02f82e23 sw a5,60(a6)
|
||
|
148: 00002217 auipc tp,0x2
|
||
|
14c: ef820213 addi tp,tp,-264 # 2040 <test_A2_res>
|
||
|
150: 636f6837 lui a6,0x636f6
|
||
|
154: 46180813 addi a6,a6,1121 # 636f6461 <_end+0x636f425d>
|
||
|
158: 6a6578b7 lui a7,0x6a657
|
||
|
15c: b4088893 addi a7,a7,-1216 # 6a656b40 <_end+0x6a65493c>
|
||
|
160: 20287937 lui s2,0x20287
|
||
|
164: 86190913 addi s2,s2,-1951 # 20286861 <_end+0x2028465d>
|
||
|
168: 616a69b7 lui s3,0x616a6
|
||
|
16c: 56b98993 addi s3,s3,1387 # 616a656b <_end+0x616a4367>
|
||
|
170: 61766a37 lui s4,0x61766
|
||
|
174: 520a0a13 addi s4,s4,1312 # 61766520 <_end+0x6176431c>
|
||
|
178: 2e205ab7 lui s5,0x2e205
|
||
|
17c: c65a8a93 addi s5,s5,-923 # 2e204c65 <_end+0x2e202a61>
|
||
|
180: 636f7b37 lui s6,0x636f7
|
||
|
184: d29b0b13 addi s6,s6,-727 # 636f6d29 <_end+0x636f4b25>
|
||
|
188: 73697bb7 lui s7,0x73697
|
||
|
18c: 02eb8b93 addi s7,s7,46 # 7369702e <_end+0x73694e2a>
|
||
|
190: 66208c37 lui s8,0x66208
|
||
|
194: 96fc0c13 addi s8,s8,-1681 # 6620796f <_end+0x6620576b>
|
||
|
198: 67652cb7 lui s9,0x67652
|
||
|
19c: 069c8c93 addi s9,s9,105 # 67652069 <_end+0x6764fe65>
|
||
|
1a0: 65737d37 lui s10,0x65737
|
||
|
1a4: 361d0d13 addi s10,s10,865 # 65737361 <_end+0x6573515d>
|
||
|
1a8: 75732db7 lui s11,0x75732
|
||
|
1ac: 06dd8d93 addi s11,s11,109 # 7573206d <_end+0x7572fe69>
|
||
|
1b0: 3a291e37 lui t3,0x3a291
|
||
|
1b4: d0ae0e13 addi t3,t3,-758 # 3a290d0a <_end+0x3a28eb06>
|
||
|
1b8: 68697eb7 lui t4,0x68697
|
||
|
1bc: 320e8e93 addi t4,t4,800 # 68697320 <_end+0x6869511c>
|
||
|
1c0: 61642f37 lui t5,0x61642
|
||
|
1c4: 074f0f13 addi t5,t5,116 # 61642074 <_end+0x6163fe70>
|
||
|
1c8: 75207fb7 lui t6,0x75207
|
||
|
1cc: 265f8f93 addi t6,t6,613 # 75207265 <_end+0x75205061>
|
||
|
1d0: 01022023 sw a6,0(tp) # 0 <_start>
|
||
|
1d4: 01122223 sw a7,4(tp) # 4 <trap_vector>
|
||
|
1d8: 01222423 sw s2,8(tp) # 8 <trap_vector+0x4>
|
||
|
1dc: 01322623 sw s3,12(tp) # c <trap_vector+0x8>
|
||
|
1e0: 01422823 sw s4,16(tp) # 10 <trap_vector+0xc>
|
||
|
1e4: 01522a23 sw s5,20(tp) # 14 <trap_vector+0x10>
|
||
|
1e8: 01622c23 sw s6,24(tp) # 18 <trap_vector+0x14>
|
||
|
1ec: 01722e23 sw s7,28(tp) # 1c <trap_vector+0x18>
|
||
|
1f0: 03822023 sw s8,32(tp) # 20 <trap_vector+0x1c>
|
||
|
1f4: 03922223 sw s9,36(tp) # 24 <trap_vector+0x20>
|
||
|
1f8: 03a22423 sw s10,40(tp) # 28 <trap_vector+0x24>
|
||
|
1fc: 03b22623 sw s11,44(tp) # 2c <trap_vector+0x28>
|
||
|
200: 03c22823 sw t3,48(tp) # 30 <trap_vector+0x2c>
|
||
|
204: 03d22a23 sw t4,52(tp) # 34 <trap_vector+0x30>
|
||
|
208: 03e22c23 sw t5,56(tp) # 38 <trap_vector+0x34>
|
||
|
20c: 03f22e23 sw t6,60(tp) # 3c <handle_exception>
|
||
|
210: 00002217 auipc tp,0x2
|
||
|
214: e7020213 addi tp,tp,-400 # 2080 <test_A3_res>
|
||
|
218: 00022023 sw zero,0(tp) # 0 <_start>
|
||
|
21c: 00122223 sw ra,4(tp) # 4 <trap_vector>
|
||
|
220: 00222423 sw sp,8(tp) # 8 <trap_vector+0x4>
|
||
|
224: 00322623 sw gp,12(tp) # c <trap_vector+0x8>
|
||
|
228: 00002297 auipc t0,0x2
|
||
|
22c: dd828293 addi t0,t0,-552 # 2000 <begin_signature>
|
||
|
230: 10000337 lui t1,0x10000
|
||
|
234: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
|
||
|
238: 00532023 sw t0,0(t1)
|
||
|
23c: 00002297 auipc t0,0x2
|
||
|
240: e5428293 addi t0,t0,-428 # 2090 <end_signature>
|
||
|
244: 10000337 lui t1,0x10000
|
||
|
248: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
|
||
|
24c: 00532023 sw t0,0(t1)
|
||
|
250: 00100293 li t0,1
|
||
|
254: 10000337 lui t1,0x10000
|
||
|
258: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
|
||
|
25c: 00532023 sw t0,0(t1)
|
||
|
260: 00000013 nop
|
||
|
264: 00100193 li gp,1
|
||
|
268: 00000073 ecall
|
||
|
|
||
|
0000026c <end_testcode>:
|
||
|
26c: c0001073 unimp
|
||
|
...
|
||
|
|
||
|
Disassembly of section .tohost:
|
||
|
|
||
|
00001000 <tohost>:
|
||
|
...
|
||
|
|
||
|
00001100 <fromhost>:
|
||
|
...
|
||
|
|
||
|
Disassembly of section .data:
|
||
|
|
||
|
00002000 <begin_signature>:
|
||
|
2000: ffff 0xffff
|
||
|
2002: ffff 0xffff
|
||
|
2004: ffff 0xffff
|
||
|
2006: ffff 0xffff
|
||
|
2008: ffff 0xffff
|
||
|
200a: ffff 0xffff
|
||
|
200c: ffff 0xffff
|
||
|
200e: ffff 0xffff
|
||
|
2010: ffff 0xffff
|
||
|
2012: ffff 0xffff
|
||
|
2014: ffff 0xffff
|
||
|
2016: ffff 0xffff
|
||
|
2018: ffff 0xffff
|
||
|
201a: ffff 0xffff
|
||
|
201c: ffff 0xffff
|
||
|
201e: ffff 0xffff
|
||
|
2020: ffff 0xffff
|
||
|
2022: ffff 0xffff
|
||
|
2024: ffff 0xffff
|
||
|
2026: ffff 0xffff
|
||
|
2028: ffff 0xffff
|
||
|
202a: ffff 0xffff
|
||
|
202c: ffff 0xffff
|
||
|
202e: ffff 0xffff
|
||
|
2030: ffff 0xffff
|
||
|
2032: ffff 0xffff
|
||
|
2034: ffff 0xffff
|
||
|
2036: ffff 0xffff
|
||
|
2038: ffff 0xffff
|
||
|
203a: ffff 0xffff
|
||
|
203c: ffff 0xffff
|
||
|
203e: ffff 0xffff
|
||
|
|
||
|
00002040 <test_A2_res>:
|
||
|
2040: ffff 0xffff
|
||
|
2042: ffff 0xffff
|
||
|
2044: ffff 0xffff
|
||
|
2046: ffff 0xffff
|
||
|
2048: ffff 0xffff
|
||
|
204a: ffff 0xffff
|
||
|
204c: ffff 0xffff
|
||
|
204e: ffff 0xffff
|
||
|
2050: ffff 0xffff
|
||
|
2052: ffff 0xffff
|
||
|
2054: ffff 0xffff
|
||
|
2056: ffff 0xffff
|
||
|
2058: ffff 0xffff
|
||
|
205a: ffff 0xffff
|
||
|
205c: ffff 0xffff
|
||
|
205e: ffff 0xffff
|
||
|
2060: ffff 0xffff
|
||
|
2062: ffff 0xffff
|
||
|
2064: ffff 0xffff
|
||
|
2066: ffff 0xffff
|
||
|
2068: ffff 0xffff
|
||
|
206a: ffff 0xffff
|
||
|
206c: ffff 0xffff
|
||
|
206e: ffff 0xffff
|
||
|
2070: ffff 0xffff
|
||
|
2072: ffff 0xffff
|
||
|
2074: ffff 0xffff
|
||
|
2076: ffff 0xffff
|
||
|
2078: ffff 0xffff
|
||
|
207a: ffff 0xffff
|
||
|
207c: ffff 0xffff
|
||
|
207e: ffff 0xffff
|
||
|
|
||
|
00002080 <test_A3_res>:
|
||
|
2080: ffff 0xffff
|
||
|
2082: ffff 0xffff
|
||
|
2084: ffff 0xffff
|
||
|
2086: ffff 0xffff
|
||
|
2088: ffff 0xffff
|
||
|
208a: ffff 0xffff
|
||
|
208c: ffff 0xffff
|
||
|
208e: ffff 0xffff
|
||
|
|
||
|
00002090 <end_signature>:
|
||
|
...
|
||
|
|
||
|
00002100 <begin_regstate>:
|
||
|
2100: 0080 addi s0,sp,64
|
||
|
...
|
||
|
|
||
|
00002200 <end_regstate>:
|
||
|
2200: 0004 0x4
|
||
|
...
|