413 lines
15 KiB
Plaintext
413 lines
15 KiB
Plaintext
|
|
generated/rv32ui-p-sw: file format elf32-littleriscv
|
|
|
|
|
|
Disassembly of section .text.init:
|
|
|
|
00000000 <_start>:
|
|
0: 10005073 csrwi sstatus,0
|
|
|
|
00000004 <test_2>:
|
|
4: 00001097 auipc ra,0x1
|
|
8: ffc08093 addi ra,ra,-4 # 1000 <begin_signature>
|
|
c: 00aa0137 lui sp,0xaa0
|
|
10: 0aa10113 addi sp,sp,170 # aa00aa <_end+0xa9f022>
|
|
14: 0020a023 sw sp,0(ra)
|
|
18: 0000af03 lw t5,0(ra)
|
|
1c: 00aa0eb7 lui t4,0xaa0
|
|
20: 0aae8e93 addi t4,t4,170 # aa00aa <_end+0xa9f022>
|
|
24: 00200193 li gp,2
|
|
28: 47df1063 bne t5,t4,488 <fail>
|
|
|
|
0000002c <test_3>:
|
|
2c: 00001097 auipc ra,0x1
|
|
30: fd408093 addi ra,ra,-44 # 1000 <begin_signature>
|
|
34: aa00b137 lui sp,0xaa00b
|
|
38: a0010113 addi sp,sp,-1536 # aa00aa00 <_end+0xaa009978>
|
|
3c: 0020a223 sw sp,4(ra)
|
|
40: 0040af03 lw t5,4(ra)
|
|
44: aa00beb7 lui t4,0xaa00b
|
|
48: a00e8e93 addi t4,t4,-1536 # aa00aa00 <_end+0xaa009978>
|
|
4c: 00300193 li gp,3
|
|
50: 43df1c63 bne t5,t4,488 <fail>
|
|
|
|
00000054 <test_4>:
|
|
54: 00001097 auipc ra,0x1
|
|
58: fac08093 addi ra,ra,-84 # 1000 <begin_signature>
|
|
5c: 0aa01137 lui sp,0xaa01
|
|
60: aa010113 addi sp,sp,-1376 # aa00aa0 <_end+0xa9ffa18>
|
|
64: 0020a423 sw sp,8(ra)
|
|
68: 0080af03 lw t5,8(ra)
|
|
6c: 0aa01eb7 lui t4,0xaa01
|
|
70: aa0e8e93 addi t4,t4,-1376 # aa00aa0 <_end+0xa9ffa18>
|
|
74: 00400193 li gp,4
|
|
78: 41df1863 bne t5,t4,488 <fail>
|
|
|
|
0000007c <test_5>:
|
|
7c: 00001097 auipc ra,0x1
|
|
80: f8408093 addi ra,ra,-124 # 1000 <begin_signature>
|
|
84: a00aa137 lui sp,0xa00aa
|
|
88: 00a10113 addi sp,sp,10 # a00aa00a <_end+0xa00a8f82>
|
|
8c: 0020a623 sw sp,12(ra)
|
|
90: 00c0af03 lw t5,12(ra)
|
|
94: a00aaeb7 lui t4,0xa00aa
|
|
98: 00ae8e93 addi t4,t4,10 # a00aa00a <_end+0xa00a8f82>
|
|
9c: 00500193 li gp,5
|
|
a0: 3fdf1463 bne t5,t4,488 <fail>
|
|
|
|
000000a4 <test_6>:
|
|
a4: 00001097 auipc ra,0x1
|
|
a8: f7808093 addi ra,ra,-136 # 101c <tdat8>
|
|
ac: 00aa0137 lui sp,0xaa0
|
|
b0: 0aa10113 addi sp,sp,170 # aa00aa <_end+0xa9f022>
|
|
b4: fe20aa23 sw sp,-12(ra)
|
|
b8: ff40af03 lw t5,-12(ra)
|
|
bc: 00aa0eb7 lui t4,0xaa0
|
|
c0: 0aae8e93 addi t4,t4,170 # aa00aa <_end+0xa9f022>
|
|
c4: 00600193 li gp,6
|
|
c8: 3ddf1063 bne t5,t4,488 <fail>
|
|
|
|
000000cc <test_7>:
|
|
cc: 00001097 auipc ra,0x1
|
|
d0: f5008093 addi ra,ra,-176 # 101c <tdat8>
|
|
d4: aa00b137 lui sp,0xaa00b
|
|
d8: a0010113 addi sp,sp,-1536 # aa00aa00 <_end+0xaa009978>
|
|
dc: fe20ac23 sw sp,-8(ra)
|
|
e0: ff80af03 lw t5,-8(ra)
|
|
e4: aa00beb7 lui t4,0xaa00b
|
|
e8: a00e8e93 addi t4,t4,-1536 # aa00aa00 <_end+0xaa009978>
|
|
ec: 00700193 li gp,7
|
|
f0: 39df1c63 bne t5,t4,488 <fail>
|
|
|
|
000000f4 <test_8>:
|
|
f4: 00001097 auipc ra,0x1
|
|
f8: f2808093 addi ra,ra,-216 # 101c <tdat8>
|
|
fc: 0aa01137 lui sp,0xaa01
|
|
100: aa010113 addi sp,sp,-1376 # aa00aa0 <_end+0xa9ffa18>
|
|
104: fe20ae23 sw sp,-4(ra)
|
|
108: ffc0af03 lw t5,-4(ra)
|
|
10c: 0aa01eb7 lui t4,0xaa01
|
|
110: aa0e8e93 addi t4,t4,-1376 # aa00aa0 <_end+0xa9ffa18>
|
|
114: 00800193 li gp,8
|
|
118: 37df1863 bne t5,t4,488 <fail>
|
|
|
|
0000011c <test_9>:
|
|
11c: 00001097 auipc ra,0x1
|
|
120: f0008093 addi ra,ra,-256 # 101c <tdat8>
|
|
124: a00aa137 lui sp,0xa00aa
|
|
128: 00a10113 addi sp,sp,10 # a00aa00a <_end+0xa00a8f82>
|
|
12c: 0020a023 sw sp,0(ra)
|
|
130: 0000af03 lw t5,0(ra)
|
|
134: a00aaeb7 lui t4,0xa00aa
|
|
138: 00ae8e93 addi t4,t4,10 # a00aa00a <_end+0xa00a8f82>
|
|
13c: 00900193 li gp,9
|
|
140: 35df1463 bne t5,t4,488 <fail>
|
|
|
|
00000144 <test_10>:
|
|
144: 00001097 auipc ra,0x1
|
|
148: edc08093 addi ra,ra,-292 # 1020 <tdat9>
|
|
14c: 12345137 lui sp,0x12345
|
|
150: 67810113 addi sp,sp,1656 # 12345678 <_end+0x123445f0>
|
|
154: fe008213 addi tp,ra,-32
|
|
158: 02222023 sw sp,32(tp) # 20 <test_2+0x1c>
|
|
15c: 0000a283 lw t0,0(ra)
|
|
160: 12345eb7 lui t4,0x12345
|
|
164: 678e8e93 addi t4,t4,1656 # 12345678 <_end+0x123445f0>
|
|
168: 00a00193 li gp,10
|
|
16c: 31d29e63 bne t0,t4,488 <fail>
|
|
|
|
00000170 <test_11>:
|
|
170: 00001097 auipc ra,0x1
|
|
174: eb008093 addi ra,ra,-336 # 1020 <tdat9>
|
|
178: 58213137 lui sp,0x58213
|
|
17c: 09810113 addi sp,sp,152 # 58213098 <_end+0x58212010>
|
|
180: ffd08093 addi ra,ra,-3
|
|
184: 0020a3a3 sw sp,7(ra)
|
|
188: 00001217 auipc tp,0x1
|
|
18c: e9c20213 addi tp,tp,-356 # 1024 <tdat10>
|
|
190: 00022283 lw t0,0(tp) # 0 <_start>
|
|
194: 58213eb7 lui t4,0x58213
|
|
198: 098e8e93 addi t4,t4,152 # 58213098 <_end+0x58212010>
|
|
19c: 00b00193 li gp,11
|
|
1a0: 2fd29463 bne t0,t4,488 <fail>
|
|
|
|
000001a4 <test_12>:
|
|
1a4: 00c00193 li gp,12
|
|
1a8: 00000213 li tp,0
|
|
1ac: aabbd0b7 lui ra,0xaabbd
|
|
1b0: cdd08093 addi ra,ra,-803 # aabbccdd <_end+0xaabbbc55>
|
|
1b4: 00001117 auipc sp,0x1
|
|
1b8: e4c10113 addi sp,sp,-436 # 1000 <begin_signature>
|
|
1bc: 00112023 sw ra,0(sp)
|
|
1c0: 00012f03 lw t5,0(sp)
|
|
1c4: aabbdeb7 lui t4,0xaabbd
|
|
1c8: cdde8e93 addi t4,t4,-803 # aabbccdd <_end+0xaabbbc55>
|
|
1cc: 2bdf1e63 bne t5,t4,488 <fail>
|
|
1d0: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
1d4: 00200293 li t0,2
|
|
1d8: fc521ae3 bne tp,t0,1ac <test_12+0x8>
|
|
|
|
000001dc <test_13>:
|
|
1dc: 00d00193 li gp,13
|
|
1e0: 00000213 li tp,0
|
|
1e4: daabc0b7 lui ra,0xdaabc
|
|
1e8: ccd08093 addi ra,ra,-819 # daabbccd <_end+0xdaabac45>
|
|
1ec: 00001117 auipc sp,0x1
|
|
1f0: e1410113 addi sp,sp,-492 # 1000 <begin_signature>
|
|
1f4: 00000013 nop
|
|
1f8: 00112223 sw ra,4(sp)
|
|
1fc: 00412f03 lw t5,4(sp)
|
|
200: daabceb7 lui t4,0xdaabc
|
|
204: ccde8e93 addi t4,t4,-819 # daabbccd <_end+0xdaabac45>
|
|
208: 29df1063 bne t5,t4,488 <fail>
|
|
20c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
210: 00200293 li t0,2
|
|
214: fc5218e3 bne tp,t0,1e4 <test_13+0x8>
|
|
|
|
00000218 <test_14>:
|
|
218: 00e00193 li gp,14
|
|
21c: 00000213 li tp,0
|
|
220: ddaac0b7 lui ra,0xddaac
|
|
224: bcc08093 addi ra,ra,-1076 # ddaabbcc <_end+0xddaaab44>
|
|
228: 00001117 auipc sp,0x1
|
|
22c: dd810113 addi sp,sp,-552 # 1000 <begin_signature>
|
|
230: 00000013 nop
|
|
234: 00000013 nop
|
|
238: 00112423 sw ra,8(sp)
|
|
23c: 00812f03 lw t5,8(sp)
|
|
240: ddaaceb7 lui t4,0xddaac
|
|
244: bcce8e93 addi t4,t4,-1076 # ddaabbcc <_end+0xddaaab44>
|
|
248: 25df1063 bne t5,t4,488 <fail>
|
|
24c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
250: 00200293 li t0,2
|
|
254: fc5216e3 bne tp,t0,220 <test_14+0x8>
|
|
|
|
00000258 <test_15>:
|
|
258: 00f00193 li gp,15
|
|
25c: 00000213 li tp,0
|
|
260: cddab0b7 lui ra,0xcddab
|
|
264: bbc08093 addi ra,ra,-1092 # cddaabbc <_end+0xcdda9b34>
|
|
268: 00000013 nop
|
|
26c: 00001117 auipc sp,0x1
|
|
270: d9410113 addi sp,sp,-620 # 1000 <begin_signature>
|
|
274: 00112623 sw ra,12(sp)
|
|
278: 00c12f03 lw t5,12(sp)
|
|
27c: cddabeb7 lui t4,0xcddab
|
|
280: bbce8e93 addi t4,t4,-1092 # cddaabbc <_end+0xcdda9b34>
|
|
284: 21df1263 bne t5,t4,488 <fail>
|
|
288: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
28c: 00200293 li t0,2
|
|
290: fc5218e3 bne tp,t0,260 <test_15+0x8>
|
|
|
|
00000294 <test_16>:
|
|
294: 01000193 li gp,16
|
|
298: 00000213 li tp,0
|
|
29c: ccddb0b7 lui ra,0xccddb
|
|
2a0: abb08093 addi ra,ra,-1349 # ccddaabb <_end+0xccdd9a33>
|
|
2a4: 00000013 nop
|
|
2a8: 00001117 auipc sp,0x1
|
|
2ac: d5810113 addi sp,sp,-680 # 1000 <begin_signature>
|
|
2b0: 00000013 nop
|
|
2b4: 00112823 sw ra,16(sp)
|
|
2b8: 01012f03 lw t5,16(sp)
|
|
2bc: ccddbeb7 lui t4,0xccddb
|
|
2c0: abbe8e93 addi t4,t4,-1349 # ccddaabb <_end+0xccdd9a33>
|
|
2c4: 1ddf1263 bne t5,t4,488 <fail>
|
|
2c8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
2cc: 00200293 li t0,2
|
|
2d0: fc5216e3 bne tp,t0,29c <test_16+0x8>
|
|
|
|
000002d4 <test_17>:
|
|
2d4: 01100193 li gp,17
|
|
2d8: 00000213 li tp,0
|
|
2dc: bccde0b7 lui ra,0xbccde
|
|
2e0: aab08093 addi ra,ra,-1365 # bccddaab <_end+0xbccdca23>
|
|
2e4: 00000013 nop
|
|
2e8: 00000013 nop
|
|
2ec: 00001117 auipc sp,0x1
|
|
2f0: d1410113 addi sp,sp,-748 # 1000 <begin_signature>
|
|
2f4: 00112a23 sw ra,20(sp)
|
|
2f8: 01412f03 lw t5,20(sp)
|
|
2fc: bccdeeb7 lui t4,0xbccde
|
|
300: aabe8e93 addi t4,t4,-1365 # bccddaab <_end+0xbccdca23>
|
|
304: 19df1263 bne t5,t4,488 <fail>
|
|
308: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
30c: 00200293 li t0,2
|
|
310: fc5216e3 bne tp,t0,2dc <test_17+0x8>
|
|
|
|
00000314 <test_18>:
|
|
314: 01200193 li gp,18
|
|
318: 00000213 li tp,0
|
|
31c: 00001117 auipc sp,0x1
|
|
320: ce410113 addi sp,sp,-796 # 1000 <begin_signature>
|
|
324: 001120b7 lui ra,0x112
|
|
328: 23308093 addi ra,ra,563 # 112233 <_end+0x1111ab>
|
|
32c: 00112023 sw ra,0(sp)
|
|
330: 00012f03 lw t5,0(sp)
|
|
334: 00112eb7 lui t4,0x112
|
|
338: 233e8e93 addi t4,t4,563 # 112233 <_end+0x1111ab>
|
|
33c: 15df1663 bne t5,t4,488 <fail>
|
|
340: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
344: 00200293 li t0,2
|
|
348: fc521ae3 bne tp,t0,31c <test_18+0x8>
|
|
|
|
0000034c <test_19>:
|
|
34c: 01300193 li gp,19
|
|
350: 00000213 li tp,0
|
|
354: 00001117 auipc sp,0x1
|
|
358: cac10113 addi sp,sp,-852 # 1000 <begin_signature>
|
|
35c: 300110b7 lui ra,0x30011
|
|
360: 22308093 addi ra,ra,547 # 30011223 <_end+0x3001019b>
|
|
364: 00000013 nop
|
|
368: 00112223 sw ra,4(sp)
|
|
36c: 00412f03 lw t5,4(sp)
|
|
370: 30011eb7 lui t4,0x30011
|
|
374: 223e8e93 addi t4,t4,547 # 30011223 <_end+0x3001019b>
|
|
378: 11df1863 bne t5,t4,488 <fail>
|
|
37c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
380: 00200293 li t0,2
|
|
384: fc5218e3 bne tp,t0,354 <test_19+0x8>
|
|
|
|
00000388 <test_20>:
|
|
388: 01400193 li gp,20
|
|
38c: 00000213 li tp,0
|
|
390: 00001117 auipc sp,0x1
|
|
394: c7010113 addi sp,sp,-912 # 1000 <begin_signature>
|
|
398: 330010b7 lui ra,0x33001
|
|
39c: 12208093 addi ra,ra,290 # 33001122 <_end+0x3300009a>
|
|
3a0: 00000013 nop
|
|
3a4: 00000013 nop
|
|
3a8: 00112423 sw ra,8(sp)
|
|
3ac: 00812f03 lw t5,8(sp)
|
|
3b0: 33001eb7 lui t4,0x33001
|
|
3b4: 122e8e93 addi t4,t4,290 # 33001122 <_end+0x3300009a>
|
|
3b8: 0ddf1863 bne t5,t4,488 <fail>
|
|
3bc: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
3c0: 00200293 li t0,2
|
|
3c4: fc5216e3 bne tp,t0,390 <test_20+0x8>
|
|
|
|
000003c8 <test_21>:
|
|
3c8: 01500193 li gp,21
|
|
3cc: 00000213 li tp,0
|
|
3d0: 00001117 auipc sp,0x1
|
|
3d4: c3010113 addi sp,sp,-976 # 1000 <begin_signature>
|
|
3d8: 00000013 nop
|
|
3dc: 233000b7 lui ra,0x23300
|
|
3e0: 11208093 addi ra,ra,274 # 23300112 <_end+0x232ff08a>
|
|
3e4: 00112623 sw ra,12(sp)
|
|
3e8: 00c12f03 lw t5,12(sp)
|
|
3ec: 23300eb7 lui t4,0x23300
|
|
3f0: 112e8e93 addi t4,t4,274 # 23300112 <_end+0x232ff08a>
|
|
3f4: 09df1a63 bne t5,t4,488 <fail>
|
|
3f8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
3fc: 00200293 li t0,2
|
|
400: fc5218e3 bne tp,t0,3d0 <test_21+0x8>
|
|
|
|
00000404 <test_22>:
|
|
404: 01600193 li gp,22
|
|
408: 00000213 li tp,0
|
|
40c: 00001117 auipc sp,0x1
|
|
410: bf410113 addi sp,sp,-1036 # 1000 <begin_signature>
|
|
414: 00000013 nop
|
|
418: 223300b7 lui ra,0x22330
|
|
41c: 01108093 addi ra,ra,17 # 22330011 <_end+0x2232ef89>
|
|
420: 00000013 nop
|
|
424: 00112823 sw ra,16(sp)
|
|
428: 01012f03 lw t5,16(sp)
|
|
42c: 22330eb7 lui t4,0x22330
|
|
430: 011e8e93 addi t4,t4,17 # 22330011 <_end+0x2232ef89>
|
|
434: 05df1a63 bne t5,t4,488 <fail>
|
|
438: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
43c: 00200293 li t0,2
|
|
440: fc5216e3 bne tp,t0,40c <test_22+0x8>
|
|
|
|
00000444 <test_23>:
|
|
444: 01700193 li gp,23
|
|
448: 00000213 li tp,0
|
|
44c: 00001117 auipc sp,0x1
|
|
450: bb410113 addi sp,sp,-1100 # 1000 <begin_signature>
|
|
454: 00000013 nop
|
|
458: 00000013 nop
|
|
45c: 122330b7 lui ra,0x12233
|
|
460: 00108093 addi ra,ra,1 # 12233001 <_end+0x12231f79>
|
|
464: 00112a23 sw ra,20(sp)
|
|
468: 01412f03 lw t5,20(sp)
|
|
46c: 12233eb7 lui t4,0x12233
|
|
470: 001e8e93 addi t4,t4,1 # 12233001 <_end+0x12231f79>
|
|
474: 01df1a63 bne t5,t4,488 <fail>
|
|
478: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
47c: 00200293 li t0,2
|
|
480: fc5216e3 bne tp,t0,44c <test_23+0x8>
|
|
484: 00301663 bne zero,gp,490 <pass>
|
|
|
|
00000488 <fail>:
|
|
488: 1000d073 csrwi sstatus,1
|
|
|
|
0000048c <loop_fail>:
|
|
48c: 0000006f j 48c <loop_fail>
|
|
|
|
00000490 <pass>:
|
|
490: 1001d073 csrwi sstatus,3
|
|
|
|
00000494 <loop_pass>:
|
|
494: 0000006f j 494 <loop_pass>
|
|
...
|
|
|
|
Disassembly of section .data:
|
|
|
|
00001000 <begin_signature>:
|
|
1000: deadbeef jal t4,fffdc5ea <_end+0xfffdb562>
|
|
|
|
00001004 <tdat2>:
|
|
1004: deadbeef jal t4,fffdc5ee <_end+0xfffdb566>
|
|
|
|
00001008 <tdat3>:
|
|
1008: deadbeef jal t4,fffdc5f2 <_end+0xfffdb56a>
|
|
|
|
0000100c <tdat4>:
|
|
100c: deadbeef jal t4,fffdc5f6 <_end+0xfffdb56e>
|
|
|
|
00001010 <tdat5>:
|
|
1010: deadbeef jal t4,fffdc5fa <_end+0xfffdb572>
|
|
|
|
00001014 <tdat6>:
|
|
1014: deadbeef jal t4,fffdc5fe <_end+0xfffdb576>
|
|
|
|
00001018 <tdat7>:
|
|
1018: deadbeef jal t4,fffdc602 <_end+0xfffdb57a>
|
|
|
|
0000101c <tdat8>:
|
|
101c: deadbeef jal t4,fffdc606 <_end+0xfffdb57e>
|
|
|
|
00001020 <tdat9>:
|
|
1020: deadbeef jal t4,fffdc60a <_end+0xfffdb582>
|
|
|
|
00001024 <tdat10>:
|
|
1024: deadbeef jal t4,fffdc60e <_end+0xfffdb586>
|
|
...
|
|
|
|
Disassembly of section .tohost:
|
|
|
|
00001040 <tohost>:
|
|
...
|
|
|
|
00001080 <fromhost>:
|
|
...
|
|
|
|
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 <test_2+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
|