256 lines
8.3 KiB
Plaintext
256 lines
8.3 KiB
Plaintext
|
|
generated/rv32ui-p-lh: file format elf32-littleriscv
|
|
|
|
|
|
Disassembly of section .text.init:
|
|
|
|
00000000 <_start>:
|
|
0: 10005073 csrwi sstatus,0
|
|
|
|
00000004 <test_2>:
|
|
4: 00001097 auipc ra,0x1
|
|
8: ffc08093 addi ra,ra,-4 # 1000 <begin_signature>
|
|
c: 00009f03 lh t5,0(ra)
|
|
10: 0ff00e93 li t4,255
|
|
14: 00200193 li gp,2
|
|
18: 25df1c63 bne t5,t4,270 <fail>
|
|
|
|
0000001c <test_3>:
|
|
1c: 00001097 auipc ra,0x1
|
|
20: fe408093 addi ra,ra,-28 # 1000 <begin_signature>
|
|
24: 00209f03 lh t5,2(ra)
|
|
28: f0000e93 li t4,-256
|
|
2c: 00300193 li gp,3
|
|
30: 25df1063 bne t5,t4,270 <fail>
|
|
|
|
00000034 <test_4>:
|
|
34: 00001097 auipc ra,0x1
|
|
38: fcc08093 addi ra,ra,-52 # 1000 <begin_signature>
|
|
3c: 00409f03 lh t5,4(ra)
|
|
40: 00001eb7 lui t4,0x1
|
|
44: ff0e8e93 addi t4,t4,-16 # ff0 <loop_pass+0xd74>
|
|
48: 00400193 li gp,4
|
|
4c: 23df1263 bne t5,t4,270 <fail>
|
|
|
|
00000050 <test_5>:
|
|
50: 00001097 auipc ra,0x1
|
|
54: fb008093 addi ra,ra,-80 # 1000 <begin_signature>
|
|
58: 00609f03 lh t5,6(ra)
|
|
5c: fffffeb7 lui t4,0xfffff
|
|
60: 00fe8e93 addi t4,t4,15 # fffff00f <_end+0xffffdf87>
|
|
64: 00500193 li gp,5
|
|
68: 21df1463 bne t5,t4,270 <fail>
|
|
|
|
0000006c <test_6>:
|
|
6c: 00001097 auipc ra,0x1
|
|
70: f9a08093 addi ra,ra,-102 # 1006 <tdat4>
|
|
74: ffa09f03 lh t5,-6(ra)
|
|
78: 0ff00e93 li t4,255
|
|
7c: 00600193 li gp,6
|
|
80: 1fdf1863 bne t5,t4,270 <fail>
|
|
|
|
00000084 <test_7>:
|
|
84: 00001097 auipc ra,0x1
|
|
88: f8208093 addi ra,ra,-126 # 1006 <tdat4>
|
|
8c: ffc09f03 lh t5,-4(ra)
|
|
90: f0000e93 li t4,-256
|
|
94: 00700193 li gp,7
|
|
98: 1ddf1c63 bne t5,t4,270 <fail>
|
|
|
|
0000009c <test_8>:
|
|
9c: 00001097 auipc ra,0x1
|
|
a0: f6a08093 addi ra,ra,-150 # 1006 <tdat4>
|
|
a4: ffe09f03 lh t5,-2(ra)
|
|
a8: 00001eb7 lui t4,0x1
|
|
ac: ff0e8e93 addi t4,t4,-16 # ff0 <loop_pass+0xd74>
|
|
b0: 00800193 li gp,8
|
|
b4: 1bdf1e63 bne t5,t4,270 <fail>
|
|
|
|
000000b8 <test_9>:
|
|
b8: 00001097 auipc ra,0x1
|
|
bc: f4e08093 addi ra,ra,-178 # 1006 <tdat4>
|
|
c0: 00009f03 lh t5,0(ra)
|
|
c4: fffffeb7 lui t4,0xfffff
|
|
c8: 00fe8e93 addi t4,t4,15 # fffff00f <_end+0xffffdf87>
|
|
cc: 00900193 li gp,9
|
|
d0: 1bdf1063 bne t5,t4,270 <fail>
|
|
|
|
000000d4 <test_10>:
|
|
d4: 00001097 auipc ra,0x1
|
|
d8: f2c08093 addi ra,ra,-212 # 1000 <begin_signature>
|
|
dc: fe008093 addi ra,ra,-32
|
|
e0: 02009283 lh t0,32(ra)
|
|
e4: 0ff00e93 li t4,255
|
|
e8: 00a00193 li gp,10
|
|
ec: 19d29263 bne t0,t4,270 <fail>
|
|
|
|
000000f0 <test_11>:
|
|
f0: 00001097 auipc ra,0x1
|
|
f4: f1008093 addi ra,ra,-240 # 1000 <begin_signature>
|
|
f8: ffb08093 addi ra,ra,-5
|
|
fc: 00709283 lh t0,7(ra)
|
|
100: f0000e93 li t4,-256
|
|
104: 00b00193 li gp,11
|
|
108: 17d29463 bne t0,t4,270 <fail>
|
|
|
|
0000010c <test_12>:
|
|
10c: 00c00193 li gp,12
|
|
110: 00000213 li tp,0
|
|
114: 00001097 auipc ra,0x1
|
|
118: eee08093 addi ra,ra,-274 # 1002 <tdat2>
|
|
11c: 00209f03 lh t5,2(ra)
|
|
120: 000f0313 mv t1,t5
|
|
124: 00001eb7 lui t4,0x1
|
|
128: ff0e8e93 addi t4,t4,-16 # ff0 <loop_pass+0xd74>
|
|
12c: 15d31263 bne t1,t4,270 <fail>
|
|
130: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
134: 00200293 li t0,2
|
|
138: fc521ee3 bne tp,t0,114 <test_12+0x8>
|
|
|
|
0000013c <test_13>:
|
|
13c: 00d00193 li gp,13
|
|
140: 00000213 li tp,0
|
|
144: 00001097 auipc ra,0x1
|
|
148: ec008093 addi ra,ra,-320 # 1004 <tdat3>
|
|
14c: 00209f03 lh t5,2(ra)
|
|
150: 00000013 nop
|
|
154: 000f0313 mv t1,t5
|
|
158: fffffeb7 lui t4,0xfffff
|
|
15c: 00fe8e93 addi t4,t4,15 # fffff00f <_end+0xffffdf87>
|
|
160: 11d31863 bne t1,t4,270 <fail>
|
|
164: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
168: 00200293 li t0,2
|
|
16c: fc521ce3 bne tp,t0,144 <test_13+0x8>
|
|
|
|
00000170 <test_14>:
|
|
170: 00e00193 li gp,14
|
|
174: 00000213 li tp,0
|
|
178: 00001097 auipc ra,0x1
|
|
17c: e8808093 addi ra,ra,-376 # 1000 <begin_signature>
|
|
180: 00209f03 lh t5,2(ra)
|
|
184: 00000013 nop
|
|
188: 00000013 nop
|
|
18c: 000f0313 mv t1,t5
|
|
190: f0000e93 li t4,-256
|
|
194: 0dd31e63 bne t1,t4,270 <fail>
|
|
198: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
19c: 00200293 li t0,2
|
|
1a0: fc521ce3 bne tp,t0,178 <test_14+0x8>
|
|
|
|
000001a4 <test_15>:
|
|
1a4: 00f00193 li gp,15
|
|
1a8: 00000213 li tp,0
|
|
1ac: 00001097 auipc ra,0x1
|
|
1b0: e5608093 addi ra,ra,-426 # 1002 <tdat2>
|
|
1b4: 00209f03 lh t5,2(ra)
|
|
1b8: 00001eb7 lui t4,0x1
|
|
1bc: ff0e8e93 addi t4,t4,-16 # ff0 <loop_pass+0xd74>
|
|
1c0: 0bdf1863 bne t5,t4,270 <fail>
|
|
1c4: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
1c8: 00200293 li t0,2
|
|
1cc: fe5210e3 bne tp,t0,1ac <test_15+0x8>
|
|
|
|
000001d0 <test_16>:
|
|
1d0: 01000193 li gp,16
|
|
1d4: 00000213 li tp,0
|
|
1d8: 00001097 auipc ra,0x1
|
|
1dc: e2c08093 addi ra,ra,-468 # 1004 <tdat3>
|
|
1e0: 00000013 nop
|
|
1e4: 00209f03 lh t5,2(ra)
|
|
1e8: fffffeb7 lui t4,0xfffff
|
|
1ec: 00fe8e93 addi t4,t4,15 # fffff00f <_end+0xffffdf87>
|
|
1f0: 09df1063 bne t5,t4,270 <fail>
|
|
1f4: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
1f8: 00200293 li t0,2
|
|
1fc: fc521ee3 bne tp,t0,1d8 <test_16+0x8>
|
|
|
|
00000200 <test_17>:
|
|
200: 01100193 li gp,17
|
|
204: 00000213 li tp,0
|
|
208: 00001097 auipc ra,0x1
|
|
20c: df808093 addi ra,ra,-520 # 1000 <begin_signature>
|
|
210: 00000013 nop
|
|
214: 00000013 nop
|
|
218: 00209f03 lh t5,2(ra)
|
|
21c: f0000e93 li t4,-256
|
|
220: 05df1863 bne t5,t4,270 <fail>
|
|
224: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
228: 00200293 li t0,2
|
|
22c: fc521ee3 bne tp,t0,208 <test_17+0x8>
|
|
|
|
00000230 <test_18>:
|
|
230: 00001297 auipc t0,0x1
|
|
234: dd028293 addi t0,t0,-560 # 1000 <begin_signature>
|
|
238: 00029103 lh sp,0(t0)
|
|
23c: 00200113 li sp,2
|
|
240: 00200e93 li t4,2
|
|
244: 01200193 li gp,18
|
|
248: 03d11463 bne sp,t4,270 <fail>
|
|
|
|
0000024c <test_19>:
|
|
24c: 00001297 auipc t0,0x1
|
|
250: db428293 addi t0,t0,-588 # 1000 <begin_signature>
|
|
254: 00029103 lh sp,0(t0)
|
|
258: 00000013 nop
|
|
25c: 00200113 li sp,2
|
|
260: 00200e93 li t4,2
|
|
264: 01300193 li gp,19
|
|
268: 01d11463 bne sp,t4,270 <fail>
|
|
26c: 00301663 bne zero,gp,278 <pass>
|
|
|
|
00000270 <fail>:
|
|
270: 1000d073 csrwi sstatus,1
|
|
|
|
00000274 <loop_fail>:
|
|
274: 0000006f j 274 <loop_fail>
|
|
|
|
00000278 <pass>:
|
|
278: 1001d073 csrwi sstatus,3
|
|
|
|
0000027c <loop_pass>:
|
|
27c: 0000006f j 27c <loop_pass>
|
|
280: 0000 unimp
|
|
...
|
|
|
|
Disassembly of section .data:
|
|
|
|
00001000 <begin_signature>:
|
|
1000: 00ff 0xff
|
|
|
|
00001002 <tdat2>:
|
|
1002: ff00 fsw fs0,56(a4)
|
|
|
|
00001004 <tdat3>:
|
|
1004: 0ff0 addi a2,sp,988
|
|
|
|
00001006 <tdat4>:
|
|
1006: 0000f00f 0xf00f
|
|
100a: 0000 unimp
|
|
100c: 0000 unimp
|
|
...
|
|
|
|
Disassembly of section .tohost:
|
|
|
|
00001040 <tohost>:
|
|
...
|
|
|
|
00001080 <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
|