257 lines
8.1 KiB
Plaintext
257 lines
8.1 KiB
Plaintext
|
|
generated/rv32ui-p-addi: 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: 00008f13 mv t5,ra
|
|
c: 00000e93 li t4,0
|
|
10: 00200193 li gp,2
|
|
14: 27df1c63 bne t5,t4,28c <fail>
|
|
|
|
00000018 <test_3>:
|
|
18: 00100093 li ra,1
|
|
1c: 00108f13 addi t5,ra,1
|
|
20: 00200e93 li t4,2
|
|
24: 00300193 li gp,3
|
|
28: 27df1263 bne t5,t4,28c <fail>
|
|
|
|
0000002c <test_4>:
|
|
2c: 00300093 li ra,3
|
|
30: 00708f13 addi t5,ra,7
|
|
34: 00a00e93 li t4,10
|
|
38: 00400193 li gp,4
|
|
3c: 25df1863 bne t5,t4,28c <fail>
|
|
|
|
00000040 <test_5>:
|
|
40: 00000093 li ra,0
|
|
44: 80008f13 addi t5,ra,-2048
|
|
48: 80000e93 li t4,-2048
|
|
4c: 00500193 li gp,5
|
|
50: 23df1e63 bne t5,t4,28c <fail>
|
|
|
|
00000054 <test_6>:
|
|
54: 800000b7 lui ra,0x80000
|
|
58: 00008f13 mv t5,ra
|
|
5c: 80000eb7 lui t4,0x80000
|
|
60: 00600193 li gp,6
|
|
64: 23df1463 bne t5,t4,28c <fail>
|
|
|
|
00000068 <test_7>:
|
|
68: 800000b7 lui ra,0x80000
|
|
6c: 80008f13 addi t5,ra,-2048 # 7ffff800 <begin_signature+0x7fffe800>
|
|
70: 80000eb7 lui t4,0x80000
|
|
74: 800e8e93 addi t4,t4,-2048 # 7ffff800 <begin_signature+0x7fffe800>
|
|
78: 00700193 li gp,7
|
|
7c: 21df1863 bne t5,t4,28c <fail>
|
|
|
|
00000080 <test_8>:
|
|
80: 00000093 li ra,0
|
|
84: 7ff08f13 addi t5,ra,2047
|
|
88: 7ff00e93 li t4,2047
|
|
8c: 00800193 li gp,8
|
|
90: 1fdf1e63 bne t5,t4,28c <fail>
|
|
|
|
00000094 <test_9>:
|
|
94: 800000b7 lui ra,0x80000
|
|
98: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
|
|
9c: 00008f13 mv t5,ra
|
|
a0: 80000eb7 lui t4,0x80000
|
|
a4: fffe8e93 addi t4,t4,-1 # 7fffffff <begin_signature+0x7fffefff>
|
|
a8: 00900193 li gp,9
|
|
ac: 1fdf1063 bne t5,t4,28c <fail>
|
|
|
|
000000b0 <test_10>:
|
|
b0: 800000b7 lui ra,0x80000
|
|
b4: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
|
|
b8: 7ff08f13 addi t5,ra,2047
|
|
bc: 80000eb7 lui t4,0x80000
|
|
c0: 7fee8e93 addi t4,t4,2046 # 800007fe <begin_signature+0x7ffff7fe>
|
|
c4: 00a00193 li gp,10
|
|
c8: 1ddf1263 bne t5,t4,28c <fail>
|
|
|
|
000000cc <test_11>:
|
|
cc: 800000b7 lui ra,0x80000
|
|
d0: 7ff08f13 addi t5,ra,2047 # 800007ff <begin_signature+0x7ffff7ff>
|
|
d4: 80000eb7 lui t4,0x80000
|
|
d8: 7ffe8e93 addi t4,t4,2047 # 800007ff <begin_signature+0x7ffff7ff>
|
|
dc: 00b00193 li gp,11
|
|
e0: 1bdf1663 bne t5,t4,28c <fail>
|
|
|
|
000000e4 <test_12>:
|
|
e4: 800000b7 lui ra,0x80000
|
|
e8: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
|
|
ec: 80008f13 addi t5,ra,-2048
|
|
f0: 7ffffeb7 lui t4,0x7ffff
|
|
f4: 7ffe8e93 addi t4,t4,2047 # 7ffff7ff <begin_signature+0x7fffe7ff>
|
|
f8: 00c00193 li gp,12
|
|
fc: 19df1863 bne t5,t4,28c <fail>
|
|
|
|
00000100 <test_13>:
|
|
100: 00000093 li ra,0
|
|
104: fff08f13 addi t5,ra,-1
|
|
108: fff00e93 li t4,-1
|
|
10c: 00d00193 li gp,13
|
|
110: 17df1e63 bne t5,t4,28c <fail>
|
|
|
|
00000114 <test_14>:
|
|
114: fff00093 li ra,-1
|
|
118: 00108f13 addi t5,ra,1
|
|
11c: 00000e93 li t4,0
|
|
120: 00e00193 li gp,14
|
|
124: 17df1463 bne t5,t4,28c <fail>
|
|
|
|
00000128 <test_15>:
|
|
128: fff00093 li ra,-1
|
|
12c: fff08f13 addi t5,ra,-1
|
|
130: ffe00e93 li t4,-2
|
|
134: 00f00193 li gp,15
|
|
138: 15df1a63 bne t5,t4,28c <fail>
|
|
|
|
0000013c <test_16>:
|
|
13c: 800000b7 lui ra,0x80000
|
|
140: fff08093 addi ra,ra,-1 # 7fffffff <begin_signature+0x7fffefff>
|
|
144: 00108f13 addi t5,ra,1
|
|
148: 80000eb7 lui t4,0x80000
|
|
14c: 01000193 li gp,16
|
|
150: 13df1e63 bne t5,t4,28c <fail>
|
|
|
|
00000154 <test_17>:
|
|
154: 00d00093 li ra,13
|
|
158: 00b08093 addi ra,ra,11
|
|
15c: 01800e93 li t4,24
|
|
160: 01100193 li gp,17
|
|
164: 13d09463 bne ra,t4,28c <fail>
|
|
|
|
00000168 <test_18>:
|
|
168: 00000213 li tp,0
|
|
16c: 00d00093 li ra,13
|
|
170: 00b08f13 addi t5,ra,11
|
|
174: 000f0313 mv t1,t5
|
|
178: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
17c: 00200293 li t0,2
|
|
180: fe5216e3 bne tp,t0,16c <test_18+0x4>
|
|
184: 01800e93 li t4,24
|
|
188: 01200193 li gp,18
|
|
18c: 11d31063 bne t1,t4,28c <fail>
|
|
|
|
00000190 <test_19>:
|
|
190: 00000213 li tp,0
|
|
194: 00d00093 li ra,13
|
|
198: 00a08f13 addi t5,ra,10
|
|
19c: 00000013 nop
|
|
1a0: 000f0313 mv t1,t5
|
|
1a4: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
1a8: 00200293 li t0,2
|
|
1ac: fe5214e3 bne tp,t0,194 <test_19+0x4>
|
|
1b0: 01700e93 li t4,23
|
|
1b4: 01300193 li gp,19
|
|
1b8: 0dd31a63 bne t1,t4,28c <fail>
|
|
|
|
000001bc <test_20>:
|
|
1bc: 00000213 li tp,0
|
|
1c0: 00d00093 li ra,13
|
|
1c4: 00908f13 addi t5,ra,9
|
|
1c8: 00000013 nop
|
|
1cc: 00000013 nop
|
|
1d0: 000f0313 mv t1,t5
|
|
1d4: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
1d8: 00200293 li t0,2
|
|
1dc: fe5212e3 bne tp,t0,1c0 <test_20+0x4>
|
|
1e0: 01600e93 li t4,22
|
|
1e4: 01400193 li gp,20
|
|
1e8: 0bd31263 bne t1,t4,28c <fail>
|
|
|
|
000001ec <test_21>:
|
|
1ec: 00000213 li tp,0
|
|
1f0: 00d00093 li ra,13
|
|
1f4: 00b08f13 addi t5,ra,11
|
|
1f8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
1fc: 00200293 li t0,2
|
|
200: fe5218e3 bne tp,t0,1f0 <test_21+0x4>
|
|
204: 01800e93 li t4,24
|
|
208: 01500193 li gp,21
|
|
20c: 09df1063 bne t5,t4,28c <fail>
|
|
|
|
00000210 <test_22>:
|
|
210: 00000213 li tp,0
|
|
214: 00d00093 li ra,13
|
|
218: 00000013 nop
|
|
21c: 00a08f13 addi t5,ra,10
|
|
220: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
224: 00200293 li t0,2
|
|
228: fe5216e3 bne tp,t0,214 <test_22+0x4>
|
|
22c: 01700e93 li t4,23
|
|
230: 01600193 li gp,22
|
|
234: 05df1c63 bne t5,t4,28c <fail>
|
|
|
|
00000238 <test_23>:
|
|
238: 00000213 li tp,0
|
|
23c: 00d00093 li ra,13
|
|
240: 00000013 nop
|
|
244: 00000013 nop
|
|
248: 00908f13 addi t5,ra,9
|
|
24c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
250: 00200293 li t0,2
|
|
254: fe5214e3 bne tp,t0,23c <test_23+0x4>
|
|
258: 01600e93 li t4,22
|
|
25c: 01700193 li gp,23
|
|
260: 03df1663 bne t5,t4,28c <fail>
|
|
|
|
00000264 <test_24>:
|
|
264: 02000093 li ra,32
|
|
268: 02000e93 li t4,32
|
|
26c: 01800193 li gp,24
|
|
270: 01d09e63 bne ra,t4,28c <fail>
|
|
|
|
00000274 <test_25>:
|
|
274: 02100093 li ra,33
|
|
278: 03208013 addi zero,ra,50
|
|
27c: 00000e93 li t4,0
|
|
280: 01900193 li gp,25
|
|
284: 01d01463 bne zero,t4,28c <fail>
|
|
288: 00301663 bne zero,gp,294 <pass>
|
|
|
|
0000028c <fail>:
|
|
28c: 1000d073 csrwi sstatus,1
|
|
|
|
00000290 <loop_fail>:
|
|
290: 0000006f j 290 <loop_fail>
|
|
|
|
00000294 <pass>:
|
|
294: 1001d073 csrwi sstatus,3
|
|
|
|
00000298 <loop_pass>:
|
|
298: 0000006f j 298 <loop_pass>
|
|
...
|
|
|
|
Disassembly of section .tohost:
|
|
|
|
00000300 <tohost>:
|
|
...
|
|
|
|
00000340 <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
|