tinyriscv/tests/isa/generated/rv32ui-p-sra.dump

490 lines
17 KiB
Plaintext

generated/rv32ui-p-sra: file format elf32-littleriscv
Disassembly of section .text.init:
00000000 <_start>:
0: 10005073 csrwi sstatus,0
00000004 <test_2>:
4: 800000b7 lui ra,0x80000
8: 00000113 li sp,0
c: 4020df33 sra t5,ra,sp
10: 80000eb7 lui t4,0x80000
14: 00200193 li gp,2
18: 59df1463 bne t5,t4,5a0 <fail>
0000001c <test_3>:
1c: 800000b7 lui ra,0x80000
20: 00100113 li sp,1
24: 4020df33 sra t5,ra,sp
28: c0000eb7 lui t4,0xc0000
2c: 00300193 li gp,3
30: 57df1863 bne t5,t4,5a0 <fail>
00000034 <test_4>:
34: 800000b7 lui ra,0x80000
38: 00700113 li sp,7
3c: 4020df33 sra t5,ra,sp
40: ff000eb7 lui t4,0xff000
44: 00400193 li gp,4
48: 55df1c63 bne t5,t4,5a0 <fail>
0000004c <test_5>:
4c: 800000b7 lui ra,0x80000
50: 00e00113 li sp,14
54: 4020df33 sra t5,ra,sp
58: fffe0eb7 lui t4,0xfffe0
5c: 00500193 li gp,5
60: 55df1063 bne t5,t4,5a0 <fail>
00000064 <test_6>:
64: 800000b7 lui ra,0x80000
68: 00108093 addi ra,ra,1 # 80000001 <begin_signature+0x7ffff001>
6c: 01f00113 li sp,31
70: 4020df33 sra t5,ra,sp
74: fff00e93 li t4,-1
78: 00600193 li gp,6
7c: 53df1263 bne t5,t4,5a0 <fail>
00000080 <test_7>:
80: 800000b7 lui ra,0x80000
84: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
88: 00000113 li sp,0
8c: 4020df33 sra t5,ra,sp
90: 80000eb7 lui t4,0x80000
94: fffe8e93 addi t4,t4,-1 # 7fffffff <begin_signature+0x7fffefff>
98: 00700193 li gp,7
9c: 51df1263 bne t5,t4,5a0 <fail>
000000a0 <test_8>:
a0: 800000b7 lui ra,0x80000
a4: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
a8: 00100113 li sp,1
ac: 4020df33 sra t5,ra,sp
b0: 40000eb7 lui t4,0x40000
b4: fffe8e93 addi t4,t4,-1 # 3fffffff <begin_signature+0x3fffefff>
b8: 00800193 li gp,8
bc: 4fdf1263 bne t5,t4,5a0 <fail>
000000c0 <test_9>:
c0: 800000b7 lui ra,0x80000
c4: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
c8: 00700113 li sp,7
cc: 4020df33 sra t5,ra,sp
d0: 01000eb7 lui t4,0x1000
d4: fffe8e93 addi t4,t4,-1 # ffffff <begin_signature+0xffefff>
d8: 00900193 li gp,9
dc: 4ddf1263 bne t5,t4,5a0 <fail>
000000e0 <test_10>:
e0: 800000b7 lui ra,0x80000
e4: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
e8: 00e00113 li sp,14
ec: 4020df33 sra t5,ra,sp
f0: 00020eb7 lui t4,0x20
f4: fffe8e93 addi t4,t4,-1 # 1ffff <begin_signature+0x1efff>
f8: 00a00193 li gp,10
fc: 4bdf1263 bne t5,t4,5a0 <fail>
00000100 <test_11>:
100: 800000b7 lui ra,0x80000
104: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
108: 01f00113 li sp,31
10c: 4020df33 sra t5,ra,sp
110: 00000e93 li t4,0
114: 00b00193 li gp,11
118: 49df1463 bne t5,t4,5a0 <fail>
0000011c <test_12>:
11c: 818180b7 lui ra,0x81818
120: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
124: 00000113 li sp,0
128: 4020df33 sra t5,ra,sp
12c: 81818eb7 lui t4,0x81818
130: 181e8e93 addi t4,t4,385 # 81818181 <begin_signature+0x81817181>
134: 00c00193 li gp,12
138: 47df1463 bne t5,t4,5a0 <fail>
0000013c <test_13>:
13c: 818180b7 lui ra,0x81818
140: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
144: 00100113 li sp,1
148: 4020df33 sra t5,ra,sp
14c: c0c0ceb7 lui t4,0xc0c0c
150: 0c0e8e93 addi t4,t4,192 # c0c0c0c0 <begin_signature+0xc0c0b0c0>
154: 00d00193 li gp,13
158: 45df1463 bne t5,t4,5a0 <fail>
0000015c <test_14>:
15c: 818180b7 lui ra,0x81818
160: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
164: 00700113 li sp,7
168: 4020df33 sra t5,ra,sp
16c: ff030eb7 lui t4,0xff030
170: 303e8e93 addi t4,t4,771 # ff030303 <begin_signature+0xff02f303>
174: 00e00193 li gp,14
178: 43df1463 bne t5,t4,5a0 <fail>
0000017c <test_15>:
17c: 818180b7 lui ra,0x81818
180: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
184: 00e00113 li sp,14
188: 4020df33 sra t5,ra,sp
18c: fffe0eb7 lui t4,0xfffe0
190: 606e8e93 addi t4,t4,1542 # fffe0606 <begin_signature+0xfffdf606>
194: 00f00193 li gp,15
198: 41df1463 bne t5,t4,5a0 <fail>
0000019c <test_16>:
19c: 818180b7 lui ra,0x81818
1a0: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
1a4: 01f00113 li sp,31
1a8: 4020df33 sra t5,ra,sp
1ac: fff00e93 li t4,-1
1b0: 01000193 li gp,16
1b4: 3fdf1663 bne t5,t4,5a0 <fail>
000001b8 <test_17>:
1b8: 818180b7 lui ra,0x81818
1bc: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
1c0: fc000113 li sp,-64
1c4: 4020df33 sra t5,ra,sp
1c8: 81818eb7 lui t4,0x81818
1cc: 181e8e93 addi t4,t4,385 # 81818181 <begin_signature+0x81817181>
1d0: 01100193 li gp,17
1d4: 3ddf1663 bne t5,t4,5a0 <fail>
000001d8 <test_18>:
1d8: 818180b7 lui ra,0x81818
1dc: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
1e0: fc100113 li sp,-63
1e4: 4020df33 sra t5,ra,sp
1e8: c0c0ceb7 lui t4,0xc0c0c
1ec: 0c0e8e93 addi t4,t4,192 # c0c0c0c0 <begin_signature+0xc0c0b0c0>
1f0: 01200193 li gp,18
1f4: 3bdf1663 bne t5,t4,5a0 <fail>
000001f8 <test_19>:
1f8: 818180b7 lui ra,0x81818
1fc: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
200: fc700113 li sp,-57
204: 4020df33 sra t5,ra,sp
208: ff030eb7 lui t4,0xff030
20c: 303e8e93 addi t4,t4,771 # ff030303 <begin_signature+0xff02f303>
210: 01300193 li gp,19
214: 39df1663 bne t5,t4,5a0 <fail>
00000218 <test_20>:
218: 818180b7 lui ra,0x81818
21c: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
220: fce00113 li sp,-50
224: 4020df33 sra t5,ra,sp
228: fffe0eb7 lui t4,0xfffe0
22c: 606e8e93 addi t4,t4,1542 # fffe0606 <begin_signature+0xfffdf606>
230: 01400193 li gp,20
234: 37df1663 bne t5,t4,5a0 <fail>
00000238 <test_21>:
238: 818180b7 lui ra,0x81818
23c: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
240: fff00113 li sp,-1
244: 4020df33 sra t5,ra,sp
248: fff00e93 li t4,-1
24c: 01500193 li gp,21
250: 35df1863 bne t5,t4,5a0 <fail>
00000254 <test_22>:
254: 800000b7 lui ra,0x80000
258: 00700113 li sp,7
25c: 4020d0b3 sra ra,ra,sp
260: ff000eb7 lui t4,0xff000
264: 01600193 li gp,22
268: 33d09c63 bne ra,t4,5a0 <fail>
0000026c <test_23>:
26c: 800000b7 lui ra,0x80000
270: 00e00113 li sp,14
274: 4020d133 sra sp,ra,sp
278: fffe0eb7 lui t4,0xfffe0
27c: 01700193 li gp,23
280: 33d11063 bne sp,t4,5a0 <fail>
00000284 <test_24>:
284: 00700093 li ra,7
288: 4010d0b3 sra ra,ra,ra
28c: 00000e93 li t4,0
290: 01800193 li gp,24
294: 31d09663 bne ra,t4,5a0 <fail>
00000298 <test_25>:
298: 00000213 li tp,0
29c: 800000b7 lui ra,0x80000
2a0: 00700113 li sp,7
2a4: 4020df33 sra t5,ra,sp
2a8: 000f0313 mv t1,t5
2ac: 00120213 addi tp,tp,1 # 1 <_start+0x1>
2b0: 00200293 li t0,2
2b4: fe5214e3 bne tp,t0,29c <test_25+0x4>
2b8: ff000eb7 lui t4,0xff000
2bc: 01900193 li gp,25
2c0: 2fd31063 bne t1,t4,5a0 <fail>
000002c4 <test_26>:
2c4: 00000213 li tp,0
2c8: 800000b7 lui ra,0x80000
2cc: 00e00113 li sp,14
2d0: 4020df33 sra t5,ra,sp
2d4: 00000013 nop
2d8: 000f0313 mv t1,t5
2dc: 00120213 addi tp,tp,1 # 1 <_start+0x1>
2e0: 00200293 li t0,2
2e4: fe5212e3 bne tp,t0,2c8 <test_26+0x4>
2e8: fffe0eb7 lui t4,0xfffe0
2ec: 01a00193 li gp,26
2f0: 2bd31863 bne t1,t4,5a0 <fail>
000002f4 <test_27>:
2f4: 00000213 li tp,0
2f8: 800000b7 lui ra,0x80000
2fc: 01f00113 li sp,31
300: 4020df33 sra t5,ra,sp
304: 00000013 nop
308: 00000013 nop
30c: 000f0313 mv t1,t5
310: 00120213 addi tp,tp,1 # 1 <_start+0x1>
314: 00200293 li t0,2
318: fe5210e3 bne tp,t0,2f8 <test_27+0x4>
31c: fff00e93 li t4,-1
320: 01b00193 li gp,27
324: 27d31e63 bne t1,t4,5a0 <fail>
00000328 <test_28>:
328: 00000213 li tp,0
32c: 800000b7 lui ra,0x80000
330: 00700113 li sp,7
334: 4020df33 sra t5,ra,sp
338: 00120213 addi tp,tp,1 # 1 <_start+0x1>
33c: 00200293 li t0,2
340: fe5216e3 bne tp,t0,32c <test_28+0x4>
344: ff000eb7 lui t4,0xff000
348: 01c00193 li gp,28
34c: 25df1a63 bne t5,t4,5a0 <fail>
00000350 <test_29>:
350: 00000213 li tp,0
354: 800000b7 lui ra,0x80000
358: 00e00113 li sp,14
35c: 00000013 nop
360: 4020df33 sra t5,ra,sp
364: 00120213 addi tp,tp,1 # 1 <_start+0x1>
368: 00200293 li t0,2
36c: fe5214e3 bne tp,t0,354 <test_29+0x4>
370: fffe0eb7 lui t4,0xfffe0
374: 01d00193 li gp,29
378: 23df1463 bne t5,t4,5a0 <fail>
0000037c <test_30>:
37c: 00000213 li tp,0
380: 800000b7 lui ra,0x80000
384: 01f00113 li sp,31
388: 00000013 nop
38c: 00000013 nop
390: 4020df33 sra t5,ra,sp
394: 00120213 addi tp,tp,1 # 1 <_start+0x1>
398: 00200293 li t0,2
39c: fe5212e3 bne tp,t0,380 <test_30+0x4>
3a0: fff00e93 li t4,-1
3a4: 01e00193 li gp,30
3a8: 1fdf1c63 bne t5,t4,5a0 <fail>
000003ac <test_31>:
3ac: 00000213 li tp,0
3b0: 800000b7 lui ra,0x80000
3b4: 00000013 nop
3b8: 00700113 li sp,7
3bc: 4020df33 sra t5,ra,sp
3c0: 00120213 addi tp,tp,1 # 1 <_start+0x1>
3c4: 00200293 li t0,2
3c8: fe5214e3 bne tp,t0,3b0 <test_31+0x4>
3cc: ff000eb7 lui t4,0xff000
3d0: 01f00193 li gp,31
3d4: 1ddf1663 bne t5,t4,5a0 <fail>
000003d8 <test_32>:
3d8: 00000213 li tp,0
3dc: 800000b7 lui ra,0x80000
3e0: 00000013 nop
3e4: 00e00113 li sp,14
3e8: 00000013 nop
3ec: 4020df33 sra t5,ra,sp
3f0: 00120213 addi tp,tp,1 # 1 <_start+0x1>
3f4: 00200293 li t0,2
3f8: fe5212e3 bne tp,t0,3dc <test_32+0x4>
3fc: fffe0eb7 lui t4,0xfffe0
400: 02000193 li gp,32
404: 19df1e63 bne t5,t4,5a0 <fail>
00000408 <test_33>:
408: 00000213 li tp,0
40c: 800000b7 lui ra,0x80000
410: 00000013 nop
414: 00000013 nop
418: 01f00113 li sp,31
41c: 4020df33 sra t5,ra,sp
420: 00120213 addi tp,tp,1 # 1 <_start+0x1>
424: 00200293 li t0,2
428: fe5212e3 bne tp,t0,40c <test_33+0x4>
42c: fff00e93 li t4,-1
430: 02100193 li gp,33
434: 17df1663 bne t5,t4,5a0 <fail>
00000438 <test_34>:
438: 00000213 li tp,0
43c: 00700113 li sp,7
440: 800000b7 lui ra,0x80000
444: 4020df33 sra t5,ra,sp
448: 00120213 addi tp,tp,1 # 1 <_start+0x1>
44c: 00200293 li t0,2
450: fe5216e3 bne tp,t0,43c <test_34+0x4>
454: ff000eb7 lui t4,0xff000
458: 02200193 li gp,34
45c: 15df1263 bne t5,t4,5a0 <fail>
00000460 <test_35>:
460: 00000213 li tp,0
464: 00e00113 li sp,14
468: 800000b7 lui ra,0x80000
46c: 00000013 nop
470: 4020df33 sra t5,ra,sp
474: 00120213 addi tp,tp,1 # 1 <_start+0x1>
478: 00200293 li t0,2
47c: fe5214e3 bne tp,t0,464 <test_35+0x4>
480: fffe0eb7 lui t4,0xfffe0
484: 02300193 li gp,35
488: 11df1c63 bne t5,t4,5a0 <fail>
0000048c <test_36>:
48c: 00000213 li tp,0
490: 01f00113 li sp,31
494: 800000b7 lui ra,0x80000
498: 00000013 nop
49c: 00000013 nop
4a0: 4020df33 sra t5,ra,sp
4a4: 00120213 addi tp,tp,1 # 1 <_start+0x1>
4a8: 00200293 li t0,2
4ac: fe5212e3 bne tp,t0,490 <test_36+0x4>
4b0: fff00e93 li t4,-1
4b4: 02400193 li gp,36
4b8: 0fdf1463 bne t5,t4,5a0 <fail>
000004bc <test_37>:
4bc: 00000213 li tp,0
4c0: 00700113 li sp,7
4c4: 00000013 nop
4c8: 800000b7 lui ra,0x80000
4cc: 4020df33 sra t5,ra,sp
4d0: 00120213 addi tp,tp,1 # 1 <_start+0x1>
4d4: 00200293 li t0,2
4d8: fe5214e3 bne tp,t0,4c0 <test_37+0x4>
4dc: ff000eb7 lui t4,0xff000
4e0: 02500193 li gp,37
4e4: 0bdf1e63 bne t5,t4,5a0 <fail>
000004e8 <test_38>:
4e8: 00000213 li tp,0
4ec: 00e00113 li sp,14
4f0: 00000013 nop
4f4: 800000b7 lui ra,0x80000
4f8: 00000013 nop
4fc: 4020df33 sra t5,ra,sp
500: 00120213 addi tp,tp,1 # 1 <_start+0x1>
504: 00200293 li t0,2
508: fe5212e3 bne tp,t0,4ec <test_38+0x4>
50c: fffe0eb7 lui t4,0xfffe0
510: 02600193 li gp,38
514: 09df1663 bne t5,t4,5a0 <fail>
00000518 <test_39>:
518: 00000213 li tp,0
51c: 01f00113 li sp,31
520: 00000013 nop
524: 00000013 nop
528: 800000b7 lui ra,0x80000
52c: 4020df33 sra t5,ra,sp
530: 00120213 addi tp,tp,1 # 1 <_start+0x1>
534: 00200293 li t0,2
538: fe5212e3 bne tp,t0,51c <test_39+0x4>
53c: fff00e93 li t4,-1
540: 02700193 li gp,39
544: 05df1e63 bne t5,t4,5a0 <fail>
00000548 <test_40>:
548: 00f00093 li ra,15
54c: 40105133 sra sp,zero,ra
550: 00000e93 li t4,0
554: 02800193 li gp,40
558: 05d11463 bne sp,t4,5a0 <fail>
0000055c <test_41>:
55c: 02000093 li ra,32
560: 4000d133 sra sp,ra,zero
564: 02000e93 li t4,32
568: 02900193 li gp,41
56c: 03d11a63 bne sp,t4,5a0 <fail>
00000570 <test_42>:
570: 400050b3 sra ra,zero,zero
574: 00000e93 li t4,0
578: 02a00193 li gp,42
57c: 03d09263 bne ra,t4,5a0 <fail>
00000580 <test_43>:
580: 40000093 li ra,1024
584: 00001137 lui sp,0x1
588: 80010113 addi sp,sp,-2048 # 800 <_end+0x1b8>
58c: 4020d033 sra zero,ra,sp
590: 00000e93 li t4,0
594: 02b00193 li gp,43
598: 01d01463 bne zero,t4,5a0 <fail>
59c: 00301663 bne zero,gp,5a8 <pass>
000005a0 <fail>:
5a0: 1000d073 csrwi sstatus,1
000005a4 <loop_fail>:
5a4: 0000006f j 5a4 <loop_fail>
000005a8 <pass>:
5a8: 1001d073 csrwi sstatus,3
000005ac <loop_pass>:
5ac: 0000006f j 5ac <loop_pass>
...
Disassembly of section .tohost:
00000600 <tohost>:
...
00000640 <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