tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-RF_width-01.elf.objdump

321 lines
12 KiB
Plaintext

D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-RF_width-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: 00100013 li zero,1
8c: 00100093 li ra,1
90: 00100113 li sp,1
94: 00100193 li gp,1
98: 00100213 li tp,1
9c: 00100293 li t0,1
a0: 00100313 li t1,1
a4: 00100393 li t2,1
a8: 00100413 li s0,1
ac: 00100493 li s1,1
b0: 00100513 li a0,1
b4: 00100593 li a1,1
b8: 00100613 li a2,1
bc: 00100693 li a3,1
c0: 00100713 li a4,1
c4: 00100793 li a5,1
c8: 01f09093 slli ra,ra,0x1f
cc: 0000c463 bltz ra,d4 <begin_testcode+0x54>
d0: 00000093 li ra,0
d4: 01f11113 slli sp,sp,0x1f
d8: 00014463 bltz sp,e0 <begin_testcode+0x60>
dc: 00000113 li sp,0
e0: 01f19193 slli gp,gp,0x1f
e4: 0001c463 bltz gp,ec <begin_testcode+0x6c>
e8: 00000193 li gp,0
ec: 01f21213 slli tp,tp,0x1f
f0: 00024463 bltz tp,f8 <begin_testcode+0x78>
f4: 00000213 li tp,0
f8: 01f29293 slli t0,t0,0x1f
fc: 0002c463 bltz t0,104 <begin_testcode+0x84>
100: 00000293 li t0,0
104: 01f31313 slli t1,t1,0x1f
108: 00034463 bltz t1,110 <begin_testcode+0x90>
10c: 00000313 li t1,0
110: 01f39393 slli t2,t2,0x1f
114: 0003c463 bltz t2,11c <begin_testcode+0x9c>
118: 00000393 li t2,0
11c: 01f41413 slli s0,s0,0x1f
120: 00044463 bltz s0,128 <begin_testcode+0xa8>
124: 00000413 li s0,0
128: 01f49493 slli s1,s1,0x1f
12c: 0004c463 bltz s1,134 <begin_testcode+0xb4>
130: 00000493 li s1,0
134: 01f51513 slli a0,a0,0x1f
138: 00054463 bltz a0,140 <begin_testcode+0xc0>
13c: 00000513 li a0,0
140: 01f59593 slli a1,a1,0x1f
144: 0005c463 bltz a1,14c <begin_testcode+0xcc>
148: 00000593 li a1,0
14c: 01f61613 slli a2,a2,0x1f
150: 00064463 bltz a2,158 <begin_testcode+0xd8>
154: 00000613 li a2,0
158: 01f69693 slli a3,a3,0x1f
15c: 0006c463 bltz a3,164 <begin_testcode+0xe4>
160: 00000693 li a3,0
164: 01f71713 slli a4,a4,0x1f
168: 00074463 bltz a4,170 <begin_testcode+0xf0>
16c: 00000713 li a4,0
170: 01f79793 slli a5,a5,0x1f
174: 0007c463 bltz a5,17c <begin_testcode+0xfc>
178: 00000793 li a5,0
17c: 00082023 sw zero,0(a6)
180: 00182223 sw ra,4(a6)
184: 00282423 sw sp,8(a6)
188: 00382623 sw gp,12(a6)
18c: 00482823 sw tp,16(a6)
190: 00582a23 sw t0,20(a6)
194: 00682c23 sw t1,24(a6)
198: 00782e23 sw t2,28(a6)
19c: 02882023 sw s0,32(a6)
1a0: 02982223 sw s1,36(a6)
1a4: 02a82423 sw a0,40(a6)
1a8: 02b82623 sw a1,44(a6)
1ac: 02c82823 sw a2,48(a6)
1b0: 02d82a23 sw a3,52(a6)
1b4: 02e82c23 sw a4,56(a6)
1b8: 02f82e23 sw a5,60(a6)
1bc: 00002097 auipc ra,0x2
1c0: e8408093 addi ra,ra,-380 # 2040 <test_A2_res>
1c4: 00100813 li a6,1
1c8: 00100893 li a7,1
1cc: 00100913 li s2,1
1d0: 00100993 li s3,1
1d4: 00100a13 li s4,1
1d8: 00100a93 li s5,1
1dc: 00100b13 li s6,1
1e0: 00100b93 li s7,1
1e4: 00100c13 li s8,1
1e8: 00100c93 li s9,1
1ec: 00100d13 li s10,1
1f0: 00100d93 li s11,1
1f4: 00100e13 li t3,1
1f8: 00100e93 li t4,1
1fc: 00100f13 li t5,1
200: 00100f93 li t6,1
204: 01f81813 slli a6,a6,0x1f
208: 00084463 bltz a6,210 <begin_testcode+0x190>
20c: 00000813 li a6,0
210: 01f89893 slli a7,a7,0x1f
214: 0008c463 bltz a7,21c <begin_testcode+0x19c>
218: 00000893 li a7,0
21c: 01f91913 slli s2,s2,0x1f
220: 00094463 bltz s2,228 <begin_testcode+0x1a8>
224: 00000913 li s2,0
228: 01f99993 slli s3,s3,0x1f
22c: 0009c463 bltz s3,234 <begin_testcode+0x1b4>
230: 00000993 li s3,0
234: 01fa1a13 slli s4,s4,0x1f
238: 000a4463 bltz s4,240 <begin_testcode+0x1c0>
23c: 00000a13 li s4,0
240: 01fa9a93 slli s5,s5,0x1f
244: 000ac463 bltz s5,24c <begin_testcode+0x1cc>
248: 00000a93 li s5,0
24c: 01fb1b13 slli s6,s6,0x1f
250: 000b4463 bltz s6,258 <begin_testcode+0x1d8>
254: 00000b13 li s6,0
258: 01fb9b93 slli s7,s7,0x1f
25c: 000bc463 bltz s7,264 <begin_testcode+0x1e4>
260: 00000b93 li s7,0
264: 01fc1c13 slli s8,s8,0x1f
268: 000c4463 bltz s8,270 <begin_testcode+0x1f0>
26c: 00000c13 li s8,0
270: 01fc9c93 slli s9,s9,0x1f
274: 000cc463 bltz s9,27c <begin_testcode+0x1fc>
278: 00000c93 li s9,0
27c: 01fd1d13 slli s10,s10,0x1f
280: 000d4463 bltz s10,288 <begin_testcode+0x208>
284: 00000d13 li s10,0
288: 01fd9d93 slli s11,s11,0x1f
28c: 000dc463 bltz s11,294 <begin_testcode+0x214>
290: 00000d93 li s11,0
294: 01fe1e13 slli t3,t3,0x1f
298: 000e4463 bltz t3,2a0 <begin_testcode+0x220>
29c: 00000e13 li t3,0
2a0: 01fe9e93 slli t4,t4,0x1f
2a4: 000ec463 bltz t4,2ac <begin_testcode+0x22c>
2a8: 00000e93 li t4,0
2ac: 01ff1f13 slli t5,t5,0x1f
2b0: 000f4463 bltz t5,2b8 <begin_testcode+0x238>
2b4: 00000f13 li t5,0
2b8: 01ff9f93 slli t6,t6,0x1f
2bc: 000fc463 bltz t6,2c4 <begin_testcode+0x244>
2c0: 00000f93 li t6,0
2c4: 0100a023 sw a6,0(ra)
2c8: 0110a223 sw a7,4(ra)
2cc: 0120a423 sw s2,8(ra)
2d0: 0130a623 sw s3,12(ra)
2d4: 0140a823 sw s4,16(ra)
2d8: 0150aa23 sw s5,20(ra)
2dc: 0160ac23 sw s6,24(ra)
2e0: 0170ae23 sw s7,28(ra)
2e4: 0380a023 sw s8,32(ra)
2e8: 0390a223 sw s9,36(ra)
2ec: 03a0a423 sw s10,40(ra)
2f0: 03b0a623 sw s11,44(ra)
2f4: 03c0a823 sw t3,48(ra)
2f8: 03d0aa23 sw t4,52(ra)
2fc: 03e0ac23 sw t5,56(ra)
300: 03f0ae23 sw t6,60(ra)
304: 00002297 auipc t0,0x2
308: cfc28293 addi t0,t0,-772 # 2000 <begin_signature>
30c: 10000337 lui t1,0x10000
310: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
314: 00532023 sw t0,0(t1)
318: 00002297 auipc t0,0x2
31c: d6828293 addi t0,t0,-664 # 2080 <end_signature>
320: 10000337 lui t1,0x10000
324: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
328: 00532023 sw t0,0(t1)
32c: 00100293 li t0,1
330: 10000337 lui t1,0x10000
334: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
338: 00532023 sw t0,0(t1)
33c: 00000013 nop
340: 00100193 li gp,1
344: 00000073 ecall
00000348 <end_testcode>:
348: 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 <end_signature>:
...
00002100 <begin_regstate>:
2100: 0080 addi s0,sp,64
...
00002200 <end_regstate>:
2200: 0004 0x4
...