298 lines
10 KiB
Plaintext
298 lines
10 KiB
Plaintext
|
|
||
|
D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-XORI-01.elf: file format elf32-littleriscv
|
||
|
|
||
|
|
||
|
Disassembly of section .text.init:
|
||
|
|
||
|
00000000 <_start>:
|
||
|
0: 04c0006f j 4c <reset_vector>
|
||
|
|
||
|
00000004 <trap_vector>:
|
||
|
4: 34202f73 csrr t5,mcause
|
||
|
8: 00800f93 li t6,8
|
||
|
c: 03ff0a63 beq t5,t6,40 <write_tohost>
|
||
|
10: 00900f93 li t6,9
|
||
|
14: 03ff0663 beq t5,t6,40 <write_tohost>
|
||
|
18: 00b00f93 li t6,11
|
||
|
1c: 03ff0263 beq t5,t6,40 <write_tohost>
|
||
|
20: 00000f17 auipc t5,0x0
|
||
|
24: fe0f0f13 addi t5,t5,-32 # 0 <_start>
|
||
|
28: 000f0463 beqz t5,30 <trap_vector+0x2c>
|
||
|
2c: 000f0067 jr t5
|
||
|
30: 34202f73 csrr t5,mcause
|
||
|
34: 000f5463 bgez t5,3c <handle_exception>
|
||
|
38: 0040006f j 3c <handle_exception>
|
||
|
|
||
|
0000003c <handle_exception>:
|
||
|
3c: 5391e193 ori gp,gp,1337
|
||
|
|
||
|
00000040 <write_tohost>:
|
||
|
40: 00001f17 auipc t5,0x1
|
||
|
44: fc3f2023 sw gp,-64(t5) # 1000 <tohost>
|
||
|
48: ff9ff06f j 40 <write_tohost>
|
||
|
|
||
|
0000004c <reset_vector>:
|
||
|
4c: 00000193 li gp,0
|
||
|
50: 00000297 auipc t0,0x0
|
||
|
54: fb428293 addi t0,t0,-76 # 4 <trap_vector>
|
||
|
58: 30529073 csrw mtvec,t0
|
||
|
5c: 30005073 csrwi mstatus,0
|
||
|
60: 00000297 auipc t0,0x0
|
||
|
64: 02028293 addi t0,t0,32 # 80 <begin_testcode>
|
||
|
68: 34129073 csrw mepc,t0
|
||
|
6c: 00000293 li t0,0
|
||
|
70: 10000337 lui t1,0x10000
|
||
|
74: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
|
||
|
78: 00532023 sw t0,0(t1)
|
||
|
7c: 30200073 mret
|
||
|
|
||
|
00000080 <begin_testcode>:
|
||
|
80: 00002297 auipc t0,0x2
|
||
|
84: f8028293 addi t0,t0,-128 # 2000 <begin_signature>
|
||
|
88: fff00f93 li t6,-1
|
||
|
8c: 000fc013 xori zero,t6,0
|
||
|
90: 0002a023 sw zero,0(t0)
|
||
|
94: 00100f13 li t5,1
|
||
|
98: 801f4093 xori ra,t5,-2047
|
||
|
9c: 0012a223 sw ra,4(t0)
|
||
|
a0: 00000e93 li t4,0
|
||
|
a4: fffec113 not sp,t4
|
||
|
a8: 0022a423 sw sp,8(t0)
|
||
|
ac: 7ff00e13 li t3,2047
|
||
|
b0: 800e4193 xori gp,t3,-2048
|
||
|
b4: 0032a623 sw gp,12(t0)
|
||
|
b8: 00000d93 li s11,0
|
||
|
bc: 800dc213 xori tp,s11,-2048
|
||
|
c0: 0042a823 sw tp,16(t0)
|
||
|
c4: 00002097 auipc ra,0x2
|
||
|
c8: f5008093 addi ra,ra,-176 # 2014 <test_2_res>
|
||
|
cc: 00001d37 lui s10,0x1
|
||
|
d0: 800d0d13 addi s10,s10,-2048 # 800 <end_testcode+0x55c>
|
||
|
d4: 800d4293 xori t0,s10,-2048
|
||
|
d8: 0050a023 sw t0,0(ra)
|
||
|
dc: 07654cb7 lui s9,0x7654
|
||
|
e0: 321c8c93 addi s9,s9,801 # 7654321 <_end+0x765211d>
|
||
|
e4: 800cc313 xori t1,s9,-2048
|
||
|
e8: 0060a223 sw t1,4(ra)
|
||
|
ec: 80000c37 lui s8,0x80000
|
||
|
f0: fffc0c13 addi s8,s8,-1 # 7fffffff <_end+0x7fffddfb>
|
||
|
f4: 001c4393 xori t2,s8,1
|
||
|
f8: 0070a423 sw t2,8(ra)
|
||
|
fc: 00100b93 li s7,1
|
||
|
100: 800bc413 xori s0,s7,-2048
|
||
|
104: 0080a623 sw s0,12(ra)
|
||
|
108: fff00b13 li s6,-1
|
||
|
10c: 800b4493 xori s1,s6,-2048
|
||
|
110: 0090a823 sw s1,16(ra)
|
||
|
114: 00002097 auipc ra,0x2
|
||
|
118: f1408093 addi ra,ra,-236 # 2028 <test_3_res>
|
||
|
11c: 00001ab7 lui s5,0x1
|
||
|
120: 234a8a93 addi s5,s5,564 # 1234 <fromhost+0x134>
|
||
|
124: 800ac513 xori a0,s5,-2048
|
||
|
128: 00a0a023 sw a0,0(ra)
|
||
|
12c: 80000a37 lui s4,0x80000
|
||
|
130: 000a4593 xori a1,s4,0
|
||
|
134: 00b0a223 sw a1,4(ra)
|
||
|
138: fffff9b7 lui s3,0xfffff
|
||
|
13c: dcc98993 addi s3,s3,-564 # ffffedcc <_end+0xffffcbc8>
|
||
|
140: 7ff9c613 xori a2,s3,2047
|
||
|
144: 00c0a423 sw a2,8(ra)
|
||
|
148: fff00913 li s2,-1
|
||
|
14c: fff94693 not a3,s2
|
||
|
150: 00d0a623 sw a3,12(ra)
|
||
|
154: 80100893 li a7,-2047
|
||
|
158: 0018c713 xori a4,a7,1
|
||
|
15c: 00e0a823 sw a4,16(ra)
|
||
|
160: 00002117 auipc sp,0x2
|
||
|
164: edc10113 addi sp,sp,-292 # 203c <test_4_res>
|
||
|
168: 00000813 li a6,0
|
||
|
16c: 00084793 xori a5,a6,0
|
||
|
170: 00f12023 sw a5,0(sp)
|
||
|
174: fff00793 li a5,-1
|
||
|
178: 0007c813 xori a6,a5,0
|
||
|
17c: 01012223 sw a6,4(sp)
|
||
|
180: 00100713 li a4,1
|
||
|
184: 80174893 xori a7,a4,-2047
|
||
|
188: 01112423 sw a7,8(sp)
|
||
|
18c: 00000693 li a3,0
|
||
|
190: fff6c913 not s2,a3
|
||
|
194: 01212623 sw s2,12(sp)
|
||
|
198: 7ff00613 li a2,2047
|
||
|
19c: 80064993 xori s3,a2,-2048
|
||
|
1a0: 01312823 sw s3,16(sp)
|
||
|
1a4: 00002097 auipc ra,0x2
|
||
|
1a8: eac08093 addi ra,ra,-340 # 2050 <test_5_res>
|
||
|
1ac: 00000593 li a1,0
|
||
|
1b0: 8005ca13 xori s4,a1,-2048
|
||
|
1b4: 0140a023 sw s4,0(ra)
|
||
|
1b8: 00001537 lui a0,0x1
|
||
|
1bc: 80050513 addi a0,a0,-2048 # 800 <end_testcode+0x55c>
|
||
|
1c0: 80054a93 xori s5,a0,-2048
|
||
|
1c4: 0150a223 sw s5,4(ra)
|
||
|
1c8: 076544b7 lui s1,0x7654
|
||
|
1cc: 32148493 addi s1,s1,801 # 7654321 <_end+0x765211d>
|
||
|
1d0: 8004cb13 xori s6,s1,-2048
|
||
|
1d4: 0160a423 sw s6,8(ra)
|
||
|
1d8: 80000437 lui s0,0x80000
|
||
|
1dc: fff40413 addi s0,s0,-1 # 7fffffff <_end+0x7fffddfb>
|
||
|
1e0: 00144b93 xori s7,s0,1
|
||
|
1e4: 0170a623 sw s7,12(ra)
|
||
|
1e8: 00100393 li t2,1
|
||
|
1ec: 8003cc13 xori s8,t2,-2048
|
||
|
1f0: 0180a823 sw s8,16(ra)
|
||
|
1f4: 00002097 auipc ra,0x2
|
||
|
1f8: e7008093 addi ra,ra,-400 # 2064 <test_6_res>
|
||
|
1fc: fff00313 li t1,-1
|
||
|
200: 80034c93 xori s9,t1,-2048
|
||
|
204: 0190a023 sw s9,0(ra)
|
||
|
208: 000012b7 lui t0,0x1
|
||
|
20c: 23428293 addi t0,t0,564 # 1234 <fromhost+0x134>
|
||
|
210: 8002cd13 xori s10,t0,-2048
|
||
|
214: 01a0a223 sw s10,4(ra)
|
||
|
218: 80000237 lui tp,0x80000
|
||
|
21c: 00024d93 xori s11,tp,0
|
||
|
220: 01b0a423 sw s11,8(ra)
|
||
|
224: fffff1b7 lui gp,0xfffff
|
||
|
228: dcc18193 addi gp,gp,-564 # ffffedcc <_end+0xffffcbc8>
|
||
|
22c: 7ff1ce13 xori t3,gp,2047
|
||
|
230: 01c0a623 sw t3,12(ra)
|
||
|
234: fff00113 li sp,-1
|
||
|
238: fff14e93 not t4,sp
|
||
|
23c: 01d0a823 sw t4,16(ra)
|
||
|
240: 00002117 auipc sp,0x2
|
||
|
244: e3810113 addi sp,sp,-456 # 2078 <test_7_res>
|
||
|
248: 80100093 li ra,-2047
|
||
|
24c: 0010cf13 xori t5,ra,1
|
||
|
250: 01e12023 sw t5,0(sp)
|
||
|
254: 00000013 nop
|
||
|
258: 00004f93 xori t6,zero,0
|
||
|
25c: 01f12223 sw t6,4(sp)
|
||
|
260: 00002297 auipc t0,0x2
|
||
|
264: da028293 addi t0,t0,-608 # 2000 <begin_signature>
|
||
|
268: 10000337 lui t1,0x10000
|
||
|
26c: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
|
||
|
270: 00532023 sw t0,0(t1)
|
||
|
274: 00002297 auipc t0,0x2
|
||
|
278: e1c28293 addi t0,t0,-484 # 2090 <end_signature>
|
||
|
27c: 10000337 lui t1,0x10000
|
||
|
280: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
|
||
|
284: 00532023 sw t0,0(t1)
|
||
|
288: 00100293 li t0,1
|
||
|
28c: 10000337 lui t1,0x10000
|
||
|
290: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
|
||
|
294: 00532023 sw t0,0(t1)
|
||
|
298: 00000013 nop
|
||
|
29c: 00100193 li gp,1
|
||
|
2a0: 00000073 ecall
|
||
|
|
||
|
000002a4 <end_testcode>:
|
||
|
2a4: c0001073 unimp
|
||
|
...
|
||
|
|
||
|
Disassembly of section .tohost:
|
||
|
|
||
|
00001000 <tohost>:
|
||
|
...
|
||
|
|
||
|
00001100 <fromhost>:
|
||
|
...
|
||
|
|
||
|
Disassembly of section .data:
|
||
|
|
||
|
00002000 <begin_signature>:
|
||
|
2000: ffff 0xffff
|
||
|
2002: ffff 0xffff
|
||
|
2004: ffff 0xffff
|
||
|
2006: ffff 0xffff
|
||
|
2008: ffff 0xffff
|
||
|
200a: ffff 0xffff
|
||
|
200c: ffff 0xffff
|
||
|
200e: ffff 0xffff
|
||
|
2010: ffff 0xffff
|
||
|
2012: ffff 0xffff
|
||
|
|
||
|
00002014 <test_2_res>:
|
||
|
2014: ffff 0xffff
|
||
|
2016: ffff 0xffff
|
||
|
2018: ffff 0xffff
|
||
|
201a: ffff 0xffff
|
||
|
201c: ffff 0xffff
|
||
|
201e: ffff 0xffff
|
||
|
2020: ffff 0xffff
|
||
|
2022: ffff 0xffff
|
||
|
2024: ffff 0xffff
|
||
|
2026: ffff 0xffff
|
||
|
|
||
|
00002028 <test_3_res>:
|
||
|
2028: ffff 0xffff
|
||
|
202a: ffff 0xffff
|
||
|
202c: ffff 0xffff
|
||
|
202e: ffff 0xffff
|
||
|
2030: ffff 0xffff
|
||
|
2032: ffff 0xffff
|
||
|
2034: ffff 0xffff
|
||
|
2036: ffff 0xffff
|
||
|
2038: ffff 0xffff
|
||
|
203a: ffff 0xffff
|
||
|
|
||
|
0000203c <test_4_res>:
|
||
|
203c: ffff 0xffff
|
||
|
203e: ffff 0xffff
|
||
|
2040: ffff 0xffff
|
||
|
2042: ffff 0xffff
|
||
|
2044: ffff 0xffff
|
||
|
2046: ffff 0xffff
|
||
|
2048: ffff 0xffff
|
||
|
204a: ffff 0xffff
|
||
|
204c: ffff 0xffff
|
||
|
204e: ffff 0xffff
|
||
|
|
||
|
00002050 <test_5_res>:
|
||
|
2050: ffff 0xffff
|
||
|
2052: ffff 0xffff
|
||
|
2054: ffff 0xffff
|
||
|
2056: ffff 0xffff
|
||
|
2058: ffff 0xffff
|
||
|
205a: ffff 0xffff
|
||
|
205c: ffff 0xffff
|
||
|
205e: ffff 0xffff
|
||
|
2060: ffff 0xffff
|
||
|
2062: ffff 0xffff
|
||
|
|
||
|
00002064 <test_6_res>:
|
||
|
2064: ffff 0xffff
|
||
|
2066: ffff 0xffff
|
||
|
2068: ffff 0xffff
|
||
|
206a: ffff 0xffff
|
||
|
206c: ffff 0xffff
|
||
|
206e: ffff 0xffff
|
||
|
2070: ffff 0xffff
|
||
|
2072: ffff 0xffff
|
||
|
2074: ffff 0xffff
|
||
|
2076: ffff 0xffff
|
||
|
|
||
|
00002078 <test_7_res>:
|
||
|
2078: ffff 0xffff
|
||
|
207a: ffff 0xffff
|
||
|
207c: ffff 0xffff
|
||
|
207e: ffff 0xffff
|
||
|
2080: ffff 0xffff
|
||
|
2082: ffff 0xffff
|
||
|
2084: ffff 0xffff
|
||
|
2086: ffff 0xffff
|
||
|
2088: ffff 0xffff
|
||
|
208a: ffff 0xffff
|
||
|
208c: 0000 unimp
|
||
|
...
|
||
|
|
||
|
00002090 <end_signature>:
|
||
|
...
|
||
|
|
||
|
00002100 <begin_regstate>:
|
||
|
2100: 0080 addi s0,sp,64
|
||
|
...
|
||
|
|
||
|
00002200 <end_regstate>:
|
||
|
2200: 0004 0x4
|
||
|
...
|