340 lines
12 KiB
Plaintext
340 lines
12 KiB
Plaintext
|
|
D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-SLTU-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: fff00f93 li t6,-1
|
|
8c: 00000813 li a6,0
|
|
90: 010fb033 sltu zero,t6,a6
|
|
94: 0002a023 sw zero,0(t0)
|
|
98: 00100f13 li t5,1
|
|
9c: 80100793 li a5,-2047
|
|
a0: 00ff30b3 sltu ra,t5,a5
|
|
a4: 0012a223 sw ra,4(t0)
|
|
a8: 00000e93 li t4,0
|
|
ac: fff00713 li a4,-1
|
|
b0: 00eeb133 sltu sp,t4,a4
|
|
b4: 0022a423 sw sp,8(t0)
|
|
b8: 7ff00e13 li t3,2047
|
|
bc: fffff6b7 lui a3,0xfffff
|
|
c0: dcc68693 addi a3,a3,-564 # ffffedcc <_end+0xffffcbc8>
|
|
c4: 00de31b3 sltu gp,t3,a3
|
|
c8: 0032a623 sw gp,12(t0)
|
|
cc: 00000d93 li s11,0
|
|
d0: 80000637 lui a2,0x80000
|
|
d4: 00cdb233 sltu tp,s11,a2
|
|
d8: 0042a823 sw tp,16(t0)
|
|
dc: 00002097 auipc ra,0x2
|
|
e0: f3808093 addi ra,ra,-200 # 2014 <test_2_res>
|
|
e4: 00001d37 lui s10,0x1
|
|
e8: 800d0d13 addi s10,s10,-2048 # 800 <end_testcode+0x4b4>
|
|
ec: 000015b7 lui a1,0x1
|
|
f0: 23458593 addi a1,a1,564 # 1234 <fromhost+0x134>
|
|
f4: 00bd32b3 sltu t0,s10,a1
|
|
f8: 0050a023 sw t0,0(ra)
|
|
fc: 07654cb7 lui s9,0x7654
|
|
100: 321c8c93 addi s9,s9,801 # 7654321 <_end+0x765211d>
|
|
104: fff00513 li a0,-1
|
|
108: 00acb333 sltu t1,s9,a0
|
|
10c: 0060a223 sw t1,4(ra)
|
|
110: 80000c37 lui s8,0x80000
|
|
114: fffc0c13 addi s8,s8,-1 # 7fffffff <_end+0x7fffddfb>
|
|
118: 00100493 li s1,1
|
|
11c: 009c33b3 sltu t2,s8,s1
|
|
120: 0070a423 sw t2,8(ra)
|
|
124: 00100b93 li s7,1
|
|
128: 80000437 lui s0,0x80000
|
|
12c: fff40413 addi s0,s0,-1 # 7fffffff <_end+0x7fffddfb>
|
|
130: 008bb433 sltu s0,s7,s0
|
|
134: 0080a623 sw s0,12(ra)
|
|
138: fff00b13 li s6,-1
|
|
13c: 076543b7 lui t2,0x7654
|
|
140: 32138393 addi t2,t2,801 # 7654321 <_end+0x765211d>
|
|
144: 007b34b3 sltu s1,s6,t2
|
|
148: 0090a823 sw s1,16(ra)
|
|
14c: 00002097 auipc ra,0x2
|
|
150: edc08093 addi ra,ra,-292 # 2028 <test_3_res>
|
|
154: 00001ab7 lui s5,0x1
|
|
158: 234a8a93 addi s5,s5,564 # 1234 <fromhost+0x134>
|
|
15c: 00001337 lui t1,0x1
|
|
160: 80030313 addi t1,t1,-2048 # 800 <end_testcode+0x4b4>
|
|
164: 006ab533 sltu a0,s5,t1
|
|
168: 00a0a023 sw a0,0(ra)
|
|
16c: 80000a37 lui s4,0x80000
|
|
170: 00000293 li t0,0
|
|
174: 005a35b3 sltu a1,s4,t0
|
|
178: 00b0a223 sw a1,4(ra)
|
|
17c: fffff9b7 lui s3,0xfffff
|
|
180: dcc98993 addi s3,s3,-564 # ffffedcc <_end+0xffffcbc8>
|
|
184: 7ff00213 li tp,2047
|
|
188: 0049b633 sltu a2,s3,tp
|
|
18c: 00c0a423 sw a2,8(ra)
|
|
190: fff00913 li s2,-1
|
|
194: fff00193 li gp,-1
|
|
198: 003936b3 sltu a3,s2,gp
|
|
19c: 00d0a623 sw a3,12(ra)
|
|
1a0: 80100893 li a7,-2047
|
|
1a4: 00100113 li sp,1
|
|
1a8: 0028b733 sltu a4,a7,sp
|
|
1ac: 00e0a823 sw a4,16(ra)
|
|
1b0: 00002117 auipc sp,0x2
|
|
1b4: e8c10113 addi sp,sp,-372 # 203c <test_4_res>
|
|
1b8: 00000813 li a6,0
|
|
1bc: 00000093 li ra,0
|
|
1c0: 001837b3 sltu a5,a6,ra
|
|
1c4: 00f12023 sw a5,0(sp)
|
|
1c8: fff00793 li a5,-1
|
|
1cc: 00000013 nop
|
|
1d0: 0007b833 sltu a6,a5,zero
|
|
1d4: 01012223 sw a6,4(sp)
|
|
1d8: 00100713 li a4,1
|
|
1dc: 80100f93 li t6,-2047
|
|
1e0: 01f738b3 sltu a7,a4,t6
|
|
1e4: 01112423 sw a7,8(sp)
|
|
1e8: 00000693 li a3,0
|
|
1ec: fff00f13 li t5,-1
|
|
1f0: 01e6b933 sltu s2,a3,t5
|
|
1f4: 01212623 sw s2,12(sp)
|
|
1f8: 7ff00613 li a2,2047
|
|
1fc: fffffeb7 lui t4,0xfffff
|
|
200: dcce8e93 addi t4,t4,-564 # ffffedcc <_end+0xffffcbc8>
|
|
204: 01d639b3 sltu s3,a2,t4
|
|
208: 01312823 sw s3,16(sp)
|
|
20c: 00002097 auipc ra,0x2
|
|
210: e4408093 addi ra,ra,-444 # 2050 <test_5_res>
|
|
214: 00000593 li a1,0
|
|
218: 80000e37 lui t3,0x80000
|
|
21c: 01c5ba33 sltu s4,a1,t3
|
|
220: 0140a023 sw s4,0(ra)
|
|
224: 00001537 lui a0,0x1
|
|
228: 80050513 addi a0,a0,-2048 # 800 <end_testcode+0x4b4>
|
|
22c: 00001db7 lui s11,0x1
|
|
230: 234d8d93 addi s11,s11,564 # 1234 <fromhost+0x134>
|
|
234: 01b53ab3 sltu s5,a0,s11
|
|
238: 0150a223 sw s5,4(ra)
|
|
23c: 076544b7 lui s1,0x7654
|
|
240: 32148493 addi s1,s1,801 # 7654321 <_end+0x765211d>
|
|
244: fff00d13 li s10,-1
|
|
248: 01a4bb33 sltu s6,s1,s10
|
|
24c: 0160a423 sw s6,8(ra)
|
|
250: 80000437 lui s0,0x80000
|
|
254: fff40413 addi s0,s0,-1 # 7fffffff <_end+0x7fffddfb>
|
|
258: 00100c93 li s9,1
|
|
25c: 01943bb3 sltu s7,s0,s9
|
|
260: 0170a623 sw s7,12(ra)
|
|
264: 00100393 li t2,1
|
|
268: 80000c37 lui s8,0x80000
|
|
26c: fffc0c13 addi s8,s8,-1 # 7fffffff <_end+0x7fffddfb>
|
|
270: 0183bc33 sltu s8,t2,s8
|
|
274: 0180a823 sw s8,16(ra)
|
|
278: 00002097 auipc ra,0x2
|
|
27c: dec08093 addi ra,ra,-532 # 2064 <test_6_res>
|
|
280: fff00313 li t1,-1
|
|
284: 07654bb7 lui s7,0x7654
|
|
288: 321b8b93 addi s7,s7,801 # 7654321 <_end+0x765211d>
|
|
28c: 01733cb3 sltu s9,t1,s7
|
|
290: 0190a023 sw s9,0(ra)
|
|
294: 000012b7 lui t0,0x1
|
|
298: 23428293 addi t0,t0,564 # 1234 <fromhost+0x134>
|
|
29c: 00001b37 lui s6,0x1
|
|
2a0: 800b0b13 addi s6,s6,-2048 # 800 <end_testcode+0x4b4>
|
|
2a4: 0162bd33 sltu s10,t0,s6
|
|
2a8: 01a0a223 sw s10,4(ra)
|
|
2ac: 80000237 lui tp,0x80000
|
|
2b0: 00000a93 li s5,0
|
|
2b4: 01523db3 sltu s11,tp,s5
|
|
2b8: 01b0a423 sw s11,8(ra)
|
|
2bc: fffff1b7 lui gp,0xfffff
|
|
2c0: dcc18193 addi gp,gp,-564 # ffffedcc <_end+0xffffcbc8>
|
|
2c4: 7ff00a13 li s4,2047
|
|
2c8: 0141be33 sltu t3,gp,s4
|
|
2cc: 01c0a623 sw t3,12(ra)
|
|
2d0: fff00113 li sp,-1
|
|
2d4: fff00993 li s3,-1
|
|
2d8: 01313eb3 sltu t4,sp,s3
|
|
2dc: 01d0a823 sw t4,16(ra)
|
|
2e0: 00002117 auipc sp,0x2
|
|
2e4: d9810113 addi sp,sp,-616 # 2078 <test_7_res>
|
|
2e8: 80100093 li ra,-2047
|
|
2ec: 00100913 li s2,1
|
|
2f0: 0120bf33 sltu t5,ra,s2
|
|
2f4: 01e12023 sw t5,0(sp)
|
|
2f8: 00000013 nop
|
|
2fc: 00000893 li a7,0
|
|
300: 01103fb3 snez t6,a7
|
|
304: 01f12223 sw t6,4(sp)
|
|
308: 00002297 auipc t0,0x2
|
|
30c: cf828293 addi t0,t0,-776 # 2000 <begin_signature>
|
|
310: 10000337 lui t1,0x10000
|
|
314: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
|
|
318: 00532023 sw t0,0(t1)
|
|
31c: 00002297 auipc t0,0x2
|
|
320: d7428293 addi t0,t0,-652 # 2090 <end_signature>
|
|
324: 10000337 lui t1,0x10000
|
|
328: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
|
|
32c: 00532023 sw t0,0(t1)
|
|
330: 00100293 li t0,1
|
|
334: 10000337 lui t1,0x10000
|
|
338: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
|
|
33c: 00532023 sw t0,0(t1)
|
|
340: 00000013 nop
|
|
344: 00100193 li gp,1
|
|
348: 00000073 ecall
|
|
|
|
0000034c <end_testcode>:
|
|
34c: 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
|
|
|
|
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
|
|
...
|