337 lines
12 KiB
Plaintext
337 lines
12 KiB
Plaintext
|
|
/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-RF_width-01.elf: file format elf32-littleriscv
|
|
|
|
|
|
Disassembly of section .text.init:
|
|
|
|
00000000 <_start>:
|
|
0: 0480006f j 48 <reset_vector>
|
|
|
|
00000004 <trap_vector>:
|
|
4: 34202f73 csrr t5,mcause
|
|
8: 00800f93 li t6,8
|
|
c: 03ff0863 beq t5,t6,3c <write_tohost>
|
|
10: 00900f93 li t6,9
|
|
14: 03ff0463 beq t5,t6,3c <write_tohost>
|
|
18: 00b00f93 li t6,11
|
|
1c: 03ff0063 beq t5,t6,3c <write_tohost>
|
|
20: 00000f13 li t5,0
|
|
24: 000f0463 beqz t5,2c <trap_vector+0x28>
|
|
28: 000f0067 jr t5
|
|
2c: 34202f73 csrr t5,mcause
|
|
30: 000f5463 bgez t5,38 <handle_exception>
|
|
34: 0040006f j 38 <handle_exception>
|
|
|
|
00000038 <handle_exception>:
|
|
38: 5391e193 ori gp,gp,1337
|
|
|
|
0000003c <write_tohost>:
|
|
3c: 00001f17 auipc t5,0x1
|
|
40: fc3f2223 sw gp,-60(t5) # 1000 <tohost>
|
|
44: ff9ff06f j 3c <write_tohost>
|
|
|
|
00000048 <reset_vector>:
|
|
48: 00000193 li gp,0
|
|
4c: 00000297 auipc t0,0x0
|
|
50: fb828293 addi t0,t0,-72 # 4 <trap_vector>
|
|
54: 30529073 csrw mtvec,t0
|
|
58: 30005073 csrwi mstatus,0
|
|
5c: 00000297 auipc t0,0x0
|
|
60: 02028293 addi t0,t0,32 # 7c <begin_testcode>
|
|
64: 34129073 csrw mepc,t0
|
|
68: 00000293 li t0,0
|
|
6c: 20000337 lui t1,0x20000
|
|
70: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
|
|
74: 00532023 sw t0,0(t1)
|
|
78: 30200073 mret
|
|
|
|
0000007c <begin_testcode>:
|
|
7c: 00002817 auipc a6,0x2
|
|
80: f8480813 addi a6,a6,-124 # 2000 <begin_signature>
|
|
84: 00100013 li zero,1
|
|
88: 00100093 li ra,1
|
|
8c: 00100113 li sp,1
|
|
90: 00100193 li gp,1
|
|
94: 00100213 li tp,1
|
|
98: 00100293 li t0,1
|
|
9c: 00100313 li t1,1
|
|
a0: 00100393 li t2,1
|
|
a4: 00100413 li s0,1
|
|
a8: 00100493 li s1,1
|
|
ac: 00100513 li a0,1
|
|
b0: 00100593 li a1,1
|
|
b4: 00100613 li a2,1
|
|
b8: 00100693 li a3,1
|
|
bc: 00100713 li a4,1
|
|
c0: 00100793 li a5,1
|
|
c4: 01f09093 slli ra,ra,0x1f
|
|
c8: 0000c463 bltz ra,d0 <begin_testcode+0x54>
|
|
cc: 00000093 li ra,0
|
|
d0: 01f11113 slli sp,sp,0x1f
|
|
d4: 00014463 bltz sp,dc <begin_testcode+0x60>
|
|
d8: 00000113 li sp,0
|
|
dc: 01f19193 slli gp,gp,0x1f
|
|
e0: 0001c463 bltz gp,e8 <begin_testcode+0x6c>
|
|
e4: 00000193 li gp,0
|
|
e8: 01f21213 slli tp,tp,0x1f
|
|
ec: 00024463 bltz tp,f4 <begin_testcode+0x78>
|
|
f0: 00000213 li tp,0
|
|
f4: 01f29293 slli t0,t0,0x1f
|
|
f8: 0002c463 bltz t0,100 <begin_testcode+0x84>
|
|
fc: 00000293 li t0,0
|
|
100: 01f31313 slli t1,t1,0x1f
|
|
104: 00034463 bltz t1,10c <begin_testcode+0x90>
|
|
108: 00000313 li t1,0
|
|
10c: 01f39393 slli t2,t2,0x1f
|
|
110: 0003c463 bltz t2,118 <begin_testcode+0x9c>
|
|
114: 00000393 li t2,0
|
|
118: 01f41413 slli s0,s0,0x1f
|
|
11c: 00044463 bltz s0,124 <begin_testcode+0xa8>
|
|
120: 00000413 li s0,0
|
|
124: 01f49493 slli s1,s1,0x1f
|
|
128: 0004c463 bltz s1,130 <begin_testcode+0xb4>
|
|
12c: 00000493 li s1,0
|
|
130: 01f51513 slli a0,a0,0x1f
|
|
134: 00054463 bltz a0,13c <begin_testcode+0xc0>
|
|
138: 00000513 li a0,0
|
|
13c: 01f59593 slli a1,a1,0x1f
|
|
140: 0005c463 bltz a1,148 <begin_testcode+0xcc>
|
|
144: 00000593 li a1,0
|
|
148: 01f61613 slli a2,a2,0x1f
|
|
14c: 00064463 bltz a2,154 <begin_testcode+0xd8>
|
|
150: 00000613 li a2,0
|
|
154: 01f69693 slli a3,a3,0x1f
|
|
158: 0006c463 bltz a3,160 <begin_testcode+0xe4>
|
|
15c: 00000693 li a3,0
|
|
160: 01f71713 slli a4,a4,0x1f
|
|
164: 00074463 bltz a4,16c <begin_testcode+0xf0>
|
|
168: 00000713 li a4,0
|
|
16c: 01f79793 slli a5,a5,0x1f
|
|
170: 0007c463 bltz a5,178 <begin_testcode+0xfc>
|
|
174: 00000793 li a5,0
|
|
178: 00082023 sw zero,0(a6)
|
|
17c: 00182223 sw ra,4(a6)
|
|
180: 00282423 sw sp,8(a6)
|
|
184: 00382623 sw gp,12(a6)
|
|
188: 00482823 sw tp,16(a6)
|
|
18c: 00582a23 sw t0,20(a6)
|
|
190: 00682c23 sw t1,24(a6)
|
|
194: 00782e23 sw t2,28(a6)
|
|
198: 02882023 sw s0,32(a6)
|
|
19c: 02982223 sw s1,36(a6)
|
|
1a0: 02a82423 sw a0,40(a6)
|
|
1a4: 02b82623 sw a1,44(a6)
|
|
1a8: 02c82823 sw a2,48(a6)
|
|
1ac: 02d82a23 sw a3,52(a6)
|
|
1b0: 02e82c23 sw a4,56(a6)
|
|
1b4: 02f82e23 sw a5,60(a6)
|
|
1b8: 00002097 auipc ra,0x2
|
|
1bc: e8808093 addi ra,ra,-376 # 2040 <test_A2_res>
|
|
1c0: 00100813 li a6,1
|
|
1c4: 00100893 li a7,1
|
|
1c8: 00100913 li s2,1
|
|
1cc: 00100993 li s3,1
|
|
1d0: 00100a13 li s4,1
|
|
1d4: 00100a93 li s5,1
|
|
1d8: 00100b13 li s6,1
|
|
1dc: 00100b93 li s7,1
|
|
1e0: 00100c13 li s8,1
|
|
1e4: 00100c93 li s9,1
|
|
1e8: 00100d13 li s10,1
|
|
1ec: 00100d93 li s11,1
|
|
1f0: 00100e13 li t3,1
|
|
1f4: 00100e93 li t4,1
|
|
1f8: 00100f13 li t5,1
|
|
1fc: 00100f93 li t6,1
|
|
200: 01f81813 slli a6,a6,0x1f
|
|
204: 00084463 bltz a6,20c <begin_testcode+0x190>
|
|
208: 00000813 li a6,0
|
|
20c: 01f89893 slli a7,a7,0x1f
|
|
210: 0008c463 bltz a7,218 <begin_testcode+0x19c>
|
|
214: 00000893 li a7,0
|
|
218: 01f91913 slli s2,s2,0x1f
|
|
21c: 00094463 bltz s2,224 <begin_testcode+0x1a8>
|
|
220: 00000913 li s2,0
|
|
224: 01f99993 slli s3,s3,0x1f
|
|
228: 0009c463 bltz s3,230 <begin_testcode+0x1b4>
|
|
22c: 00000993 li s3,0
|
|
230: 01fa1a13 slli s4,s4,0x1f
|
|
234: 000a4463 bltz s4,23c <begin_testcode+0x1c0>
|
|
238: 00000a13 li s4,0
|
|
23c: 01fa9a93 slli s5,s5,0x1f
|
|
240: 000ac463 bltz s5,248 <begin_testcode+0x1cc>
|
|
244: 00000a93 li s5,0
|
|
248: 01fb1b13 slli s6,s6,0x1f
|
|
24c: 000b4463 bltz s6,254 <begin_testcode+0x1d8>
|
|
250: 00000b13 li s6,0
|
|
254: 01fb9b93 slli s7,s7,0x1f
|
|
258: 000bc463 bltz s7,260 <begin_testcode+0x1e4>
|
|
25c: 00000b93 li s7,0
|
|
260: 01fc1c13 slli s8,s8,0x1f
|
|
264: 000c4463 bltz s8,26c <begin_testcode+0x1f0>
|
|
268: 00000c13 li s8,0
|
|
26c: 01fc9c93 slli s9,s9,0x1f
|
|
270: 000cc463 bltz s9,278 <begin_testcode+0x1fc>
|
|
274: 00000c93 li s9,0
|
|
278: 01fd1d13 slli s10,s10,0x1f
|
|
27c: 000d4463 bltz s10,284 <begin_testcode+0x208>
|
|
280: 00000d13 li s10,0
|
|
284: 01fd9d93 slli s11,s11,0x1f
|
|
288: 000dc463 bltz s11,290 <begin_testcode+0x214>
|
|
28c: 00000d93 li s11,0
|
|
290: 01fe1e13 slli t3,t3,0x1f
|
|
294: 000e4463 bltz t3,29c <begin_testcode+0x220>
|
|
298: 00000e13 li t3,0
|
|
29c: 01fe9e93 slli t4,t4,0x1f
|
|
2a0: 000ec463 bltz t4,2a8 <begin_testcode+0x22c>
|
|
2a4: 00000e93 li t4,0
|
|
2a8: 01ff1f13 slli t5,t5,0x1f
|
|
2ac: 000f4463 bltz t5,2b4 <begin_testcode+0x238>
|
|
2b0: 00000f13 li t5,0
|
|
2b4: 01ff9f93 slli t6,t6,0x1f
|
|
2b8: 000fc463 bltz t6,2c0 <begin_testcode+0x244>
|
|
2bc: 00000f93 li t6,0
|
|
2c0: 0100a023 sw a6,0(ra)
|
|
2c4: 0110a223 sw a7,4(ra)
|
|
2c8: 0120a423 sw s2,8(ra)
|
|
2cc: 0130a623 sw s3,12(ra)
|
|
2d0: 0140a823 sw s4,16(ra)
|
|
2d4: 0150aa23 sw s5,20(ra)
|
|
2d8: 0160ac23 sw s6,24(ra)
|
|
2dc: 0170ae23 sw s7,28(ra)
|
|
2e0: 0380a023 sw s8,32(ra)
|
|
2e4: 0390a223 sw s9,36(ra)
|
|
2e8: 03a0a423 sw s10,40(ra)
|
|
2ec: 03b0a623 sw s11,44(ra)
|
|
2f0: 03c0a823 sw t3,48(ra)
|
|
2f4: 03d0aa23 sw t4,52(ra)
|
|
2f8: 03e0ac23 sw t5,56(ra)
|
|
2fc: 03f0ae23 sw t6,60(ra)
|
|
300: 00002297 auipc t0,0x2
|
|
304: d0028293 addi t0,t0,-768 # 2000 <begin_signature>
|
|
308: 20000337 lui t1,0x20000
|
|
30c: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
|
|
310: 00532023 sw t0,0(t1)
|
|
314: 00002297 auipc t0,0x2
|
|
318: d6c28293 addi t0,t0,-660 # 2080 <end_signature>
|
|
31c: 20000337 lui t1,0x20000
|
|
320: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
|
|
324: 00532023 sw t0,0(t1)
|
|
328: 00100293 li t0,1
|
|
32c: 20000337 lui t1,0x20000
|
|
330: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
|
|
334: 00532023 sw t0,0(t1)
|
|
338: 00000013 nop
|
|
33c: 00100193 li gp,1
|
|
340: 00000073 ecall
|
|
|
|
00000344 <end_testcode>:
|
|
344: 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
|
|
...
|
|
|
|
Disassembly of section .riscv.attributes:
|
|
|
|
00000000 <.riscv.attributes>:
|
|
0: 1d41 addi s10,s10,-16
|
|
2: 0000 unimp
|
|
4: 7200 flw fs0,32(a2)
|
|
6: 7369 lui t1,0xffffa
|
|
8: 01007663 bgeu zero,a6,14 <trap_vector+0x10>
|
|
c: 00000013 nop
|
|
10: 7205 lui tp,0xfffe1
|
|
12: 3376 fld ft6,376(sp)
|
|
14: 6932 flw fs2,12(sp)
|
|
16: 7032 flw ft0,44(sp)
|
|
18: 0030 addi a2,sp,8
|
|
1a: 0108 addi a0,sp,128
|
|
1c: 0b0a slli s6,s6,0x2
|