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

240 lines
8.0 KiB
Plaintext

D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-NOP-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: 00002097 auipc ra,0x2
84: f8008093 addi ra,ra,-128 # 2000 <begin_signature>
88: 00200113 li sp,2
8c: 00300193 li gp,3
90: 00400213 li tp,4
94: 00500293 li t0,5
98: 00600313 li t1,6
9c: 00700393 li t2,7
a0: 00800413 li s0,8
a4: 00900493 li s1,9
a8: 00a00513 li a0,10
ac: 00b00593 li a1,11
b0: 00c00613 li a2,12
b4: 00d00693 li a3,13
b8: 00e00713 li a4,14
bc: 00f00793 li a5,15
c0: 01000813 li a6,16
c4: 01100893 li a7,17
c8: 01200913 li s2,18
cc: 01300993 li s3,19
d0: 01400a13 li s4,20
d4: 01500a93 li s5,21
d8: 01600b13 li s6,22
dc: 01700b93 li s7,23
e0: 01800c13 li s8,24
e4: 01900c93 li s9,25
e8: 01a00d13 li s10,26
ec: 01b00d93 li s11,27
f0: 01c00e13 li t3,28
f4: 01d00e93 li t4,29
f8: 01e00f13 li t5,30
fc: 01f00f93 li t6,31
100: 00000013 nop
104: 00000013 nop
108: 00000013 nop
10c: 00000013 nop
110: 00000013 nop
114: 00000013 nop
118: 0000a023 sw zero,0(ra)
11c: 0020a223 sw sp,4(ra)
120: 0030a423 sw gp,8(ra)
124: 0040a623 sw tp,12(ra)
128: 0050a823 sw t0,16(ra)
12c: 0060aa23 sw t1,20(ra)
130: 0070ac23 sw t2,24(ra)
134: 0080ae23 sw s0,28(ra)
138: 0290a023 sw s1,32(ra)
13c: 02a0a223 sw a0,36(ra)
140: 02b0a423 sw a1,40(ra)
144: 02c0a623 sw a2,44(ra)
148: 02d0a823 sw a3,48(ra)
14c: 02e0aa23 sw a4,52(ra)
150: 02f0ac23 sw a5,56(ra)
154: 0300ae23 sw a6,60(ra)
158: 0510a023 sw a7,64(ra)
15c: 0520a223 sw s2,68(ra)
160: 0530a423 sw s3,72(ra)
164: 0540a623 sw s4,76(ra)
168: 0550a823 sw s5,80(ra)
16c: 0560aa23 sw s6,84(ra)
170: 0570ac23 sw s7,88(ra)
174: 0580ae23 sw s8,92(ra)
178: 0790a023 sw s9,96(ra)
17c: 07a0a223 sw s10,100(ra)
180: 07b0a423 sw s11,104(ra)
184: 07c0a623 sw t3,108(ra)
188: 07d0a823 sw t4,112(ra)
18c: 07e0aa23 sw t5,116(ra)
190: 07f0ac23 sw t6,120(ra)
194: 00002197 auipc gp,0x2
198: ee818193 addi gp,gp,-280 # 207c <test_A2_res>
19c: 00000417 auipc s0,0x0
1a0: 00000013 nop
1a4: 00000013 nop
1a8: 00000013 nop
1ac: 00000013 nop
1b0: 00000013 nop
1b4: 00000497 auipc s1,0x0
1b8: 408484b3 sub s1,s1,s0
1bc: 0091a023 sw s1,0(gp)
1c0: 00002297 auipc t0,0x2
1c4: e4028293 addi t0,t0,-448 # 2000 <begin_signature>
1c8: 10000337 lui t1,0x10000
1cc: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
1d0: 00532023 sw t0,0(t1)
1d4: 00002297 auipc t0,0x2
1d8: eac28293 addi t0,t0,-340 # 2080 <end_signature>
1dc: 10000337 lui t1,0x10000
1e0: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
1e4: 00532023 sw t0,0(t1)
1e8: 00100293 li t0,1
1ec: 10000337 lui t1,0x10000
1f0: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
1f4: 00532023 sw t0,0(t1)
1f8: 00000013 nop
1fc: 00100193 li gp,1
200: 00000073 ecall
00000204 <end_testcode>:
204: 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
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
0000207c <test_A2_res>:
207c: ffff 0xffff
207e: ffff 0xffff
00002080 <end_signature>:
...
00002100 <begin_regstate>:
2100: 0080 addi s0,sp,64
...
00002200 <end_regstate>:
2200: 0004 0x4
...