292 lines
12 KiB
Plaintext
292 lines
12 KiB
Plaintext
|
|
/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-RF_size-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: 42727037 lui zero,0x42727
|
|
88: e6f00013 li zero,-401
|
|
8c: 563330b7 lui ra,0x56333
|
|
90: 24908093 addi ra,ra,585 # 56333249 <_end+0x56331045>
|
|
94: 2d562137 lui sp,0x2d562
|
|
98: 05210113 addi sp,sp,82 # 2d562052 <_end+0x2d55fe4e>
|
|
9c: 526971b7 lui gp,0x52697
|
|
a0: 36318193 addi gp,gp,867 # 52697363 <_end+0x5269515f>
|
|
a4: 736b8237 lui tp,0x736b8
|
|
a8: 92020213 addi tp,tp,-1760 # 736b7920 <_end+0x736b571c>
|
|
ac: 737462b7 lui t0,0x73746
|
|
b0: 57228293 addi t0,t0,1394 # 73746572 <_end+0x7374436e>
|
|
b4: 6e205337 lui t1,0x6e205
|
|
b8: e6f30313 addi t1,t1,-401 # 6e204e6f <_end+0x6e202c6b>
|
|
bc: 4d6973b7 lui t2,0x4d697
|
|
c0: c6138393 addi t2,t2,-927 # 4d696c61 <_end+0x4d694a5d>
|
|
c4: 6f646437 lui s0,0x6f646
|
|
c8: 17340413 addi s0,s0,371 # 6f646173 <_end+0x6f643f6f>
|
|
cc: 6b7944b7 lui s1,0x6b794
|
|
d0: 06348493 addi s1,s1,99 # 6b794063 <_end+0x6b791e5f>
|
|
d4: 74657537 lui a0,0x74657
|
|
d8: 27350513 addi a0,a0,627 # 74657273 <_end+0x7465506f>
|
|
dc: 286e75b7 lui a1,0x286e7
|
|
e0: f7358593 addi a1,a1,-141 # 286e6f73 <_end+0x286e4d6f>
|
|
e4: 656b2637 lui a2,0x656b2
|
|
e8: 04860613 addi a2,a2,72 # 656b2048 <_end+0x656afe44>
|
|
ec: 205266b7 lui a3,0x20526
|
|
f0: 16468693 addi a3,a3,356 # 20526164 <_end+0x20523f60>
|
|
f4: 6f6d3737 lui a4,0x6f6d3
|
|
f8: 92c70713 addi a4,a4,-1748 # 6f6d292c <_end+0x6f6d0728>
|
|
fc: 697037b7 lui a5,0x69703
|
|
100: e6378793 addi a5,a5,-413 # 69702e63 <_end+0x69700c5f>
|
|
104: 00082023 sw zero,0(a6)
|
|
108: 00182223 sw ra,4(a6)
|
|
10c: 00282423 sw sp,8(a6)
|
|
110: 00382623 sw gp,12(a6)
|
|
114: 00482823 sw tp,16(a6)
|
|
118: 00582a23 sw t0,20(a6)
|
|
11c: 00682c23 sw t1,24(a6)
|
|
120: 00782e23 sw t2,28(a6)
|
|
124: 02882023 sw s0,32(a6)
|
|
128: 02982223 sw s1,36(a6)
|
|
12c: 02a82423 sw a0,40(a6)
|
|
130: 02b82623 sw a1,44(a6)
|
|
134: 02c82823 sw a2,48(a6)
|
|
138: 02d82a23 sw a3,52(a6)
|
|
13c: 02e82c23 sw a4,56(a6)
|
|
140: 02f82e23 sw a5,60(a6)
|
|
144: 00002217 auipc tp,0x2
|
|
148: efc20213 addi tp,tp,-260 # 2040 <test_A2_res>
|
|
14c: 636f6837 lui a6,0x636f6
|
|
150: 46180813 addi a6,a6,1121 # 636f6461 <_end+0x636f425d>
|
|
154: 6a6578b7 lui a7,0x6a657
|
|
158: b4088893 addi a7,a7,-1216 # 6a656b40 <_end+0x6a65493c>
|
|
15c: 20287937 lui s2,0x20287
|
|
160: 86190913 addi s2,s2,-1951 # 20286861 <_end+0x2028465d>
|
|
164: 616a69b7 lui s3,0x616a6
|
|
168: 56b98993 addi s3,s3,1387 # 616a656b <_end+0x616a4367>
|
|
16c: 61766a37 lui s4,0x61766
|
|
170: 520a0a13 addi s4,s4,1312 # 61766520 <_end+0x6176431c>
|
|
174: 2e205ab7 lui s5,0x2e205
|
|
178: c65a8a93 addi s5,s5,-923 # 2e204c65 <_end+0x2e202a61>
|
|
17c: 636f7b37 lui s6,0x636f7
|
|
180: d29b0b13 addi s6,s6,-727 # 636f6d29 <_end+0x636f4b25>
|
|
184: 73697bb7 lui s7,0x73697
|
|
188: 02eb8b93 addi s7,s7,46 # 7369702e <_end+0x73694e2a>
|
|
18c: 66208c37 lui s8,0x66208
|
|
190: 96fc0c13 addi s8,s8,-1681 # 6620796f <_end+0x6620576b>
|
|
194: 67652cb7 lui s9,0x67652
|
|
198: 069c8c93 addi s9,s9,105 # 67652069 <_end+0x6764fe65>
|
|
19c: 65737d37 lui s10,0x65737
|
|
1a0: 361d0d13 addi s10,s10,865 # 65737361 <_end+0x6573515d>
|
|
1a4: 75732db7 lui s11,0x75732
|
|
1a8: 06dd8d93 addi s11,s11,109 # 7573206d <_end+0x7572fe69>
|
|
1ac: 3a291e37 lui t3,0x3a291
|
|
1b0: d0ae0e13 addi t3,t3,-758 # 3a290d0a <_end+0x3a28eb06>
|
|
1b4: 68697eb7 lui t4,0x68697
|
|
1b8: 320e8e93 addi t4,t4,800 # 68697320 <_end+0x6869511c>
|
|
1bc: 61642f37 lui t5,0x61642
|
|
1c0: 074f0f13 addi t5,t5,116 # 61642074 <_end+0x6163fe70>
|
|
1c4: 75207fb7 lui t6,0x75207
|
|
1c8: 265f8f93 addi t6,t6,613 # 75207265 <_end+0x75205061>
|
|
1cc: 01022023 sw a6,0(tp) # 0 <_start>
|
|
1d0: 01122223 sw a7,4(tp) # 4 <trap_vector>
|
|
1d4: 01222423 sw s2,8(tp) # 8 <trap_vector+0x4>
|
|
1d8: 01322623 sw s3,12(tp) # c <trap_vector+0x8>
|
|
1dc: 01422823 sw s4,16(tp) # 10 <trap_vector+0xc>
|
|
1e0: 01522a23 sw s5,20(tp) # 14 <trap_vector+0x10>
|
|
1e4: 01622c23 sw s6,24(tp) # 18 <trap_vector+0x14>
|
|
1e8: 01722e23 sw s7,28(tp) # 1c <trap_vector+0x18>
|
|
1ec: 03822023 sw s8,32(tp) # 20 <trap_vector+0x1c>
|
|
1f0: 03922223 sw s9,36(tp) # 24 <trap_vector+0x20>
|
|
1f4: 03a22423 sw s10,40(tp) # 28 <trap_vector+0x24>
|
|
1f8: 03b22623 sw s11,44(tp) # 2c <trap_vector+0x28>
|
|
1fc: 03c22823 sw t3,48(tp) # 30 <trap_vector+0x2c>
|
|
200: 03d22a23 sw t4,52(tp) # 34 <trap_vector+0x30>
|
|
204: 03e22c23 sw t5,56(tp) # 38 <handle_exception>
|
|
208: 03f22e23 sw t6,60(tp) # 3c <write_tohost>
|
|
20c: 00002217 auipc tp,0x2
|
|
210: e7420213 addi tp,tp,-396 # 2080 <test_A3_res>
|
|
214: 00022023 sw zero,0(tp) # 0 <_start>
|
|
218: 00122223 sw ra,4(tp) # 4 <trap_vector>
|
|
21c: 00222423 sw sp,8(tp) # 8 <trap_vector+0x4>
|
|
220: 00322623 sw gp,12(tp) # c <trap_vector+0x8>
|
|
224: 00002297 auipc t0,0x2
|
|
228: ddc28293 addi t0,t0,-548 # 2000 <begin_signature>
|
|
22c: 20000337 lui t1,0x20000
|
|
230: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
|
|
234: 00532023 sw t0,0(t1)
|
|
238: 00002297 auipc t0,0x2
|
|
23c: e5828293 addi t0,t0,-424 # 2090 <end_signature>
|
|
240: 20000337 lui t1,0x20000
|
|
244: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
|
|
248: 00532023 sw t0,0(t1)
|
|
24c: 00100293 li t0,1
|
|
250: 20000337 lui t1,0x20000
|
|
254: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
|
|
258: 00532023 sw t0,0(t1)
|
|
25c: 00000013 nop
|
|
260: 00100193 li gp,1
|
|
264: 00000073 ecall
|
|
|
|
00000268 <end_testcode>:
|
|
268: 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 <test_A3_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
|
|
|
|
00002090 <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
|