347 lines
13 KiB
Plaintext
347 lines
13 KiB
Plaintext
|
|
D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-LH-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: fb028293 addi t0,t0,-80 # 2030 <begin_signature>
|
|
88: 00002f97 auipc t6,0x2
|
|
8c: f90f8f93 addi t6,t6,-112 # 2018 <test_data>
|
|
90: 000f9003 lh zero,0(t6)
|
|
94: 0002a023 sw zero,0(t0)
|
|
98: 00002f17 auipc t5,0x2
|
|
9c: f80f0f13 addi t5,t5,-128 # 2018 <test_data>
|
|
a0: ffef1083 lh ra,-2(t5)
|
|
a4: 0012a223 sw ra,4(t0)
|
|
a8: 00002e97 auipc t4,0x2
|
|
ac: f70e8e93 addi t4,t4,-144 # 2018 <test_data>
|
|
b0: 002e9103 lh sp,2(t4)
|
|
b4: 0022a423 sw sp,8(t0)
|
|
b8: 00002e17 auipc t3,0x2
|
|
bc: f60e0e13 addi t3,t3,-160 # 2018 <test_data>
|
|
c0: ffce1183 lh gp,-4(t3)
|
|
c4: 0032a623 sw gp,12(t0)
|
|
c8: 00002d97 auipc s11,0x2
|
|
cc: f50d8d93 addi s11,s11,-176 # 2018 <test_data>
|
|
d0: 002d9203 lh tp,2(s11)
|
|
d4: 0042a823 sw tp,16(t0)
|
|
d8: 00002097 auipc ra,0x2
|
|
dc: f6c08093 addi ra,ra,-148 # 2044 <test_2_res>
|
|
e0: 00002d17 auipc s10,0x2
|
|
e4: f38d0d13 addi s10,s10,-200 # 2018 <test_data>
|
|
e8: 004d1283 lh t0,4(s10)
|
|
ec: 0050a023 sw t0,0(ra)
|
|
f0: 00002c97 auipc s9,0x2
|
|
f4: f28c8c93 addi s9,s9,-216 # 2018 <test_data>
|
|
f8: 000c9303 lh t1,0(s9)
|
|
fc: 0060a223 sw t1,4(ra)
|
|
100: 00002c17 auipc s8,0x2
|
|
104: f18c0c13 addi s8,s8,-232 # 2018 <test_data>
|
|
108: 000c1383 lh t2,0(s8)
|
|
10c: 0070a423 sw t2,8(ra)
|
|
110: 00002b97 auipc s7,0x2
|
|
114: f08b8b93 addi s7,s7,-248 # 2018 <test_data>
|
|
118: 000b9403 lh s0,0(s7)
|
|
11c: 0080a623 sw s0,12(ra)
|
|
120: 00002b17 auipc s6,0x2
|
|
124: ef8b0b13 addi s6,s6,-264 # 2018 <test_data>
|
|
128: ffeb1483 lh s1,-2(s6)
|
|
12c: 0090a823 sw s1,16(ra)
|
|
130: 00002097 auipc ra,0x2
|
|
134: f2808093 addi ra,ra,-216 # 2058 <test_3_res>
|
|
138: 00002a97 auipc s5,0x2
|
|
13c: ee0a8a93 addi s5,s5,-288 # 2018 <test_data>
|
|
140: 002a9503 lh a0,2(s5)
|
|
144: 00a0a023 sw a0,0(ra)
|
|
148: 00002a17 auipc s4,0x2
|
|
14c: ed0a0a13 addi s4,s4,-304 # 2018 <test_data>
|
|
150: ffca1583 lh a1,-4(s4)
|
|
154: 00b0a223 sw a1,4(ra)
|
|
158: 00002997 auipc s3,0x2
|
|
15c: ec098993 addi s3,s3,-320 # 2018 <test_data>
|
|
160: 00299603 lh a2,2(s3)
|
|
164: 00c0a423 sw a2,8(ra)
|
|
168: 00002917 auipc s2,0x2
|
|
16c: eb090913 addi s2,s2,-336 # 2018 <test_data>
|
|
170: 00491683 lh a3,4(s2)
|
|
174: 00d0a623 sw a3,12(ra)
|
|
178: 00002897 auipc a7,0x2
|
|
17c: ea088893 addi a7,a7,-352 # 2018 <test_data>
|
|
180: 00089703 lh a4,0(a7)
|
|
184: 00e0a823 sw a4,16(ra)
|
|
188: 00002117 auipc sp,0x2
|
|
18c: ee410113 addi sp,sp,-284 # 206c <test_4_res>
|
|
190: 00002817 auipc a6,0x2
|
|
194: e8880813 addi a6,a6,-376 # 2018 <test_data>
|
|
198: 00081783 lh a5,0(a6)
|
|
19c: 00f12023 sw a5,0(sp)
|
|
1a0: 00002797 auipc a5,0x2
|
|
1a4: e7878793 addi a5,a5,-392 # 2018 <test_data>
|
|
1a8: 00079803 lh a6,0(a5)
|
|
1ac: 01012223 sw a6,4(sp)
|
|
1b0: 00002717 auipc a4,0x2
|
|
1b4: e6870713 addi a4,a4,-408 # 2018 <test_data>
|
|
1b8: ffe71883 lh a7,-2(a4)
|
|
1bc: 01112423 sw a7,8(sp)
|
|
1c0: 00002697 auipc a3,0x2
|
|
1c4: e5868693 addi a3,a3,-424 # 2018 <test_data>
|
|
1c8: 00269903 lh s2,2(a3)
|
|
1cc: 01212623 sw s2,12(sp)
|
|
1d0: 00002617 auipc a2,0x2
|
|
1d4: e4860613 addi a2,a2,-440 # 2018 <test_data>
|
|
1d8: ffc61983 lh s3,-4(a2)
|
|
1dc: 01312823 sw s3,16(sp)
|
|
1e0: 00002097 auipc ra,0x2
|
|
1e4: ea008093 addi ra,ra,-352 # 2080 <test_5_res>
|
|
1e8: 00002597 auipc a1,0x2
|
|
1ec: e3058593 addi a1,a1,-464 # 2018 <test_data>
|
|
1f0: 00259a03 lh s4,2(a1)
|
|
1f4: 0140a023 sw s4,0(ra)
|
|
1f8: 00002517 auipc a0,0x2
|
|
1fc: e2050513 addi a0,a0,-480 # 2018 <test_data>
|
|
200: 00451a83 lh s5,4(a0)
|
|
204: 0150a223 sw s5,4(ra)
|
|
208: 00002497 auipc s1,0x2
|
|
20c: e1048493 addi s1,s1,-496 # 2018 <test_data>
|
|
210: 00049b03 lh s6,0(s1)
|
|
214: 0160a423 sw s6,8(ra)
|
|
218: 00002417 auipc s0,0x2
|
|
21c: e0040413 addi s0,s0,-512 # 2018 <test_data>
|
|
220: 00041b83 lh s7,0(s0)
|
|
224: 0170a623 sw s7,12(ra)
|
|
228: 00002397 auipc t2,0x2
|
|
22c: df038393 addi t2,t2,-528 # 2018 <test_data>
|
|
230: 00039c03 lh s8,0(t2)
|
|
234: 0180a823 sw s8,16(ra)
|
|
238: 00002097 auipc ra,0x2
|
|
23c: e5c08093 addi ra,ra,-420 # 2094 <test_6_res>
|
|
240: 00002317 auipc t1,0x2
|
|
244: dd830313 addi t1,t1,-552 # 2018 <test_data>
|
|
248: ffe31c83 lh s9,-2(t1)
|
|
24c: 0190a023 sw s9,0(ra)
|
|
250: 00002297 auipc t0,0x2
|
|
254: dc828293 addi t0,t0,-568 # 2018 <test_data>
|
|
258: 00229d03 lh s10,2(t0)
|
|
25c: 01a0a223 sw s10,4(ra)
|
|
260: 00002217 auipc tp,0x2
|
|
264: db820213 addi tp,tp,-584 # 2018 <test_data>
|
|
268: ffc21d83 lh s11,-4(tp) # fffffffc <_end+0xffffddf8>
|
|
26c: 01b0a423 sw s11,8(ra)
|
|
270: 00002197 auipc gp,0x2
|
|
274: da818193 addi gp,gp,-600 # 2018 <test_data>
|
|
278: 00219e03 lh t3,2(gp)
|
|
27c: 01c0a623 sw t3,12(ra)
|
|
280: 00002117 auipc sp,0x2
|
|
284: d9810113 addi sp,sp,-616 # 2018 <test_data>
|
|
288: 00411e83 lh t4,4(sp)
|
|
28c: 01d0a823 sw t4,16(ra)
|
|
290: 00002117 auipc sp,0x2
|
|
294: e1810113 addi sp,sp,-488 # 20a8 <test_7_res>
|
|
298: 00002097 auipc ra,0x2
|
|
29c: d8008093 addi ra,ra,-640 # 2018 <test_data>
|
|
2a0: 00009f03 lh t5,0(ra)
|
|
2a4: 01e12023 sw t5,0(sp)
|
|
2a8: 00002097 auipc ra,0x2
|
|
2ac: d7008093 addi ra,ra,-656 # 2018 <test_data>
|
|
2b0: 00009f83 lh t6,0(ra)
|
|
2b4: 01f12223 sw t6,4(sp)
|
|
2b8: 00002297 auipc t0,0x2
|
|
2bc: d7828293 addi t0,t0,-648 # 2030 <begin_signature>
|
|
2c0: 10000337 lui t1,0x10000
|
|
2c4: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
|
|
2c8: 00532023 sw t0,0(t1)
|
|
2cc: 00002297 auipc t0,0x2
|
|
2d0: df428293 addi t0,t0,-524 # 20c0 <end_signature>
|
|
2d4: 10000337 lui t1,0x10000
|
|
2d8: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
|
|
2dc: 00532023 sw t0,0(t1)
|
|
2e0: 00100293 li t0,1
|
|
2e4: 10000337 lui t1,0x10000
|
|
2e8: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
|
|
2ec: 00532023 sw t0,0(t1)
|
|
2f0: 00000013 nop
|
|
2f4: 00100193 li gp,1
|
|
2f8: 00000073 ecall
|
|
|
|
000002fc <end_testcode>:
|
|
2fc: c0001073 unimp
|
|
300: 0000 unimp
|
|
...
|
|
|
|
Disassembly of section .tohost:
|
|
|
|
00001000 <tohost>:
|
|
...
|
|
|
|
00001100 <fromhost>:
|
|
...
|
|
|
|
Disassembly of section .data:
|
|
|
|
00002000 <test_data_start>:
|
|
2000: f222 fsw fs0,36(sp)
|
|
2002: 11f1 addi gp,gp,-4
|
|
2004: 44f4 lw a3,76(s1)
|
|
2006: f666f333 0xf666f333
|
|
200a: 55f5 li a1,-3
|
|
200c: 88f8 0x88f8
|
|
200e: 0aaaf777 0xaaaf777
|
|
2012: 9909 andi a0,a0,-30
|
|
2014: cc0c sw a1,24(s0)
|
|
2016: 0xeee0bbb
|
|
|
|
00002018 <test_data>:
|
|
2018: 0eee slli t4,t4,0x1b
|
|
201a: dd0d beqz a0,1f54 <fromhost+0xe54>
|
|
201c: 00f0 addi a2,sp,76
|
|
201e: 0fff 0xfff
|
|
2020: 5678 lw a4,108(a2)
|
|
2022: 1234 addi a3,sp,296
|
|
2024: def0 sw a2,124(a3)
|
|
2026: 9abc 0x9abc
|
|
2028: 3210 fld fa2,32(a2)
|
|
202a: 7654 flw fa3,44(a2)
|
|
202c: ba98 fsd fa4,48(a3)
|
|
202e: fedc fsw fa5,60(a3)
|
|
|
|
00002030 <begin_signature>:
|
|
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
|
|
|
|
00002044 <test_2_res>:
|
|
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
|
|
|
|
00002058 <test_3_res>:
|
|
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
|
|
|
|
0000206c <test_4_res>:
|
|
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_5_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
|
|
2090: ffff 0xffff
|
|
2092: ffff 0xffff
|
|
|
|
00002094 <test_6_res>:
|
|
2094: ffff 0xffff
|
|
2096: ffff 0xffff
|
|
2098: ffff 0xffff
|
|
209a: ffff 0xffff
|
|
209c: ffff 0xffff
|
|
209e: ffff 0xffff
|
|
20a0: ffff 0xffff
|
|
20a2: ffff 0xffff
|
|
20a4: ffff 0xffff
|
|
20a6: ffff 0xffff
|
|
|
|
000020a8 <test_7_res>:
|
|
20a8: ffff 0xffff
|
|
20aa: ffff 0xffff
|
|
20ac: ffff 0xffff
|
|
20ae: ffff 0xffff
|
|
20b0: ffff 0xffff
|
|
20b2: ffff 0xffff
|
|
20b4: ffff 0xffff
|
|
20b6: ffff 0xffff
|
|
20b8: ffff 0xffff
|
|
20ba: ffff 0xffff
|
|
20bc: 0000 unimp
|
|
...
|
|
|
|
000020c0 <end_signature>:
|
|
...
|
|
|
|
00002100 <begin_regstate>:
|
|
2100: 0080 addi s0,sp,64
|
|
...
|
|
|
|
00002200 <end_regstate>:
|
|
2200: 0004 0x4
|
|
...
|