410 lines
15 KiB
Plaintext
410 lines
15 KiB
Plaintext
|
|
generated/rv32ui-p-sh: 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: 0aa00113 li sp,170
|
|
10: 00209023 sh sp,0(ra)
|
|
14: 00009f03 lh t5,0(ra)
|
|
18: 0aa00e93 li t4,170
|
|
1c: 00200193 li gp,2
|
|
20: 45df1e63 bne t5,t4,47c <fail>
|
|
|
|
00000024 <test_3>:
|
|
24: 00001097 auipc ra,0x1
|
|
28: fdc08093 addi ra,ra,-36 # 1000 <begin_signature>
|
|
2c: ffffb137 lui sp,0xffffb
|
|
30: a0010113 addi sp,sp,-1536 # ffffaa00 <_end+0xffff9978>
|
|
34: 00209123 sh sp,2(ra)
|
|
38: 00209f03 lh t5,2(ra)
|
|
3c: ffffbeb7 lui t4,0xffffb
|
|
40: a00e8e93 addi t4,t4,-1536 # ffffaa00 <_end+0xffff9978>
|
|
44: 00300193 li gp,3
|
|
48: 43df1a63 bne t5,t4,47c <fail>
|
|
|
|
0000004c <test_4>:
|
|
4c: 00001097 auipc ra,0x1
|
|
50: fb408093 addi ra,ra,-76 # 1000 <begin_signature>
|
|
54: beef1137 lui sp,0xbeef1
|
|
58: aa010113 addi sp,sp,-1376 # beef0aa0 <_end+0xbeeefa18>
|
|
5c: 00209223 sh sp,4(ra)
|
|
60: 0040af03 lw t5,4(ra)
|
|
64: beef1eb7 lui t4,0xbeef1
|
|
68: aa0e8e93 addi t4,t4,-1376 # beef0aa0 <_end+0xbeeefa18>
|
|
6c: 00400193 li gp,4
|
|
70: 41df1663 bne t5,t4,47c <fail>
|
|
|
|
00000074 <test_5>:
|
|
74: 00001097 auipc ra,0x1
|
|
78: f8c08093 addi ra,ra,-116 # 1000 <begin_signature>
|
|
7c: ffffa137 lui sp,0xffffa
|
|
80: 00a10113 addi sp,sp,10 # ffffa00a <_end+0xffff8f82>
|
|
84: 00209323 sh sp,6(ra)
|
|
88: 00609f03 lh t5,6(ra)
|
|
8c: ffffaeb7 lui t4,0xffffa
|
|
90: 00ae8e93 addi t4,t4,10 # ffffa00a <_end+0xffff8f82>
|
|
94: 00500193 li gp,5
|
|
98: 3fdf1263 bne t5,t4,47c <fail>
|
|
|
|
0000009c <test_6>:
|
|
9c: 00001097 auipc ra,0x1
|
|
a0: f7208093 addi ra,ra,-142 # 100e <tdat8>
|
|
a4: 0aa00113 li sp,170
|
|
a8: fe209d23 sh sp,-6(ra)
|
|
ac: ffa09f03 lh t5,-6(ra)
|
|
b0: 0aa00e93 li t4,170
|
|
b4: 00600193 li gp,6
|
|
b8: 3ddf1263 bne t5,t4,47c <fail>
|
|
|
|
000000bc <test_7>:
|
|
bc: 00001097 auipc ra,0x1
|
|
c0: f5208093 addi ra,ra,-174 # 100e <tdat8>
|
|
c4: ffffb137 lui sp,0xffffb
|
|
c8: a0010113 addi sp,sp,-1536 # ffffaa00 <_end+0xffff9978>
|
|
cc: fe209e23 sh sp,-4(ra)
|
|
d0: ffc09f03 lh t5,-4(ra)
|
|
d4: ffffbeb7 lui t4,0xffffb
|
|
d8: a00e8e93 addi t4,t4,-1536 # ffffaa00 <_end+0xffff9978>
|
|
dc: 00700193 li gp,7
|
|
e0: 39df1e63 bne t5,t4,47c <fail>
|
|
|
|
000000e4 <test_8>:
|
|
e4: 00001097 auipc ra,0x1
|
|
e8: f2a08093 addi ra,ra,-214 # 100e <tdat8>
|
|
ec: 00001137 lui sp,0x1
|
|
f0: aa010113 addi sp,sp,-1376 # aa0 <loop_pass+0x618>
|
|
f4: fe209f23 sh sp,-2(ra)
|
|
f8: ffe09f03 lh t5,-2(ra)
|
|
fc: 00001eb7 lui t4,0x1
|
|
100: aa0e8e93 addi t4,t4,-1376 # aa0 <loop_pass+0x618>
|
|
104: 00800193 li gp,8
|
|
108: 37df1a63 bne t5,t4,47c <fail>
|
|
|
|
0000010c <test_9>:
|
|
10c: 00001097 auipc ra,0x1
|
|
110: f0208093 addi ra,ra,-254 # 100e <tdat8>
|
|
114: ffffa137 lui sp,0xffffa
|
|
118: 00a10113 addi sp,sp,10 # ffffa00a <_end+0xffff8f82>
|
|
11c: 00209023 sh sp,0(ra)
|
|
120: 00009f03 lh t5,0(ra)
|
|
124: ffffaeb7 lui t4,0xffffa
|
|
128: 00ae8e93 addi t4,t4,10 # ffffa00a <_end+0xffff8f82>
|
|
12c: 00900193 li gp,9
|
|
130: 35df1663 bne t5,t4,47c <fail>
|
|
|
|
00000134 <test_10>:
|
|
134: 00001097 auipc ra,0x1
|
|
138: edc08093 addi ra,ra,-292 # 1010 <tdat9>
|
|
13c: 12345137 lui sp,0x12345
|
|
140: 67810113 addi sp,sp,1656 # 12345678 <_end+0x123445f0>
|
|
144: fe008213 addi tp,ra,-32
|
|
148: 02221023 sh sp,32(tp) # 20 <test_2+0x1c>
|
|
14c: 00009283 lh t0,0(ra)
|
|
150: 00005eb7 lui t4,0x5
|
|
154: 678e8e93 addi t4,t4,1656 # 5678 <_end+0x45f0>
|
|
158: 00a00193 li gp,10
|
|
15c: 33d29063 bne t0,t4,47c <fail>
|
|
|
|
00000160 <test_11>:
|
|
160: 00001097 auipc ra,0x1
|
|
164: eb008093 addi ra,ra,-336 # 1010 <tdat9>
|
|
168: 00003137 lui sp,0x3
|
|
16c: 09810113 addi sp,sp,152 # 3098 <_end+0x2010>
|
|
170: ffb08093 addi ra,ra,-5
|
|
174: 002093a3 sh sp,7(ra)
|
|
178: 00001217 auipc tp,0x1
|
|
17c: e9a20213 addi tp,tp,-358 # 1012 <tdat10>
|
|
180: 00021283 lh t0,0(tp) # 0 <_start>
|
|
184: 00003eb7 lui t4,0x3
|
|
188: 098e8e93 addi t4,t4,152 # 3098 <_end+0x2010>
|
|
18c: 00b00193 li gp,11
|
|
190: 2fd29663 bne t0,t4,47c <fail>
|
|
|
|
00000194 <test_12>:
|
|
194: 00c00193 li gp,12
|
|
198: 00000213 li tp,0
|
|
19c: ffffd0b7 lui ra,0xffffd
|
|
1a0: cdd08093 addi ra,ra,-803 # ffffccdd <_end+0xffffbc55>
|
|
1a4: 00001117 auipc sp,0x1
|
|
1a8: e5c10113 addi sp,sp,-420 # 1000 <begin_signature>
|
|
1ac: 00111023 sh ra,0(sp)
|
|
1b0: 00011f03 lh t5,0(sp)
|
|
1b4: ffffdeb7 lui t4,0xffffd
|
|
1b8: cdde8e93 addi t4,t4,-803 # ffffccdd <_end+0xffffbc55>
|
|
1bc: 2ddf1063 bne t5,t4,47c <fail>
|
|
1c0: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
1c4: 00200293 li t0,2
|
|
1c8: fc521ae3 bne tp,t0,19c <test_12+0x8>
|
|
|
|
000001cc <test_13>:
|
|
1cc: 00d00193 li gp,13
|
|
1d0: 00000213 li tp,0
|
|
1d4: ffffc0b7 lui ra,0xffffc
|
|
1d8: ccd08093 addi ra,ra,-819 # ffffbccd <_end+0xffffac45>
|
|
1dc: 00001117 auipc sp,0x1
|
|
1e0: e2410113 addi sp,sp,-476 # 1000 <begin_signature>
|
|
1e4: 00000013 nop
|
|
1e8: 00111123 sh ra,2(sp)
|
|
1ec: 00211f03 lh t5,2(sp)
|
|
1f0: ffffceb7 lui t4,0xffffc
|
|
1f4: ccde8e93 addi t4,t4,-819 # ffffbccd <_end+0xffffac45>
|
|
1f8: 29df1263 bne t5,t4,47c <fail>
|
|
1fc: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
200: 00200293 li t0,2
|
|
204: fc5218e3 bne tp,t0,1d4 <test_13+0x8>
|
|
|
|
00000208 <test_14>:
|
|
208: 00e00193 li gp,14
|
|
20c: 00000213 li tp,0
|
|
210: ffffc0b7 lui ra,0xffffc
|
|
214: bcc08093 addi ra,ra,-1076 # ffffbbcc <_end+0xffffab44>
|
|
218: 00001117 auipc sp,0x1
|
|
21c: de810113 addi sp,sp,-536 # 1000 <begin_signature>
|
|
220: 00000013 nop
|
|
224: 00000013 nop
|
|
228: 00111223 sh ra,4(sp)
|
|
22c: 00411f03 lh t5,4(sp)
|
|
230: ffffceb7 lui t4,0xffffc
|
|
234: bcce8e93 addi t4,t4,-1076 # ffffbbcc <_end+0xffffab44>
|
|
238: 25df1263 bne t5,t4,47c <fail>
|
|
23c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
240: 00200293 li t0,2
|
|
244: fc5216e3 bne tp,t0,210 <test_14+0x8>
|
|
|
|
00000248 <test_15>:
|
|
248: 00f00193 li gp,15
|
|
24c: 00000213 li tp,0
|
|
250: ffffb0b7 lui ra,0xffffb
|
|
254: bbc08093 addi ra,ra,-1092 # ffffabbc <_end+0xffff9b34>
|
|
258: 00000013 nop
|
|
25c: 00001117 auipc sp,0x1
|
|
260: da410113 addi sp,sp,-604 # 1000 <begin_signature>
|
|
264: 00111323 sh ra,6(sp)
|
|
268: 00611f03 lh t5,6(sp)
|
|
26c: ffffbeb7 lui t4,0xffffb
|
|
270: bbce8e93 addi t4,t4,-1092 # ffffabbc <_end+0xffff9b34>
|
|
274: 21df1463 bne t5,t4,47c <fail>
|
|
278: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
27c: 00200293 li t0,2
|
|
280: fc5218e3 bne tp,t0,250 <test_15+0x8>
|
|
|
|
00000284 <test_16>:
|
|
284: 01000193 li gp,16
|
|
288: 00000213 li tp,0
|
|
28c: ffffb0b7 lui ra,0xffffb
|
|
290: abb08093 addi ra,ra,-1349 # ffffaabb <_end+0xffff9a33>
|
|
294: 00000013 nop
|
|
298: 00001117 auipc sp,0x1
|
|
29c: d6810113 addi sp,sp,-664 # 1000 <begin_signature>
|
|
2a0: 00000013 nop
|
|
2a4: 00111423 sh ra,8(sp)
|
|
2a8: 00811f03 lh t5,8(sp)
|
|
2ac: ffffbeb7 lui t4,0xffffb
|
|
2b0: abbe8e93 addi t4,t4,-1349 # ffffaabb <_end+0xffff9a33>
|
|
2b4: 1ddf1463 bne t5,t4,47c <fail>
|
|
2b8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
2bc: 00200293 li t0,2
|
|
2c0: fc5216e3 bne tp,t0,28c <test_16+0x8>
|
|
|
|
000002c4 <test_17>:
|
|
2c4: 01100193 li gp,17
|
|
2c8: 00000213 li tp,0
|
|
2cc: ffffe0b7 lui ra,0xffffe
|
|
2d0: aab08093 addi ra,ra,-1365 # ffffdaab <_end+0xffffca23>
|
|
2d4: 00000013 nop
|
|
2d8: 00000013 nop
|
|
2dc: 00001117 auipc sp,0x1
|
|
2e0: d2410113 addi sp,sp,-732 # 1000 <begin_signature>
|
|
2e4: 00111523 sh ra,10(sp)
|
|
2e8: 00a11f03 lh t5,10(sp)
|
|
2ec: ffffeeb7 lui t4,0xffffe
|
|
2f0: aabe8e93 addi t4,t4,-1365 # ffffdaab <_end+0xffffca23>
|
|
2f4: 19df1463 bne t5,t4,47c <fail>
|
|
2f8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
2fc: 00200293 li t0,2
|
|
300: fc5216e3 bne tp,t0,2cc <test_17+0x8>
|
|
|
|
00000304 <test_18>:
|
|
304: 01200193 li gp,18
|
|
308: 00000213 li tp,0
|
|
30c: 00001117 auipc sp,0x1
|
|
310: cf410113 addi sp,sp,-780 # 1000 <begin_signature>
|
|
314: 000020b7 lui ra,0x2
|
|
318: 23308093 addi ra,ra,563 # 2233 <_end+0x11ab>
|
|
31c: 00111023 sh ra,0(sp)
|
|
320: 00011f03 lh t5,0(sp)
|
|
324: 00002eb7 lui t4,0x2
|
|
328: 233e8e93 addi t4,t4,563 # 2233 <_end+0x11ab>
|
|
32c: 15df1863 bne t5,t4,47c <fail>
|
|
330: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
334: 00200293 li t0,2
|
|
338: fc521ae3 bne tp,t0,30c <test_18+0x8>
|
|
|
|
0000033c <test_19>:
|
|
33c: 01300193 li gp,19
|
|
340: 00000213 li tp,0
|
|
344: 00001117 auipc sp,0x1
|
|
348: cbc10113 addi sp,sp,-836 # 1000 <begin_signature>
|
|
34c: 000010b7 lui ra,0x1
|
|
350: 22308093 addi ra,ra,547 # 1223 <_end+0x19b>
|
|
354: 00000013 nop
|
|
358: 00111123 sh ra,2(sp)
|
|
35c: 00211f03 lh t5,2(sp)
|
|
360: 00001eb7 lui t4,0x1
|
|
364: 223e8e93 addi t4,t4,547 # 1223 <_end+0x19b>
|
|
368: 11df1a63 bne t5,t4,47c <fail>
|
|
36c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
370: 00200293 li t0,2
|
|
374: fc5218e3 bne tp,t0,344 <test_19+0x8>
|
|
|
|
00000378 <test_20>:
|
|
378: 01400193 li gp,20
|
|
37c: 00000213 li tp,0
|
|
380: 00001117 auipc sp,0x1
|
|
384: c8010113 addi sp,sp,-896 # 1000 <begin_signature>
|
|
388: 000010b7 lui ra,0x1
|
|
38c: 12208093 addi ra,ra,290 # 1122 <_end+0x9a>
|
|
390: 00000013 nop
|
|
394: 00000013 nop
|
|
398: 00111223 sh ra,4(sp)
|
|
39c: 00411f03 lh t5,4(sp)
|
|
3a0: 00001eb7 lui t4,0x1
|
|
3a4: 122e8e93 addi t4,t4,290 # 1122 <_end+0x9a>
|
|
3a8: 0ddf1a63 bne t5,t4,47c <fail>
|
|
3ac: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
3b0: 00200293 li t0,2
|
|
3b4: fc5216e3 bne tp,t0,380 <test_20+0x8>
|
|
|
|
000003b8 <test_21>:
|
|
3b8: 01500193 li gp,21
|
|
3bc: 00000213 li tp,0
|
|
3c0: 00001117 auipc sp,0x1
|
|
3c4: c4010113 addi sp,sp,-960 # 1000 <begin_signature>
|
|
3c8: 00000013 nop
|
|
3cc: 11200093 li ra,274
|
|
3d0: 00111323 sh ra,6(sp)
|
|
3d4: 00611f03 lh t5,6(sp)
|
|
3d8: 11200e93 li t4,274
|
|
3dc: 0bdf1063 bne t5,t4,47c <fail>
|
|
3e0: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
3e4: 00200293 li t0,2
|
|
3e8: fc521ce3 bne tp,t0,3c0 <test_21+0x8>
|
|
|
|
000003ec <test_22>:
|
|
3ec: 01600193 li gp,22
|
|
3f0: 00000213 li tp,0
|
|
3f4: 00001117 auipc sp,0x1
|
|
3f8: c0c10113 addi sp,sp,-1012 # 1000 <begin_signature>
|
|
3fc: 00000013 nop
|
|
400: 01100093 li ra,17
|
|
404: 00000013 nop
|
|
408: 00111423 sh ra,8(sp)
|
|
40c: 00811f03 lh t5,8(sp)
|
|
410: 01100e93 li t4,17
|
|
414: 07df1463 bne t5,t4,47c <fail>
|
|
418: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
41c: 00200293 li t0,2
|
|
420: fc521ae3 bne tp,t0,3f4 <test_22+0x8>
|
|
|
|
00000424 <test_23>:
|
|
424: 01700193 li gp,23
|
|
428: 00000213 li tp,0
|
|
42c: 00001117 auipc sp,0x1
|
|
430: bd410113 addi sp,sp,-1068 # 1000 <begin_signature>
|
|
434: 00000013 nop
|
|
438: 00000013 nop
|
|
43c: 000030b7 lui ra,0x3
|
|
440: 00108093 addi ra,ra,1 # 3001 <_end+0x1f79>
|
|
444: 00111523 sh ra,10(sp)
|
|
448: 00a11f03 lh t5,10(sp)
|
|
44c: 00003eb7 lui t4,0x3
|
|
450: 001e8e93 addi t4,t4,1 # 3001 <_end+0x1f79>
|
|
454: 03df1463 bne t5,t4,47c <fail>
|
|
458: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
45c: 00200293 li t0,2
|
|
460: fc5216e3 bne tp,t0,42c <test_23+0x8>
|
|
464: 0000c537 lui a0,0xc
|
|
468: eef50513 addi a0,a0,-273 # beef <_end+0xae67>
|
|
46c: 00001597 auipc a1,0x1
|
|
470: b9458593 addi a1,a1,-1132 # 1000 <begin_signature>
|
|
474: 00a59323 sh a0,6(a1)
|
|
478: 00301663 bne zero,gp,484 <pass>
|
|
|
|
0000047c <fail>:
|
|
47c: 1000d073 csrwi sstatus,1
|
|
|
|
00000480 <loop_fail>:
|
|
480: 0000006f j 480 <loop_fail>
|
|
|
|
00000484 <pass>:
|
|
484: 1001d073 csrwi sstatus,3
|
|
|
|
00000488 <loop_pass>:
|
|
488: 0000006f j 488 <loop_pass>
|
|
...
|
|
|
|
Disassembly of section .data:
|
|
|
|
00001000 <begin_signature>:
|
|
1000: jal t4,ffffc3ee <_end+0xffffb366>
|
|
|
|
00001002 <tdat2>:
|
|
1002: jal t4,ffffc3f0 <_end+0xffffb368>
|
|
|
|
00001004 <tdat3>:
|
|
1004: jal t4,ffffc3f2 <_end+0xffffb36a>
|
|
|
|
00001006 <tdat4>:
|
|
1006: jal t4,ffffc3f4 <_end+0xffffb36c>
|
|
|
|
00001008 <tdat5>:
|
|
1008: jal t4,ffffc3f6 <_end+0xffffb36e>
|
|
|
|
0000100a <tdat6>:
|
|
100a: jal t4,ffffc3f8 <_end+0xffffb370>
|
|
|
|
0000100c <tdat7>:
|
|
100c: jal t4,ffffc3fa <_end+0xffffb372>
|
|
|
|
0000100e <tdat8>:
|
|
100e: jal t4,ffffc3fc <_end+0xffffb374>
|
|
|
|
00001010 <tdat9>:
|
|
1010: jal t4,ffffc3fe <_end+0xffffb376>
|
|
|
|
00001012 <tdat10>:
|
|
1012: 0000beef jal t4,c012 <_end+0xaf8a>
|
|
...
|
|
|
|
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
|