2019-12-04 00:47:19 +00:00
|
|
|
|
|
|
|
generated/rv32ui-p-xori: file format elf32-littleriscv
|
|
|
|
|
|
|
|
|
|
|
|
Disassembly of section .text.init:
|
|
|
|
|
|
|
|
00000000 <_start>:
|
2021-07-10 06:49:36 +00:00
|
|
|
0: 10005073 csrwi sstatus,0
|
|
|
|
|
|
|
|
00000004 <test_2>:
|
|
|
|
4: 00ff10b7 lui ra,0xff1
|
|
|
|
8: f0008093 addi ra,ra,-256 # ff0f00 <begin_signature+0xfeff00>
|
|
|
|
c: f0f0cf13 xori t5,ra,-241
|
|
|
|
10: ff00feb7 lui t4,0xff00f
|
|
|
|
14: 00fe8e93 addi t4,t4,15 # ff00f00f <begin_signature+0xff00e00f>
|
|
|
|
18: 00200193 li gp,2
|
|
|
|
1c: 1ddf1663 bne t5,t4,1e8 <fail>
|
|
|
|
|
|
|
|
00000020 <test_3>:
|
|
|
|
20: 0ff010b7 lui ra,0xff01
|
|
|
|
24: ff008093 addi ra,ra,-16 # ff00ff0 <begin_signature+0xfeffff0>
|
|
|
|
28: 0f00cf13 xori t5,ra,240
|
|
|
|
2c: 0ff01eb7 lui t4,0xff01
|
|
|
|
30: f00e8e93 addi t4,t4,-256 # ff00f00 <begin_signature+0xfefff00>
|
|
|
|
34: 00300193 li gp,3
|
|
|
|
38: 1bdf1863 bne t5,t4,1e8 <fail>
|
|
|
|
|
|
|
|
0000003c <test_4>:
|
|
|
|
3c: 00ff10b7 lui ra,0xff1
|
|
|
|
40: 8ff08093 addi ra,ra,-1793 # ff08ff <begin_signature+0xfef8ff>
|
|
|
|
44: 70f0cf13 xori t5,ra,1807
|
|
|
|
48: 00ff1eb7 lui t4,0xff1
|
|
|
|
4c: ff0e8e93 addi t4,t4,-16 # ff0ff0 <begin_signature+0xfefff0>
|
|
|
|
50: 00400193 li gp,4
|
|
|
|
54: 19df1a63 bne t5,t4,1e8 <fail>
|
|
|
|
|
|
|
|
00000058 <test_5>:
|
|
|
|
58: f00ff0b7 lui ra,0xf00ff
|
|
|
|
5c: 00f08093 addi ra,ra,15 # f00ff00f <begin_signature+0xf00fe00f>
|
|
|
|
60: 0f00cf13 xori t5,ra,240
|
|
|
|
64: f00ffeb7 lui t4,0xf00ff
|
|
|
|
68: 0ffe8e93 addi t4,t4,255 # f00ff0ff <begin_signature+0xf00fe0ff>
|
|
|
|
6c: 00500193 li gp,5
|
|
|
|
70: 17df1c63 bne t5,t4,1e8 <fail>
|
|
|
|
|
|
|
|
00000074 <test_6>:
|
|
|
|
74: ff00f0b7 lui ra,0xff00f
|
|
|
|
78: 70008093 addi ra,ra,1792 # ff00f700 <begin_signature+0xff00e700>
|
|
|
|
7c: 70f0c093 xori ra,ra,1807
|
|
|
|
80: ff00feb7 lui t4,0xff00f
|
|
|
|
84: 00fe8e93 addi t4,t4,15 # ff00f00f <begin_signature+0xff00e00f>
|
|
|
|
88: 00600193 li gp,6
|
|
|
|
8c: 15d09e63 bne ra,t4,1e8 <fail>
|
|
|
|
|
|
|
|
00000090 <test_7>:
|
|
|
|
90: 00000213 li tp,0
|
|
|
|
94: 0ff010b7 lui ra,0xff01
|
|
|
|
98: ff008093 addi ra,ra,-16 # ff00ff0 <begin_signature+0xfeffff0>
|
|
|
|
9c: 0f00cf13 xori t5,ra,240
|
|
|
|
a0: 000f0313 mv t1,t5
|
|
|
|
a4: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
a8: 00200293 li t0,2
|
|
|
|
ac: fe5214e3 bne tp,t0,94 <test_7+0x4>
|
|
|
|
b0: 0ff01eb7 lui t4,0xff01
|
|
|
|
b4: f00e8e93 addi t4,t4,-256 # ff00f00 <begin_signature+0xfefff00>
|
|
|
|
b8: 00700193 li gp,7
|
|
|
|
bc: 13d31663 bne t1,t4,1e8 <fail>
|
|
|
|
|
|
|
|
000000c0 <test_8>:
|
|
|
|
c0: 00000213 li tp,0
|
|
|
|
c4: 00ff10b7 lui ra,0xff1
|
|
|
|
c8: 8ff08093 addi ra,ra,-1793 # ff08ff <begin_signature+0xfef8ff>
|
|
|
|
cc: 70f0cf13 xori t5,ra,1807
|
|
|
|
d0: 00000013 nop
|
|
|
|
d4: 000f0313 mv t1,t5
|
|
|
|
d8: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
dc: 00200293 li t0,2
|
|
|
|
e0: fe5212e3 bne tp,t0,c4 <test_8+0x4>
|
|
|
|
e4: 00ff1eb7 lui t4,0xff1
|
|
|
|
e8: ff0e8e93 addi t4,t4,-16 # ff0ff0 <begin_signature+0xfefff0>
|
|
|
|
ec: 00800193 li gp,8
|
|
|
|
f0: 0fd31c63 bne t1,t4,1e8 <fail>
|
|
|
|
|
|
|
|
000000f4 <test_9>:
|
|
|
|
f4: 00000213 li tp,0
|
|
|
|
f8: f00ff0b7 lui ra,0xf00ff
|
|
|
|
fc: 00f08093 addi ra,ra,15 # f00ff00f <begin_signature+0xf00fe00f>
|
|
|
|
100: 0f00cf13 xori t5,ra,240
|
|
|
|
104: 00000013 nop
|
2019-12-04 00:47:19 +00:00
|
|
|
108: 00000013 nop
|
2021-07-10 06:49:36 +00:00
|
|
|
10c: 000f0313 mv t1,t5
|
|
|
|
110: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
114: 00200293 li t0,2
|
|
|
|
118: fe5210e3 bne tp,t0,f8 <test_9+0x4>
|
|
|
|
11c: f00ffeb7 lui t4,0xf00ff
|
|
|
|
120: 0ffe8e93 addi t4,t4,255 # f00ff0ff <begin_signature+0xf00fe0ff>
|
|
|
|
124: 00900193 li gp,9
|
|
|
|
128: 0dd31063 bne t1,t4,1e8 <fail>
|
|
|
|
|
|
|
|
0000012c <test_10>:
|
|
|
|
12c: 00000213 li tp,0
|
|
|
|
130: 0ff010b7 lui ra,0xff01
|
|
|
|
134: ff008093 addi ra,ra,-16 # ff00ff0 <begin_signature+0xfeffff0>
|
|
|
|
138: 0f00cf13 xori t5,ra,240
|
|
|
|
13c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
140: 00200293 li t0,2
|
|
|
|
144: fe5216e3 bne tp,t0,130 <test_10+0x4>
|
|
|
|
148: 0ff01eb7 lui t4,0xff01
|
|
|
|
14c: f00e8e93 addi t4,t4,-256 # ff00f00 <begin_signature+0xfefff00>
|
|
|
|
150: 00a00193 li gp,10
|
|
|
|
154: 09df1a63 bne t5,t4,1e8 <fail>
|
|
|
|
|
|
|
|
00000158 <test_11>:
|
|
|
|
158: 00000213 li tp,0
|
|
|
|
15c: 00ff10b7 lui ra,0xff1
|
|
|
|
160: fff08093 addi ra,ra,-1 # ff0fff <begin_signature+0xfeffff>
|
|
|
|
164: 00000013 nop
|
|
|
|
168: 00f0cf13 xori t5,ra,15
|
|
|
|
16c: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
170: 00200293 li t0,2
|
|
|
|
174: fe5214e3 bne tp,t0,15c <test_11+0x4>
|
|
|
|
178: 00ff1eb7 lui t4,0xff1
|
|
|
|
17c: ff0e8e93 addi t4,t4,-16 # ff0ff0 <begin_signature+0xfefff0>
|
|
|
|
180: 00b00193 li gp,11
|
|
|
|
184: 07df1263 bne t5,t4,1e8 <fail>
|
|
|
|
|
|
|
|
00000188 <test_12>:
|
|
|
|
188: 00000213 li tp,0
|
|
|
|
18c: f00ff0b7 lui ra,0xf00ff
|
|
|
|
190: 00f08093 addi ra,ra,15 # f00ff00f <begin_signature+0xf00fe00f>
|
|
|
|
194: 00000013 nop
|
2019-12-04 00:47:19 +00:00
|
|
|
198: 00000013 nop
|
2021-07-10 06:49:36 +00:00
|
|
|
19c: 0f00cf13 xori t5,ra,240
|
|
|
|
1a0: 00120213 addi tp,tp,1 # 1 <_start+0x1>
|
|
|
|
1a4: 00200293 li t0,2
|
|
|
|
1a8: fe5212e3 bne tp,t0,18c <test_12+0x4>
|
|
|
|
1ac: f00ffeb7 lui t4,0xf00ff
|
|
|
|
1b0: 0ffe8e93 addi t4,t4,255 # f00ff0ff <begin_signature+0xf00fe0ff>
|
|
|
|
1b4: 00c00193 li gp,12
|
|
|
|
1b8: 03df1863 bne t5,t4,1e8 <fail>
|
|
|
|
|
|
|
|
000001bc <test_13>:
|
|
|
|
1bc: 0f004093 xori ra,zero,240
|
|
|
|
1c0: 0f000e93 li t4,240
|
|
|
|
1c4: 00d00193 li gp,13
|
|
|
|
1c8: 03d09063 bne ra,t4,1e8 <fail>
|
|
|
|
|
|
|
|
000001cc <test_14>:
|
|
|
|
1cc: 00ff00b7 lui ra,0xff0
|
|
|
|
1d0: 0ff08093 addi ra,ra,255 # ff00ff <begin_signature+0xfef0ff>
|
|
|
|
1d4: 70f0c013 xori zero,ra,1807
|
|
|
|
1d8: 00000e93 li t4,0
|
|
|
|
1dc: 00e00193 li gp,14
|
|
|
|
1e0: 01d01463 bne zero,t4,1e8 <fail>
|
|
|
|
1e4: 00301663 bne zero,gp,1f0 <pass>
|
|
|
|
|
|
|
|
000001e8 <fail>:
|
|
|
|
1e8: 1000d073 csrwi sstatus,1
|
|
|
|
|
|
|
|
000001ec <loop_fail>:
|
|
|
|
1ec: 0000006f j 1ec <loop_fail>
|
|
|
|
|
|
|
|
000001f0 <pass>:
|
|
|
|
1f0: 1001d073 csrwi sstatus,3
|
|
|
|
|
|
|
|
000001f4 <loop_pass>:
|
|
|
|
1f4: 0000006f j 1f4 <loop_pass>
|
|
|
|
...
|
2019-12-04 00:47:19 +00:00
|
|
|
|
|
|
|
Disassembly of section .tohost:
|
|
|
|
|
|
|
|
00000240 <tohost>:
|
|
|
|
...
|
|
|
|
|
|
|
|
00000280 <fromhost>:
|
|
|
|
...
|
2021-06-05 07:11:33 +00:00
|
|
|
|
|
|
|
Disassembly of section .riscv.attributes:
|
|
|
|
|
|
|
|
00000000 <.riscv.attributes>:
|
2021-07-10 06:49:36 +00:00
|
|
|
0: 1d41 addi s10,s10,-16
|
2021-06-05 07:11:33 +00:00
|
|
|
2: 0000 unimp
|
|
|
|
4: 7200 flw fs0,32(a2)
|
|
|
|
6: 7369 lui t1,0xffffa
|
2021-07-10 06:49:36 +00:00
|
|
|
8: 01007663 bgeu zero,a6,14 <test_2+0x10>
|
|
|
|
c: 00000013 nop
|
2021-06-05 07:11:33 +00:00
|
|
|
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
|
2021-07-10 06:49:36 +00:00
|
|
|
1a: 0108 addi a0,sp,128
|
|
|
|
1c: 0b0a slli s6,s6,0x2
|