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

269 lines
9.1 KiB
Plaintext

generated/rv32ui-p-srai: 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: 4000df13 srai t5,ra,0x0
c: 00000e93 li t4,0
10: 00200193 li gp,2
14: 2bdf1463 bne t5,t4,2bc <fail>
00000018 <test_3>:
18: 800000b7 lui ra,0x80000
1c: 4010df13 srai t5,ra,0x1
20: c0000eb7 lui t4,0xc0000
24: 00300193 li gp,3
28: 29df1a63 bne t5,t4,2bc <fail>
0000002c <test_4>:
2c: 800000b7 lui ra,0x80000
30: 4070df13 srai t5,ra,0x7
34: ff000eb7 lui t4,0xff000
38: 00400193 li gp,4
3c: 29df1063 bne t5,t4,2bc <fail>
00000040 <test_5>:
40: 800000b7 lui ra,0x80000
44: 40e0df13 srai t5,ra,0xe
48: fffe0eb7 lui t4,0xfffe0
4c: 00500193 li gp,5
50: 27df1663 bne t5,t4,2bc <fail>
00000054 <test_6>:
54: 800000b7 lui ra,0x80000
58: 00108093 addi ra,ra,1 # 80000001 <begin_signature+0x7ffff001>
5c: 41f0df13 srai t5,ra,0x1f
60: fff00e93 li t4,-1
64: 00600193 li gp,6
68: 25df1a63 bne t5,t4,2bc <fail>
0000006c <test_7>:
6c: 800000b7 lui ra,0x80000
70: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
74: 4000df13 srai t5,ra,0x0
78: 80000eb7 lui t4,0x80000
7c: fffe8e93 addi t4,t4,-1 # 7fffffff <begin_signature+0x7fffefff>
80: 00700193 li gp,7
84: 23df1c63 bne t5,t4,2bc <fail>
00000088 <test_8>:
88: 800000b7 lui ra,0x80000
8c: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
90: 4010df13 srai t5,ra,0x1
94: 40000eb7 lui t4,0x40000
98: fffe8e93 addi t4,t4,-1 # 3fffffff <begin_signature+0x3fffefff>
9c: 00800193 li gp,8
a0: 21df1e63 bne t5,t4,2bc <fail>
000000a4 <test_9>:
a4: 800000b7 lui ra,0x80000
a8: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
ac: 4070df13 srai t5,ra,0x7
b0: 01000eb7 lui t4,0x1000
b4: fffe8e93 addi t4,t4,-1 # ffffff <begin_signature+0xffefff>
b8: 00900193 li gp,9
bc: 21df1063 bne t5,t4,2bc <fail>
000000c0 <test_10>:
c0: 800000b7 lui ra,0x80000
c4: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
c8: 40e0df13 srai t5,ra,0xe
cc: 00020eb7 lui t4,0x20
d0: fffe8e93 addi t4,t4,-1 # 1ffff <begin_signature+0x1efff>
d4: 00a00193 li gp,10
d8: 1fdf1263 bne t5,t4,2bc <fail>
000000dc <test_11>:
dc: 800000b7 lui ra,0x80000
e0: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
e4: 41f0df13 srai t5,ra,0x1f
e8: 00000e93 li t4,0
ec: 00b00193 li gp,11
f0: 1ddf1663 bne t5,t4,2bc <fail>
000000f4 <test_12>:
f4: 818180b7 lui ra,0x81818
f8: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
fc: 4000df13 srai t5,ra,0x0
100: 81818eb7 lui t4,0x81818
104: 181e8e93 addi t4,t4,385 # 81818181 <begin_signature+0x81817181>
108: 00c00193 li gp,12
10c: 1bdf1863 bne t5,t4,2bc <fail>
00000110 <test_13>:
110: 818180b7 lui ra,0x81818
114: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
118: 4010df13 srai t5,ra,0x1
11c: c0c0ceb7 lui t4,0xc0c0c
120: 0c0e8e93 addi t4,t4,192 # c0c0c0c0 <begin_signature+0xc0c0b0c0>
124: 00d00193 li gp,13
128: 19df1a63 bne t5,t4,2bc <fail>
0000012c <test_14>:
12c: 818180b7 lui ra,0x81818
130: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
134: 4070df13 srai t5,ra,0x7
138: ff030eb7 lui t4,0xff030
13c: 303e8e93 addi t4,t4,771 # ff030303 <begin_signature+0xff02f303>
140: 00e00193 li gp,14
144: 17df1c63 bne t5,t4,2bc <fail>
00000148 <test_15>:
148: 818180b7 lui ra,0x81818
14c: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
150: 40e0df13 srai t5,ra,0xe
154: fffe0eb7 lui t4,0xfffe0
158: 606e8e93 addi t4,t4,1542 # fffe0606 <begin_signature+0xfffdf606>
15c: 00f00193 li gp,15
160: 15df1e63 bne t5,t4,2bc <fail>
00000164 <test_16>:
164: 818180b7 lui ra,0x81818
168: 18108093 addi ra,ra,385 # 81818181 <begin_signature+0x81817181>
16c: 41f0df13 srai t5,ra,0x1f
170: fff00e93 li t4,-1
174: 01000193 li gp,16
178: 15df1263 bne t5,t4,2bc <fail>
0000017c <test_17>:
17c: 800000b7 lui ra,0x80000
180: 4070d093 srai ra,ra,0x7
184: ff000eb7 lui t4,0xff000
188: 01100193 li gp,17
18c: 13d09863 bne ra,t4,2bc <fail>
00000190 <test_18>:
190: 00000213 li tp,0
194: 800000b7 lui ra,0x80000
198: 4070df13 srai t5,ra,0x7
19c: 000f0313 mv t1,t5
1a0: 00120213 addi tp,tp,1 # 1 <_start+0x1>
1a4: 00200293 li t0,2
1a8: fe5216e3 bne tp,t0,194 <test_18+0x4>
1ac: ff000eb7 lui t4,0xff000
1b0: 01200193 li gp,18
1b4: 11d31463 bne t1,t4,2bc <fail>
000001b8 <test_19>:
1b8: 00000213 li tp,0
1bc: 800000b7 lui ra,0x80000
1c0: 40e0df13 srai t5,ra,0xe
1c4: 00000013 nop
1c8: 000f0313 mv t1,t5
1cc: 00120213 addi tp,tp,1 # 1 <_start+0x1>
1d0: 00200293 li t0,2
1d4: fe5214e3 bne tp,t0,1bc <test_19+0x4>
1d8: fffe0eb7 lui t4,0xfffe0
1dc: 01300193 li gp,19
1e0: 0dd31e63 bne t1,t4,2bc <fail>
000001e4 <test_20>:
1e4: 00000213 li tp,0
1e8: 800000b7 lui ra,0x80000
1ec: 00108093 addi ra,ra,1 # 80000001 <begin_signature+0x7ffff001>
1f0: 41f0df13 srai t5,ra,0x1f
1f4: 00000013 nop
1f8: 00000013 nop
1fc: 000f0313 mv t1,t5
200: 00120213 addi tp,tp,1 # 1 <_start+0x1>
204: 00200293 li t0,2
208: fe5210e3 bne tp,t0,1e8 <test_20+0x4>
20c: fff00e93 li t4,-1
210: 01400193 li gp,20
214: 0bd31463 bne t1,t4,2bc <fail>
00000218 <test_21>:
218: 00000213 li tp,0
21c: 800000b7 lui ra,0x80000
220: 4070df13 srai t5,ra,0x7
224: 00120213 addi tp,tp,1 # 1 <_start+0x1>
228: 00200293 li t0,2
22c: fe5218e3 bne tp,t0,21c <test_21+0x4>
230: ff000eb7 lui t4,0xff000
234: 01500193 li gp,21
238: 09df1263 bne t5,t4,2bc <fail>
0000023c <test_22>:
23c: 00000213 li tp,0
240: 800000b7 lui ra,0x80000
244: 00000013 nop
248: 40e0df13 srai t5,ra,0xe
24c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
250: 00200293 li t0,2
254: fe5216e3 bne tp,t0,240 <test_22+0x4>
258: fffe0eb7 lui t4,0xfffe0
25c: 01600193 li gp,22
260: 05df1e63 bne t5,t4,2bc <fail>
00000264 <test_23>:
264: 00000213 li tp,0
268: 800000b7 lui ra,0x80000
26c: 00108093 addi ra,ra,1 # 80000001 <begin_signature+0x7ffff001>
270: 00000013 nop
274: 00000013 nop
278: 41f0df13 srai t5,ra,0x1f
27c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
280: 00200293 li t0,2
284: fe5212e3 bne tp,t0,268 <test_23+0x4>
288: fff00e93 li t4,-1
28c: 01700193 li gp,23
290: 03df1663 bne t5,t4,2bc <fail>
00000294 <test_24>:
294: 40405093 srai ra,zero,0x4
298: 00000e93 li t4,0
29c: 01800193 li gp,24
2a0: 01d09e63 bne ra,t4,2bc <fail>
000002a4 <test_25>:
2a4: 02100093 li ra,33
2a8: 40a0d013 srai zero,ra,0xa
2ac: 00000e93 li t4,0
2b0: 01900193 li gp,25
2b4: 01d01463 bne zero,t4,2bc <fail>
2b8: 00301663 bne zero,gp,2c4 <pass>
000002bc <fail>:
2bc: 1000d073 csrwi sstatus,1
000002c0 <loop_fail>:
2c0: 0000006f j 2c0 <loop_fail>
000002c4 <pass>:
2c4: 1001d073 csrwi sstatus,3
000002c8 <loop_pass>:
2c8: 0000006f j 2c8 <loop_pass>
...
Disassembly of section .tohost:
00000340 <tohost>:
...
00000380 <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