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

423 lines
13 KiB
Plaintext
Raw Normal View History

generated/rv32ui-p-sub: file format elf32-littleriscv
Disassembly of section .text.init:
00000000 <_start>:
0: 10005073 csrwi sstatus,0
00000004 <test_2>:
4: 00000093 li ra,0
8: 00000113 li sp,0
c: 40208f33 sub t5,ra,sp
10: 00000e93 li t4,0
14: 00200193 li gp,2
18: 4bdf1663 bne t5,t4,4c4 <fail>
0000001c <test_3>:
1c: 00100093 li ra,1
20: 00100113 li sp,1
24: 40208f33 sub t5,ra,sp
28: 00000e93 li t4,0
2c: 00300193 li gp,3
30: 49df1a63 bne t5,t4,4c4 <fail>
00000034 <test_4>:
34: 00300093 li ra,3
38: 00700113 li sp,7
3c: 40208f33 sub t5,ra,sp
40: ffc00e93 li t4,-4
44: 00400193 li gp,4
48: 47df1e63 bne t5,t4,4c4 <fail>
0000004c <test_5>:
4c: 00000093 li ra,0
50: ffff8137 lui sp,0xffff8
54: 40208f33 sub t5,ra,sp
58: 00008eb7 lui t4,0x8
5c: 00500193 li gp,5
60: 47df1263 bne t5,t4,4c4 <fail>
00000064 <test_6>:
64: 800000b7 lui ra,0x80000
68: 00000113 li sp,0
6c: 40208f33 sub t5,ra,sp
70: 80000eb7 lui t4,0x80000
74: 00600193 li gp,6
78: 45df1663 bne t5,t4,4c4 <fail>
0000007c <test_7>:
7c: 800000b7 lui ra,0x80000
80: ffff8137 lui sp,0xffff8
84: 40208f33 sub t5,ra,sp
88: 80008eb7 lui t4,0x80008
8c: 00700193 li gp,7
90: 43df1a63 bne t5,t4,4c4 <fail>
00000094 <test_8>:
94: 00000093 li ra,0
98: 00008137 lui sp,0x8
9c: fff10113 addi sp,sp,-1 # 7fff <begin_signature+0x6fff>
a0: 40208f33 sub t5,ra,sp
a4: ffff8eb7 lui t4,0xffff8
a8: 001e8e93 addi t4,t4,1 # ffff8001 <begin_signature+0xffff7001>
ac: 00800193 li gp,8
b0: 41df1a63 bne t5,t4,4c4 <fail>
000000b4 <test_9>:
b4: 800000b7 lui ra,0x80000
b8: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
bc: 00000113 li sp,0
c0: 40208f33 sub t5,ra,sp
c4: 80000eb7 lui t4,0x80000
c8: fffe8e93 addi t4,t4,-1 # 7fffffff <begin_signature+0x7fffefff>
cc: 00900193 li gp,9
d0: 3fdf1a63 bne t5,t4,4c4 <fail>
000000d4 <test_10>:
d4: 800000b7 lui ra,0x80000
d8: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
dc: 00008137 lui sp,0x8
e0: fff10113 addi sp,sp,-1 # 7fff <begin_signature+0x6fff>
e4: 40208f33 sub t5,ra,sp
e8: 7fff8eb7 lui t4,0x7fff8
ec: 00a00193 li gp,10
f0: 3ddf1a63 bne t5,t4,4c4 <fail>
000000f4 <test_11>:
f4: 800000b7 lui ra,0x80000
f8: 00008137 lui sp,0x8
fc: fff10113 addi sp,sp,-1 # 7fff <begin_signature+0x6fff>
100: 40208f33 sub t5,ra,sp
104: 7fff8eb7 lui t4,0x7fff8
108: 001e8e93 addi t4,t4,1 # 7fff8001 <begin_signature+0x7fff7001>
10c: 00b00193 li gp,11
110: 3bdf1a63 bne t5,t4,4c4 <fail>
00000114 <test_12>:
114: 800000b7 lui ra,0x80000
118: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
11c: ffff8137 lui sp,0xffff8
120: 40208f33 sub t5,ra,sp
124: 80008eb7 lui t4,0x80008
128: fffe8e93 addi t4,t4,-1 # 80007fff <begin_signature+0x80006fff>
12c: 00c00193 li gp,12
130: 39df1a63 bne t5,t4,4c4 <fail>
00000134 <test_13>:
134: 00000093 li ra,0
138: fff00113 li sp,-1
13c: 40208f33 sub t5,ra,sp
140: 00100e93 li t4,1
144: 00d00193 li gp,13
148: 37df1e63 bne t5,t4,4c4 <fail>
0000014c <test_14>:
14c: fff00093 li ra,-1
150: 00100113 li sp,1
154: 40208f33 sub t5,ra,sp
158: ffe00e93 li t4,-2
15c: 00e00193 li gp,14
160: 37df1263 bne t5,t4,4c4 <fail>
00000164 <test_15>:
164: fff00093 li ra,-1
168: fff00113 li sp,-1
16c: 40208f33 sub t5,ra,sp
170: 00000e93 li t4,0
174: 00f00193 li gp,15
178: 35df1663 bne t5,t4,4c4 <fail>
0000017c <test_16>:
17c: 00d00093 li ra,13
180: 00b00113 li sp,11
184: 402080b3 sub ra,ra,sp
188: 00200e93 li t4,2
18c: 01000193 li gp,16
190: 33d09a63 bne ra,t4,4c4 <fail>
00000194 <test_17>:
194: 00e00093 li ra,14
198: 00b00113 li sp,11
19c: 40208133 sub sp,ra,sp
1a0: 00300e93 li t4,3
1a4: 01100193 li gp,17
1a8: 31d11e63 bne sp,t4,4c4 <fail>
000001ac <test_18>:
1ac: 00d00093 li ra,13
1b0: 401080b3 sub ra,ra,ra
1b4: 00000e93 li t4,0
1b8: 01200193 li gp,18
1bc: 31d09463 bne ra,t4,4c4 <fail>
000001c0 <test_19>:
1c0: 00000213 li tp,0
1c4: 00d00093 li ra,13
1c8: 00b00113 li sp,11
1cc: 40208f33 sub t5,ra,sp
1d0: 000f0313 mv t1,t5
1d4: 00120213 addi tp,tp,1 # 1 <_start+0x1>
1d8: 00200293 li t0,2
1dc: fe5214e3 bne tp,t0,1c4 <test_19+0x4>
1e0: 00200e93 li t4,2
1e4: 01300193 li gp,19
1e8: 2dd31e63 bne t1,t4,4c4 <fail>
000001ec <test_20>:
1ec: 00000213 li tp,0
1f0: 00e00093 li ra,14
1f4: 00b00113 li sp,11
1f8: 40208f33 sub t5,ra,sp
1fc: 00000013 nop
200: 000f0313 mv t1,t5
204: 00120213 addi tp,tp,1 # 1 <_start+0x1>
208: 00200293 li t0,2
20c: fe5212e3 bne tp,t0,1f0 <test_20+0x4>
210: 00300e93 li t4,3
214: 01400193 li gp,20
218: 2bd31663 bne t1,t4,4c4 <fail>
0000021c <test_21>:
21c: 00000213 li tp,0
220: 00f00093 li ra,15
224: 00b00113 li sp,11
228: 40208f33 sub t5,ra,sp
22c: 00000013 nop
230: 00000013 nop
234: 000f0313 mv t1,t5
238: 00120213 addi tp,tp,1 # 1 <_start+0x1>
23c: 00200293 li t0,2
240: fe5210e3 bne tp,t0,220 <test_21+0x4>
244: 00400e93 li t4,4
248: 01500193 li gp,21
24c: 27d31c63 bne t1,t4,4c4 <fail>
00000250 <test_22>:
250: 00000213 li tp,0
254: 00d00093 li ra,13
258: 00b00113 li sp,11
25c: 40208f33 sub t5,ra,sp
260: 00120213 addi tp,tp,1 # 1 <_start+0x1>
264: 00200293 li t0,2
268: fe5216e3 bne tp,t0,254 <test_22+0x4>
26c: 00200e93 li t4,2
270: 01600193 li gp,22
274: 25df1863 bne t5,t4,4c4 <fail>
00000278 <test_23>:
278: 00000213 li tp,0
27c: 00e00093 li ra,14
280: 00b00113 li sp,11
284: 00000013 nop
288: 40208f33 sub t5,ra,sp
28c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
290: 00200293 li t0,2
294: fe5214e3 bne tp,t0,27c <test_23+0x4>
298: 00300e93 li t4,3
29c: 01700193 li gp,23
2a0: 23df1263 bne t5,t4,4c4 <fail>
000002a4 <test_24>:
2a4: 00000213 li tp,0
2a8: 00f00093 li ra,15
2ac: 00b00113 li sp,11
2b0: 00000013 nop
2b4: 00000013 nop
2b8: 40208f33 sub t5,ra,sp
2bc: 00120213 addi tp,tp,1 # 1 <_start+0x1>
2c0: 00200293 li t0,2
2c4: fe5212e3 bne tp,t0,2a8 <test_24+0x4>
2c8: 00400e93 li t4,4
2cc: 01800193 li gp,24
2d0: 1fdf1a63 bne t5,t4,4c4 <fail>
000002d4 <test_25>:
2d4: 00000213 li tp,0
2d8: 00d00093 li ra,13
2dc: 00000013 nop
2e0: 00b00113 li sp,11
2e4: 40208f33 sub t5,ra,sp
2e8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
2ec: 00200293 li t0,2
2f0: fe5214e3 bne tp,t0,2d8 <test_25+0x4>
2f4: 00200e93 li t4,2
2f8: 01900193 li gp,25
2fc: 1ddf1463 bne t5,t4,4c4 <fail>
00000300 <test_26>:
300: 00000213 li tp,0
304: 00e00093 li ra,14
308: 00000013 nop
30c: 00b00113 li sp,11
310: 00000013 nop
314: 40208f33 sub t5,ra,sp
318: 00120213 addi tp,tp,1 # 1 <_start+0x1>
31c: 00200293 li t0,2
320: fe5212e3 bne tp,t0,304 <test_26+0x4>
324: 00300e93 li t4,3
328: 01a00193 li gp,26
32c: 19df1c63 bne t5,t4,4c4 <fail>
00000330 <test_27>:
330: 00000213 li tp,0
334: 00f00093 li ra,15
338: 00000013 nop
33c: 00000013 nop
340: 00b00113 li sp,11
344: 40208f33 sub t5,ra,sp
348: 00120213 addi tp,tp,1 # 1 <_start+0x1>
34c: 00200293 li t0,2
350: fe5212e3 bne tp,t0,334 <test_27+0x4>
354: 00400e93 li t4,4
358: 01b00193 li gp,27
35c: 17df1463 bne t5,t4,4c4 <fail>
00000360 <test_28>:
360: 00000213 li tp,0
364: 00b00113 li sp,11
368: 00d00093 li ra,13
36c: 40208f33 sub t5,ra,sp
370: 00120213 addi tp,tp,1 # 1 <_start+0x1>
374: 00200293 li t0,2
378: fe5216e3 bne tp,t0,364 <test_28+0x4>
37c: 00200e93 li t4,2
380: 01c00193 li gp,28
384: 15df1063 bne t5,t4,4c4 <fail>
00000388 <test_29>:
388: 00000213 li tp,0
38c: 00b00113 li sp,11
390: 00e00093 li ra,14
394: 00000013 nop
398: 40208f33 sub t5,ra,sp
39c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
3a0: 00200293 li t0,2
3a4: fe5214e3 bne tp,t0,38c <test_29+0x4>
3a8: 00300e93 li t4,3
3ac: 01d00193 li gp,29
3b0: 11df1a63 bne t5,t4,4c4 <fail>
000003b4 <test_30>:
3b4: 00000213 li tp,0
3b8: 00b00113 li sp,11
3bc: 00f00093 li ra,15
3c0: 00000013 nop
3c4: 00000013 nop
3c8: 40208f33 sub t5,ra,sp
3cc: 00120213 addi tp,tp,1 # 1 <_start+0x1>
3d0: 00200293 li t0,2
3d4: fe5212e3 bne tp,t0,3b8 <test_30+0x4>
3d8: 00400e93 li t4,4
3dc: 01e00193 li gp,30
3e0: 0fdf1263 bne t5,t4,4c4 <fail>
000003e4 <test_31>:
3e4: 00000213 li tp,0
3e8: 00b00113 li sp,11
3ec: 00000013 nop
3f0: 00d00093 li ra,13
3f4: 40208f33 sub t5,ra,sp
3f8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
3fc: 00200293 li t0,2
400: fe5214e3 bne tp,t0,3e8 <test_31+0x4>
404: 00200e93 li t4,2
408: 01f00193 li gp,31
40c: 0bdf1c63 bne t5,t4,4c4 <fail>
00000410 <test_32>:
410: 00000213 li tp,0
414: 00b00113 li sp,11
418: 00000013 nop
41c: 00e00093 li ra,14
420: 00000013 nop
424: 40208f33 sub t5,ra,sp
428: 00120213 addi tp,tp,1 # 1 <_start+0x1>
42c: 00200293 li t0,2
430: fe5212e3 bne tp,t0,414 <test_32+0x4>
434: 00300e93 li t4,3
438: 02000193 li gp,32
43c: 09df1463 bne t5,t4,4c4 <fail>
00000440 <test_33>:
440: 00000213 li tp,0
444: 00b00113 li sp,11
448: 00000013 nop
44c: 00000013 nop
450: 00f00093 li ra,15
454: 40208f33 sub t5,ra,sp
458: 00120213 addi tp,tp,1 # 1 <_start+0x1>
45c: 00200293 li t0,2
460: fe5212e3 bne tp,t0,444 <test_33+0x4>
464: 00400e93 li t4,4
468: 02100193 li gp,33
46c: 05df1c63 bne t5,t4,4c4 <fail>
00000470 <test_34>:
470: ff100093 li ra,-15
474: 40100133 neg sp,ra
478: 00f00e93 li t4,15
47c: 02200193 li gp,34
480: 05d11263 bne sp,t4,4c4 <fail>
00000484 <test_35>:
484: 02000093 li ra,32
488: 40008133 sub sp,ra,zero
48c: 02000e93 li t4,32
490: 02300193 li gp,35
494: 03d11863 bne sp,t4,4c4 <fail>
00000498 <test_36>:
498: 400000b3 neg ra,zero
49c: 00000e93 li t4,0
4a0: 02400193 li gp,36
4a4: 03d09063 bne ra,t4,4c4 <fail>
000004a8 <test_37>:
4a8: 01000093 li ra,16
4ac: 01e00113 li sp,30
4b0: 40208033 sub zero,ra,sp
4b4: 00000e93 li t4,0
4b8: 02500193 li gp,37
4bc: 01d01463 bne zero,t4,4c4 <fail>
4c0: 00301663 bne zero,gp,4cc <pass>
000004c4 <fail>:
4c4: 1000d073 csrwi sstatus,1
000004c8 <loop_fail>:
4c8: 0000006f j 4c8 <loop_fail>
000004cc <pass>:
4cc: 1001d073 csrwi sstatus,3
000004d0 <loop_pass>:
4d0: 0000006f j 4d0 <loop_pass>
...
Disassembly of section .tohost:
00000540 <tohost>:
...
00000580 <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