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

424 lines
13 KiB
Plaintext

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