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

353 lines
13 KiB
Plaintext

D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-AUIPC-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: 00002297 auipc t0,0x2
84: f8028293 addi t0,t0,-128 # 2000 <begin_signature>
88: 00000017 auipc zero,0x0
8c: 00000397 auipc t2,0x0
90: ffc38393 addi t2,t2,-4 # 88 <begin_testcode+0x8>
94: 40700033 neg zero,t2
98: 0002a023 sw zero,0(t0)
9c: 00000097 auipc ra,0x0
a0: 00000397 auipc t2,0x0
a4: ffc38393 addi t2,t2,-4 # 9c <begin_testcode+0x1c>
a8: 407080b3 sub ra,ra,t2
ac: 0012a223 sw ra,4(t0)
b0: 007ff117 auipc sp,0x7ff
b4: 00000397 auipc t2,0x0
b8: ffc38393 addi t2,t2,-4 # b0 <begin_testcode+0x30>
bc: 40710133 sub sp,sp,t2
c0: 0022a423 sw sp,8(t0)
c4: 00001197 auipc gp,0x1
c8: 00000397 auipc t2,0x0
cc: ffc38393 addi t2,t2,-4 # c4 <begin_testcode+0x44>
d0: 407181b3 sub gp,gp,t2
d4: 0032a623 sw gp,12(t0)
d8: 01234217 auipc tp,0x1234
dc: 00000397 auipc t2,0x0
e0: ffc38393 addi t2,t2,-4 # d8 <begin_testcode+0x58>
e4: 40720233 sub tp,tp,t2
e8: 0042a823 sw tp,16(t0)
ec: 00002097 auipc ra,0x2
f0: f2808093 addi ra,ra,-216 # 2014 <test_2_res>
f4: 80000297 auipc t0,0x80000
f8: 00000197 auipc gp,0x0
fc: ffc18193 addi gp,gp,-4 # f4 <begin_testcode+0x74>
100: 403282b3 sub t0,t0,gp
104: 0050a023 sw t0,0(ra)
108: 01234317 auipc t1,0x1234
10c: 00000197 auipc gp,0x0
110: ffc18193 addi gp,gp,-4 # 108 <begin_testcode+0x88>
114: 40330333 sub t1,t1,gp
118: 0060a223 sw t1,4(ra)
11c: fffff397 auipc t2,0xfffff
120: 00000197 auipc gp,0x0
124: ffc18193 addi gp,gp,-4 # 11c <begin_testcode+0x9c>
128: 403383b3 sub t2,t2,gp
12c: 0070a423 sw t2,8(ra)
130: 00001417 auipc s0,0x1
134: 00000197 auipc gp,0x0
138: ffc18193 addi gp,gp,-4 # 130 <begin_testcode+0xb0>
13c: 40340433 sub s0,s0,gp
140: 0080a623 sw s0,12(ra)
144: 7ffff497 auipc s1,0x7ffff
148: 00000197 auipc gp,0x0
14c: ffc18193 addi gp,gp,-4 # 144 <begin_testcode+0xc4>
150: 403484b3 sub s1,s1,gp
154: 0090a823 sw s1,16(ra)
158: 00002097 auipc ra,0x2
15c: ed008093 addi ra,ra,-304 # 2028 <test_3_res>
160: 54321517 auipc a0,0x54321
164: 00000417 auipc s0,0x0
168: ffc40413 addi s0,s0,-4 # 160 <begin_testcode+0xe0>
16c: 40850533 sub a0,a0,s0
170: 00a0a023 sw a0,0(ra)
174: 00800597 auipc a1,0x800
178: 00000417 auipc s0,0x0
17c: ffc40413 addi s0,s0,-4 # 174 <begin_testcode+0xf4>
180: 408585b3 sub a1,a1,s0
184: 00b0a223 sw a1,4(ra)
188: 00000617 auipc a2,0x0
18c: 00000417 auipc s0,0x0
190: ffc40413 addi s0,s0,-4 # 188 <begin_testcode+0x108>
194: 40860633 sub a2,a2,s0
198: 00c0a423 sw a2,8(ra)
19c: 007ff697 auipc a3,0x7ff
1a0: 00000417 auipc s0,0x0
1a4: ffc40413 addi s0,s0,-4 # 19c <begin_testcode+0x11c>
1a8: 408686b3 sub a3,a3,s0
1ac: 00d0a623 sw a3,12(ra)
1b0: 00000717 auipc a4,0x0
1b4: 00000417 auipc s0,0x0
1b8: ffc40413 addi s0,s0,-4 # 1b0 <begin_testcode+0x130>
1bc: 40870733 sub a4,a4,s0
1c0: 00e0a823 sw a4,16(ra)
1c4: 00002117 auipc sp,0x2
1c8: e7810113 addi sp,sp,-392 # 203c <test_4_res>
1cc: 00001797 auipc a5,0x1
1d0: 00000217 auipc tp,0x0
1d4: ffc20213 addi tp,tp,-4 # 1cc <begin_testcode+0x14c>
1d8: 404787b3 sub a5,a5,tp
1dc: 00f12023 sw a5,0(sp)
1e0: 00000817 auipc a6,0x0
1e4: 00000217 auipc tp,0x0
1e8: ffc20213 addi tp,tp,-4 # 1e0 <begin_testcode+0x160>
1ec: 40480833 sub a6,a6,tp
1f0: 01012223 sw a6,4(sp)
1f4: 00000897 auipc a7,0x0
1f8: 00000217 auipc tp,0x0
1fc: ffc20213 addi tp,tp,-4 # 1f4 <begin_testcode+0x174>
200: 404888b3 sub a7,a7,tp
204: 01112423 sw a7,8(sp)
208: 007ff917 auipc s2,0x7ff
20c: 00000217 auipc tp,0x0
210: ffc20213 addi tp,tp,-4 # 208 <begin_testcode+0x188>
214: 40490933 sub s2,s2,tp
218: 01212623 sw s2,12(sp)
21c: 00001997 auipc s3,0x1
220: 00000217 auipc tp,0x0
224: ffc20213 addi tp,tp,-4 # 21c <begin_testcode+0x19c>
228: 404989b3 sub s3,s3,tp
22c: 01312823 sw s3,16(sp)
230: 00002097 auipc ra,0x2
234: e2008093 addi ra,ra,-480 # 2050 <test_5_res>
238: 01234a17 auipc s4,0x1234
23c: 00000197 auipc gp,0x0
240: ffc18193 addi gp,gp,-4 # 238 <begin_testcode+0x1b8>
244: 403a0a33 sub s4,s4,gp
248: 0140a023 sw s4,0(ra)
24c: 80000a97 auipc s5,0x80000
250: 00000197 auipc gp,0x0
254: ffc18193 addi gp,gp,-4 # 24c <begin_testcode+0x1cc>
258: 403a8ab3 sub s5,s5,gp
25c: 0150a223 sw s5,4(ra)
260: 01234b17 auipc s6,0x1234
264: 00000197 auipc gp,0x0
268: ffc18193 addi gp,gp,-4 # 260 <begin_testcode+0x1e0>
26c: 403b0b33 sub s6,s6,gp
270: 0160a423 sw s6,8(ra)
274: fffffb97 auipc s7,0xfffff
278: 00000197 auipc gp,0x0
27c: ffc18193 addi gp,gp,-4 # 274 <begin_testcode+0x1f4>
280: 403b8bb3 sub s7,s7,gp
284: 0170a623 sw s7,12(ra)
288: 00001c17 auipc s8,0x1
28c: 00000197 auipc gp,0x0
290: ffc18193 addi gp,gp,-4 # 288 <begin_testcode+0x208>
294: 403c0c33 sub s8,s8,gp
298: 0180a823 sw s8,16(ra)
29c: 00002097 auipc ra,0x2
2a0: dc808093 addi ra,ra,-568 # 2064 <test_6_res>
2a4: 7ffffc97 auipc s9,0x7ffff
2a8: 00000417 auipc s0,0x0
2ac: ffc40413 addi s0,s0,-4 # 2a4 <begin_testcode+0x224>
2b0: 408c8cb3 sub s9,s9,s0
2b4: 0190a023 sw s9,0(ra)
2b8: 54321d17 auipc s10,0x54321
2bc: 00000417 auipc s0,0x0
2c0: ffc40413 addi s0,s0,-4 # 2b8 <begin_testcode+0x238>
2c4: 408d0d33 sub s10,s10,s0
2c8: 01a0a223 sw s10,4(ra)
2cc: 00800d97 auipc s11,0x800
2d0: 00000417 auipc s0,0x0
2d4: ffc40413 addi s0,s0,-4 # 2cc <begin_testcode+0x24c>
2d8: 408d8db3 sub s11,s11,s0
2dc: 01b0a423 sw s11,8(ra)
2e0: 00000e17 auipc t3,0x0
2e4: 00000417 auipc s0,0x0
2e8: ffc40413 addi s0,s0,-4 # 2e0 <begin_testcode+0x260>
2ec: 408e0e33 sub t3,t3,s0
2f0: 01c0a623 sw t3,12(ra)
2f4: 007ffe97 auipc t4,0x7ff
2f8: 00000417 auipc s0,0x0
2fc: ffc40413 addi s0,s0,-4 # 2f4 <begin_testcode+0x274>
300: 408e8eb3 sub t4,t4,s0
304: 01d0a823 sw t4,16(ra)
308: 00002117 auipc sp,0x2
30c: d7010113 addi sp,sp,-656 # 2078 <test_7_res>
310: 00000f17 auipc t5,0x0
314: 00000217 auipc tp,0x0
318: ffc20213 addi tp,tp,-4 # 310 <begin_testcode+0x290>
31c: 404f0f33 sub t5,t5,tp
320: 01e12023 sw t5,0(sp)
324: 00001f97 auipc t6,0x1
328: 00000217 auipc tp,0x0
32c: ffc20213 addi tp,tp,-4 # 324 <begin_testcode+0x2a4>
330: 404f8fb3 sub t6,t6,tp
334: 01f12223 sw t6,4(sp)
338: 00002297 auipc t0,0x2
33c: cc828293 addi t0,t0,-824 # 2000 <begin_signature>
340: 10000337 lui t1,0x10000
344: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
348: 00532023 sw t0,0(t1)
34c: 00002297 auipc t0,0x2
350: d4428293 addi t0,t0,-700 # 2090 <end_signature>
354: 10000337 lui t1,0x10000
358: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
35c: 00532023 sw t0,0(t1)
360: 00100293 li t0,1
364: 10000337 lui t1,0x10000
368: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
36c: 00532023 sw t0,0(t1)
370: 00000013 nop
374: 00100193 li gp,1
378: 00000073 ecall
0000037c <end_testcode>:
37c: c0001073 unimp
380: 0000 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
00002014 <test_2_res>:
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
00002028 <test_3_res>:
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
0000203c <test_4_res>:
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
00002050 <test_5_res>:
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
00002064 <test_6_res>:
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
00002078 <test_7_res>:
2078: ffff 0xffff
207a: ffff 0xffff
207c: ffff 0xffff
207e: ffff 0xffff
2080: ffff 0xffff
2082: ffff 0xffff
2084: ffff 0xffff
2086: ffff 0xffff
2088: ffff 0xffff
208a: ffff 0xffff
208c: 0000 unimp
...
00002090 <end_signature>:
...
00002100 <begin_regstate>:
2100: 0080 addi s0,sp,64
...
00002200 <end_regstate>:
2200: 0004 0x4
...