2019-12-04 00:47:19 +00:00
|
|
|
|
|
|
|
generated/rv32ui-p-sb: file format elf32-littleriscv
|
|
|
|
|
|
|
|
|
|
|
|
Disassembly of section .text.init:
|
|
|
|
|
|
|
|
00000000 <_start>:
|
2021-07-10 06:49:36 +00:00
|
|
|
0: 10005073 csrwi sstatus,0
|
|
|
|
|
|
|
|
00000004 <test_2>:
|
|
|
|
4: 00001097 auipc ra,0x1
|
|
|
|
8: ffc08093 addi ra,ra,-4 # 1000 <begin_signature>
|
|
|
|
c: faa00113 li sp,-86
|
|
|
|
10: 00208023 sb sp,0(ra)
|
|
|
|
14: 00008f03 lb t5,0(ra)
|
|
|
|
18: faa00e93 li t4,-86
|
|
|
|
1c: 00200193 li gp,2
|
|
|
|
20: 3ddf1c63 bne t5,t4,3f8 <fail>
|
|
|
|
|
|
|
|
00000024 <test_3>:
|
|
|
|
24: 00001097 auipc ra,0x1
|
|
|
|
28: fdc08093 addi ra,ra,-36 # 1000 <begin_signature>
|
|
|
|
2c: 00000113 li sp,0
|
|
|
|
30: 002080a3 sb sp,1(ra)
|
|
|
|
34: 00108f03 lb t5,1(ra)
|
|
|
|
38: 00000e93 li t4,0
|
|
|
|
3c: 00300193 li gp,3
|
|
|
|
40: 3bdf1c63 bne t5,t4,3f8 <fail>
|
|
|
|
|
|
|
|
00000044 <test_4>:
|
|
|
|
44: 00001097 auipc ra,0x1
|
|
|
|
48: fbc08093 addi ra,ra,-68 # 1000 <begin_signature>
|
|
|
|
4c: fffff137 lui sp,0xfffff
|
|
|
|
50: fa010113 addi sp,sp,-96 # ffffefa0 <_end+0xffffdf18>
|
|
|
|
54: 00208123 sb sp,2(ra)
|
|
|
|
58: 00209f03 lh t5,2(ra)
|
|
|
|
5c: fffffeb7 lui t4,0xfffff
|
|
|
|
60: fa0e8e93 addi t4,t4,-96 # ffffefa0 <_end+0xffffdf18>
|
|
|
|
64: 00400193 li gp,4
|
|
|
|
68: 39df1863 bne t5,t4,3f8 <fail>
|
|
|
|
|
|
|
|
0000006c <test_5>:
|
|
|
|
6c: 00001097 auipc ra,0x1
|
|
|
|
70: f9408093 addi ra,ra,-108 # 1000 <begin_signature>
|
|
|
|
74: 00a00113 li sp,10
|
|
|
|
78: 002081a3 sb sp,3(ra)
|
|
|
|
7c: 00308f03 lb t5,3(ra)
|
|
|
|
80: 00a00e93 li t4,10
|
|
|
|
84: 00500193 li gp,5
|
|
|
|
88: 37df1863 bne t5,t4,3f8 <fail>
|
|
|
|
|
|
|
|
0000008c <test_6>:
|
|
|
|
8c: 00001097 auipc ra,0x1
|
|
|
|
90: f7b08093 addi ra,ra,-133 # 1007 <tdat8>
|
|
|
|
94: faa00113 li sp,-86
|
|
|
|
98: fe208ea3 sb sp,-3(ra)
|
|
|
|
9c: ffd08f03 lb t5,-3(ra)
|
|
|
|
a0: faa00e93 li t4,-86
|
|
|
|
a4: 00600193 li gp,6
|
|
|
|
a8: 35df1863 bne t5,t4,3f8 <fail>
|
|
|
|
|
|
|
|
000000ac <test_7>:
|
|
|
|
ac: 00001097 auipc ra,0x1
|
|
|
|
b0: f5b08093 addi ra,ra,-165 # 1007 <tdat8>
|
|
|
|
b4: 00000113 li sp,0
|
|
|
|
b8: fe208f23 sb sp,-2(ra)
|
|
|
|
bc: ffe08f03 lb t5,-2(ra)
|
|
|
|
c0: 00000e93 li t4,0
|
|
|
|
c4: 00700193 li gp,7
|
|
|
|
c8: 33df1863 bne t5,t4,3f8 <fail>
|
|
|
|
|
|
|
|
000000cc <test_8>:
|
|
|
|
cc: 00001097 auipc ra,0x1
|
|
|
|
d0: f3b08093 addi ra,ra,-197 # 1007 <tdat8>
|
|
|
|
d4: fa000113 li sp,-96
|
|
|
|
d8: fe208fa3 sb sp,-1(ra)
|
|
|
|
dc: fff08f03 lb t5,-1(ra)
|
|
|
|
e0: fa000e93 li t4,-96
|
|
|
|
e4: 00800193 li gp,8
|
|
|
|
e8: 31df1863 bne t5,t4,3f8 <fail>
|
|
|
|
|
|
|
|
000000ec <test_9>:
|
|
|
|
ec: 00001097 auipc ra,0x1
|
|
|
|
f0: f1b08093 addi ra,ra,-229 # 1007 <tdat8>
|
|
|
|
f4: 00a00113 li sp,10
|
|
|
|
f8: 00208023 sb sp,0(ra)
|
|
|
|
fc: 00008f03 lb t5,0(ra)
|
|
|
|
100: 00a00e93 li t4,10
|
|
|
|
104: 00900193 li gp,9
|
|
|
|
108: 2fdf1863 bne t5,t4,3f8 <fail>
|
|
|
|
|
|
|
|
0000010c <test_10>:
|
|
|
|
10c: 00001097 auipc ra,0x1
|
|
|
|
110: efc08093 addi ra,ra,-260 # 1008 <tdat9>
|
|
|
|
114: 12345137 lui sp,0x12345
|
|
|
|
118: 67810113 addi sp,sp,1656 # 12345678 <_end+0x123445f0>
|
|
|
|
11c: fe008213 addi tp,ra,-32
|
|
|
|
120: 02220023 sb sp,32(tp) # 20 <test_2+0x1c>
|
|
|
|
124: 00008283 lb t0,0(ra)
|
|
|
|
128: 07800e93 li t4,120
|
|
|
|
12c: 00a00193 li gp,10
|
|
|
|
130: 2dd29463 bne t0,t4,3f8 <fail>
|
|
|
|
|
|
|
|
00000134 <test_11>:
|
|
|
|
134: 00001097 auipc ra,0x1
|
|
|
|
138: ed408093 addi ra,ra,-300 # 1008 <tdat9>
|
|
|
|
13c: 00003137 lui sp,0x3
|
|
|
|
140: 09810113 addi sp,sp,152 # 3098 <_end+0x2010>
|
|
|
|
144: ffa08093 addi ra,ra,-6
|
|
|
|
148: 002083a3 sb sp,7(ra)
|
|
|
|
14c: 00001217 auipc tp,0x1
|
|
|
|
150: ebd20213 addi tp,tp,-323 # 1009 <tdat10>
|
|
|
|
154: 00020283 lb t0,0(tp) # 0 <_start>
|
|
|
|
158: f9800e93 li t4,-104
|
|
|
|
15c: 00b00193 li gp,11
|
|
|
|
160: 29d29c63 bne t0,t4,3f8 <fail>
|
|
|
|
|
|
|
|
00000164 <test_12>:
|
|
|
|
164: 00c00193 li gp,12
|
|
|
|
168: 00000213 li tp,0
|
|
|
|
16c: fdd00093 li ra,-35
|
|
|
|
170: 00001117 auipc sp,0x1
|
|
|
|
174: e9010113 addi sp,sp,-368 # 1000 <begin_signature>
|
|
|
|
178: 00110023 sb ra,0(sp)
|
|
|
|
17c: 00010f03 lb t5,0(sp)
|
|
|
|
180: fdd00e93 li t4,-35
|
|
|
|
184: 27df1a63 bne t5,t4,3f8 <fail>
|
|
|
|
188: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
18c: 00200293 li t0,2
|
|
|
|
190: fc521ee3 bne tp,t0,16c <test_12+0x8>
|
|
|
|
|
|
|
|
00000194 <test_13>:
|
|
|
|
194: 00d00193 li gp,13
|
|
|
|
198: 00000213 li tp,0
|
|
|
|
19c: fcd00093 li ra,-51
|
|
|
|
1a0: 00001117 auipc sp,0x1
|
|
|
|
1a4: e6010113 addi sp,sp,-416 # 1000 <begin_signature>
|
|
|
|
1a8: 00000013 nop
|
|
|
|
1ac: 001100a3 sb ra,1(sp)
|
|
|
|
1b0: 00110f03 lb t5,1(sp)
|
|
|
|
1b4: fcd00e93 li t4,-51
|
|
|
|
1b8: 25df1063 bne t5,t4,3f8 <fail>
|
|
|
|
1bc: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
1c0: 00200293 li t0,2
|
|
|
|
1c4: fc521ce3 bne tp,t0,19c <test_13+0x8>
|
|
|
|
|
|
|
|
000001c8 <test_14>:
|
|
|
|
1c8: 00e00193 li gp,14
|
|
|
|
1cc: 00000213 li tp,0
|
|
|
|
1d0: fcc00093 li ra,-52
|
|
|
|
1d4: 00001117 auipc sp,0x1
|
|
|
|
1d8: e2c10113 addi sp,sp,-468 # 1000 <begin_signature>
|
|
|
|
1dc: 00000013 nop
|
2019-12-04 00:47:19 +00:00
|
|
|
1e0: 00000013 nop
|
2021-07-10 06:49:36 +00:00
|
|
|
1e4: 00110123 sb ra,2(sp)
|
|
|
|
1e8: 00210f03 lb t5,2(sp)
|
|
|
|
1ec: fcc00e93 li t4,-52
|
|
|
|
1f0: 21df1463 bne t5,t4,3f8 <fail>
|
|
|
|
1f4: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
1f8: 00200293 li t0,2
|
|
|
|
1fc: fc521ae3 bne tp,t0,1d0 <test_14+0x8>
|
|
|
|
|
|
|
|
00000200 <test_15>:
|
|
|
|
200: 00f00193 li gp,15
|
|
|
|
204: 00000213 li tp,0
|
|
|
|
208: fbc00093 li ra,-68
|
|
|
|
20c: 00000013 nop
|
|
|
|
210: 00001117 auipc sp,0x1
|
|
|
|
214: df010113 addi sp,sp,-528 # 1000 <begin_signature>
|
|
|
|
218: 001101a3 sb ra,3(sp)
|
|
|
|
21c: 00310f03 lb t5,3(sp)
|
|
|
|
220: fbc00e93 li t4,-68
|
|
|
|
224: 1ddf1a63 bne t5,t4,3f8 <fail>
|
|
|
|
228: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
22c: 00200293 li t0,2
|
|
|
|
230: fc521ce3 bne tp,t0,208 <test_15+0x8>
|
|
|
|
|
|
|
|
00000234 <test_16>:
|
|
|
|
234: 01000193 li gp,16
|
|
|
|
238: 00000213 li tp,0
|
|
|
|
23c: fbb00093 li ra,-69
|
|
|
|
240: 00000013 nop
|
|
|
|
244: 00001117 auipc sp,0x1
|
|
|
|
248: dbc10113 addi sp,sp,-580 # 1000 <begin_signature>
|
|
|
|
24c: 00000013 nop
|
|
|
|
250: 00110223 sb ra,4(sp)
|
|
|
|
254: 00410f03 lb t5,4(sp)
|
|
|
|
258: fbb00e93 li t4,-69
|
|
|
|
25c: 19df1e63 bne t5,t4,3f8 <fail>
|
|
|
|
260: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
264: 00200293 li t0,2
|
|
|
|
268: fc521ae3 bne tp,t0,23c <test_16+0x8>
|
|
|
|
|
|
|
|
0000026c <test_17>:
|
|
|
|
26c: 01100193 li gp,17
|
|
|
|
270: 00000213 li tp,0
|
|
|
|
274: fab00093 li ra,-85
|
|
|
|
278: 00000013 nop
|
2019-12-04 00:47:19 +00:00
|
|
|
27c: 00000013 nop
|
2021-07-10 06:49:36 +00:00
|
|
|
280: 00001117 auipc sp,0x1
|
|
|
|
284: d8010113 addi sp,sp,-640 # 1000 <begin_signature>
|
|
|
|
288: 001102a3 sb ra,5(sp)
|
|
|
|
28c: 00510f03 lb t5,5(sp)
|
|
|
|
290: fab00e93 li t4,-85
|
|
|
|
294: 17df1263 bne t5,t4,3f8 <fail>
|
|
|
|
298: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
29c: 00200293 li t0,2
|
|
|
|
2a0: fc521ae3 bne tp,t0,274 <test_17+0x8>
|
|
|
|
|
|
|
|
000002a4 <test_18>:
|
|
|
|
2a4: 01200193 li gp,18
|
|
|
|
2a8: 00000213 li tp,0
|
|
|
|
2ac: 00001117 auipc sp,0x1
|
|
|
|
2b0: d5410113 addi sp,sp,-684 # 1000 <begin_signature>
|
|
|
|
2b4: 03300093 li ra,51
|
|
|
|
2b8: 00110023 sb ra,0(sp)
|
|
|
|
2bc: 00010f03 lb t5,0(sp)
|
|
|
|
2c0: 03300e93 li t4,51
|
|
|
|
2c4: 13df1a63 bne t5,t4,3f8 <fail>
|
|
|
|
2c8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
2cc: 00200293 li t0,2
|
|
|
|
2d0: fc521ee3 bne tp,t0,2ac <test_18+0x8>
|
|
|
|
|
|
|
|
000002d4 <test_19>:
|
|
|
|
2d4: 01300193 li gp,19
|
|
|
|
2d8: 00000213 li tp,0
|
|
|
|
2dc: 00001117 auipc sp,0x1
|
|
|
|
2e0: d2410113 addi sp,sp,-732 # 1000 <begin_signature>
|
|
|
|
2e4: 02300093 li ra,35
|
|
|
|
2e8: 00000013 nop
|
|
|
|
2ec: 001100a3 sb ra,1(sp)
|
|
|
|
2f0: 00110f03 lb t5,1(sp)
|
|
|
|
2f4: 02300e93 li t4,35
|
|
|
|
2f8: 11df1063 bne t5,t4,3f8 <fail>
|
|
|
|
2fc: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
300: 00200293 li t0,2
|
|
|
|
304: fc521ce3 bne tp,t0,2dc <test_19+0x8>
|
|
|
|
|
|
|
|
00000308 <test_20>:
|
|
|
|
308: 01400193 li gp,20
|
|
|
|
30c: 00000213 li tp,0
|
|
|
|
310: 00001117 auipc sp,0x1
|
|
|
|
314: cf010113 addi sp,sp,-784 # 1000 <begin_signature>
|
|
|
|
318: 02200093 li ra,34
|
|
|
|
31c: 00000013 nop
|
2019-12-04 00:47:19 +00:00
|
|
|
320: 00000013 nop
|
2021-07-10 06:49:36 +00:00
|
|
|
324: 00110123 sb ra,2(sp)
|
|
|
|
328: 00210f03 lb t5,2(sp)
|
|
|
|
32c: 02200e93 li t4,34
|
|
|
|
330: 0ddf1463 bne t5,t4,3f8 <fail>
|
|
|
|
334: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
338: 00200293 li t0,2
|
|
|
|
33c: fc521ae3 bne tp,t0,310 <test_20+0x8>
|
|
|
|
|
|
|
|
00000340 <test_21>:
|
|
|
|
340: 01500193 li gp,21
|
|
|
|
344: 00000213 li tp,0
|
|
|
|
348: 00001117 auipc sp,0x1
|
|
|
|
34c: cb810113 addi sp,sp,-840 # 1000 <begin_signature>
|
|
|
|
350: 00000013 nop
|
|
|
|
354: 01200093 li ra,18
|
|
|
|
358: 001101a3 sb ra,3(sp)
|
|
|
|
35c: 00310f03 lb t5,3(sp)
|
|
|
|
360: 01200e93 li t4,18
|
|
|
|
364: 09df1a63 bne t5,t4,3f8 <fail>
|
|
|
|
368: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
36c: 00200293 li t0,2
|
|
|
|
370: fc521ce3 bne tp,t0,348 <test_21+0x8>
|
|
|
|
|
|
|
|
00000374 <test_22>:
|
|
|
|
374: 01600193 li gp,22
|
|
|
|
378: 00000213 li tp,0
|
|
|
|
37c: 00001117 auipc sp,0x1
|
|
|
|
380: c8410113 addi sp,sp,-892 # 1000 <begin_signature>
|
|
|
|
384: 00000013 nop
|
|
|
|
388: 01100093 li ra,17
|
|
|
|
38c: 00000013 nop
|
|
|
|
390: 00110223 sb ra,4(sp)
|
|
|
|
394: 00410f03 lb t5,4(sp)
|
|
|
|
398: 01100e93 li t4,17
|
|
|
|
39c: 05df1e63 bne t5,t4,3f8 <fail>
|
|
|
|
3a0: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
3a4: 00200293 li t0,2
|
|
|
|
3a8: fc521ae3 bne tp,t0,37c <test_22+0x8>
|
|
|
|
|
|
|
|
000003ac <test_23>:
|
|
|
|
3ac: 01700193 li gp,23
|
|
|
|
3b0: 00000213 li tp,0
|
|
|
|
3b4: 00001117 auipc sp,0x1
|
|
|
|
3b8: c4c10113 addi sp,sp,-948 # 1000 <begin_signature>
|
|
|
|
3bc: 00000013 nop
|
2019-12-04 00:47:19 +00:00
|
|
|
3c0: 00000013 nop
|
2021-07-10 06:49:36 +00:00
|
|
|
3c4: 00100093 li ra,1
|
|
|
|
3c8: 001102a3 sb ra,5(sp)
|
|
|
|
3cc: 00510f03 lb t5,5(sp)
|
|
|
|
3d0: 00100e93 li t4,1
|
|
|
|
3d4: 03df1263 bne t5,t4,3f8 <fail>
|
|
|
|
3d8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
3dc: 00200293 li t0,2
|
|
|
|
3e0: fc521ae3 bne tp,t0,3b4 <test_23+0x8>
|
|
|
|
3e4: 0ef00513 li a0,239
|
|
|
|
3e8: 00001597 auipc a1,0x1
|
|
|
|
3ec: c1858593 addi a1,a1,-1000 # 1000 <begin_signature>
|
|
|
|
3f0: 00a581a3 sb a0,3(a1)
|
|
|
|
3f4: 00301663 bne zero,gp,400 <pass>
|
|
|
|
|
|
|
|
000003f8 <fail>:
|
|
|
|
3f8: 1000d073 csrwi sstatus,1
|
|
|
|
|
|
|
|
000003fc <loop_fail>:
|
|
|
|
3fc: 0000006f j 3fc <loop_fail>
|
|
|
|
|
|
|
|
00000400 <pass>:
|
|
|
|
400: 1001d073 csrwi sstatus,3
|
|
|
|
|
|
|
|
00000404 <loop_pass>:
|
|
|
|
404: 0000006f j 404 <loop_pass>
|
2019-12-04 00:47:19 +00:00
|
|
|
...
|
|
|
|
|
|
|
|
Disassembly of section .data:
|
|
|
|
|
|
|
|
00001000 <begin_signature>:
|
|
|
|
1000: jal t6,fffff6fe <_end+0xffffe676>
|
|
|
|
|
|
|
|
00001001 <tdat2>:
|
|
|
|
1001: jal t6,fffff6ff <_end+0xffffe677>
|
|
|
|
|
|
|
|
00001002 <tdat3>:
|
|
|
|
1002: jal t6,fffff700 <_end+0xffffe678>
|
|
|
|
|
|
|
|
00001003 <tdat4>:
|
|
|
|
1003: jal t6,fffff701 <_end+0xffffe679>
|
|
|
|
|
|
|
|
00001004 <tdat5>:
|
|
|
|
1004: jal t6,fffff702 <_end+0xffffe67a>
|
|
|
|
|
|
|
|
00001005 <tdat6>:
|
|
|
|
1005: jal t6,fffff703 <_end+0xffffe67b>
|
|
|
|
|
|
|
|
00001006 <tdat7>:
|
|
|
|
1006: jal t6,fffff704 <_end+0xffffe67c>
|
|
|
|
|
|
|
|
00001007 <tdat8>:
|
|
|
|
1007: jal t6,ff015 <_end+0xfdf8d>
|
|
|
|
|
|
|
|
00001008 <tdat9>:
|
|
|
|
1008: jal t6,f008 <_end+0xdf80>
|
|
|
|
|
|
|
|
00001009 <tdat10>:
|
|
|
|
1009: 000000ef jal ra,1009 <tdat10>
|
|
|
|
100d: 0000 unimp
|
|
|
|
...
|
|
|
|
|
|
|
|
Disassembly of section .tohost:
|
|
|
|
|
|
|
|
00001040 <tohost>:
|
|
|
|
...
|
|
|
|
|
|
|
|
00001080 <fromhost>:
|
|
|
|
...
|
2021-06-05 07:11:33 +00:00
|
|
|
|
|
|
|
Disassembly of section .riscv.attributes:
|
|
|
|
|
|
|
|
00000000 <.riscv.attributes>:
|
2021-07-10 06:49:36 +00:00
|
|
|
0: 1d41 addi s10,s10,-16
|
2021-06-05 07:11:33 +00:00
|
|
|
2: 0000 unimp
|
|
|
|
4: 7200 flw fs0,32(a2)
|
|
|
|
6: 7369 lui t1,0xffffa
|
2021-07-10 06:49:36 +00:00
|
|
|
8: 01007663 bgeu zero,a6,14 <test_2+0x10>
|
|
|
|
c: 00000013 nop
|
2021-06-05 07:11:33 +00:00
|
|
|
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
|
2021-07-10 06:49:36 +00:00
|
|
|
1a: 0108 addi a0,sp,128
|
|
|
|
1c: 0b0a slli s6,s6,0x2
|