tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-SRA-01.elf.objdump

330 lines
11 KiB
Plaintext

D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-SRA-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: 00000813 li a6,0
90: 410fd033 sra zero,t6,a6
94: 0002a023 sw zero,0(t0)
98: 00100f13 li t5,1
9c: 00000793 li a5,0
a0: 40ff50b3 sra ra,t5,a5
a4: 0012a223 sw ra,4(t0)
a8: 00000e93 li t4,0
ac: 00100713 li a4,1
b0: 40eed133 sra sp,t4,a4
b4: 0022a423 sw sp,8(t0)
b8: 7ff00e13 li t3,2047
bc: 00400693 li a3,4
c0: 40de51b3 sra gp,t3,a3
c4: 0032a623 sw gp,12(t0)
c8: 00000d93 li s11,0
cc: 00800613 li a2,8
d0: 40cdd233 sra tp,s11,a2
d4: 0042a823 sw tp,16(t0)
d8: 00002097 auipc ra,0x2
dc: f3c08093 addi ra,ra,-196 # 2014 <test_2_res>
e0: 00001d37 lui s10,0x1
e4: 800d0d13 addi s10,s10,-2048 # 800 <end_testcode+0x4dc>
e8: 01f00593 li a1,31
ec: 40bd52b3 sra t0,s10,a1
f0: 0050a023 sw t0,0(ra)
f4: 07654cb7 lui s9,0x7654
f8: 321c8c93 addi s9,s9,801 # 7654321 <_end+0x765211d>
fc: 01000513 li a0,16
100: 40acd333 sra t1,s9,a0
104: 0060a223 sw t1,4(ra)
108: 80000c37 lui s8,0x80000
10c: fffc0c13 addi s8,s8,-1 # 7fffffff <_end+0x7fffddfb>
110: 00100493 li s1,1
114: 409c53b3 sra t2,s8,s1
118: 0070a423 sw t2,8(ra)
11c: 00100b93 li s7,1
120: 00000413 li s0,0
124: 408bd433 sra s0,s7,s0
128: 0080a623 sw s0,12(ra)
12c: fff00b13 li s6,-1
130: 00000393 li t2,0
134: 407b54b3 sra s1,s6,t2
138: 0090a823 sw s1,16(ra)
13c: 00002097 auipc ra,0x2
140: eec08093 addi ra,ra,-276 # 2028 <test_3_res>
144: 00001ab7 lui s5,0x1
148: 234a8a93 addi s5,s5,564 # 1234 <fromhost+0x134>
14c: 00100313 li t1,1
150: 406ad533 sra a0,s5,t1
154: 00a0a023 sw a0,0(ra)
158: 80000a37 lui s4,0x80000
15c: 00400293 li t0,4
160: 405a55b3 sra a1,s4,t0
164: 00b0a223 sw a1,4(ra)
168: fffff9b7 lui s3,0xfffff
16c: dcc98993 addi s3,s3,-564 # ffffedcc <_end+0xffffcbc8>
170: 00800213 li tp,8
174: 4049d633 sra a2,s3,tp
178: 00c0a423 sw a2,8(ra)
17c: fff00913 li s2,-1
180: 01f00193 li gp,31
184: 403956b3 sra a3,s2,gp
188: 00d0a623 sw a3,12(ra)
18c: 80100893 li a7,-2047
190: 01000113 li sp,16
194: 4028d733 sra a4,a7,sp
198: 00e0a823 sw a4,16(ra)
19c: 00002117 auipc sp,0x2
1a0: ea010113 addi sp,sp,-352 # 203c <test_4_res>
1a4: 00000813 li a6,0
1a8: 00100093 li ra,1
1ac: 401857b3 sra a5,a6,ra
1b0: 00f12023 sw a5,0(sp)
1b4: fff00793 li a5,-1
1b8: 00000013 nop
1bc: 4007d833 sra a6,a5,zero
1c0: 01012223 sw a6,4(sp)
1c4: 00100713 li a4,1
1c8: 00000f93 li t6,0
1cc: 41f758b3 sra a7,a4,t6
1d0: 01112423 sw a7,8(sp)
1d4: 00000693 li a3,0
1d8: 00100f13 li t5,1
1dc: 41e6d933 sra s2,a3,t5
1e0: 01212623 sw s2,12(sp)
1e4: 7ff00613 li a2,2047
1e8: 00400e93 li t4,4
1ec: 41d659b3 sra s3,a2,t4
1f0: 01312823 sw s3,16(sp)
1f4: 00002097 auipc ra,0x2
1f8: e5c08093 addi ra,ra,-420 # 2050 <test_5_res>
1fc: 00000593 li a1,0
200: 00800e13 li t3,8
204: 41c5da33 sra s4,a1,t3
208: 0140a023 sw s4,0(ra)
20c: 00001537 lui a0,0x1
210: 80050513 addi a0,a0,-2048 # 800 <end_testcode+0x4dc>
214: 01f00d93 li s11,31
218: 41b55ab3 sra s5,a0,s11
21c: 0150a223 sw s5,4(ra)
220: 076544b7 lui s1,0x7654
224: 32148493 addi s1,s1,801 # 7654321 <_end+0x765211d>
228: 01000d13 li s10,16
22c: 41a4db33 sra s6,s1,s10
230: 0160a423 sw s6,8(ra)
234: 80000437 lui s0,0x80000
238: fff40413 addi s0,s0,-1 # 7fffffff <_end+0x7fffddfb>
23c: 00100c93 li s9,1
240: 41945bb3 sra s7,s0,s9
244: 0170a623 sw s7,12(ra)
248: 00100393 li t2,1
24c: 00000c13 li s8,0
250: 4183dc33 sra s8,t2,s8
254: 0180a823 sw s8,16(ra)
258: 00002097 auipc ra,0x2
25c: e0c08093 addi ra,ra,-500 # 2064 <test_6_res>
260: fff00313 li t1,-1
264: 00000b93 li s7,0
268: 41735cb3 sra s9,t1,s7
26c: 0190a023 sw s9,0(ra)
270: 000012b7 lui t0,0x1
274: 23428293 addi t0,t0,564 # 1234 <fromhost+0x134>
278: 00100b13 li s6,1
27c: 4162dd33 sra s10,t0,s6
280: 01a0a223 sw s10,4(ra)
284: 80000237 lui tp,0x80000
288: 00400a93 li s5,4
28c: 41525db3 sra s11,tp,s5
290: 01b0a423 sw s11,8(ra)
294: fffff1b7 lui gp,0xfffff
298: dcc18193 addi gp,gp,-564 # ffffedcc <_end+0xffffcbc8>
29c: 00800a13 li s4,8
2a0: 4141de33 sra t3,gp,s4
2a4: 01c0a623 sw t3,12(ra)
2a8: fff00113 li sp,-1
2ac: 01f00993 li s3,31
2b0: 41315eb3 sra t4,sp,s3
2b4: 01d0a823 sw t4,16(ra)
2b8: 00002117 auipc sp,0x2
2bc: dc010113 addi sp,sp,-576 # 2078 <test_7_res>
2c0: 80100093 li ra,-2047
2c4: 01000913 li s2,16
2c8: 4120df33 sra t5,ra,s2
2cc: 01e12023 sw t5,0(sp)
2d0: 00000013 nop
2d4: 00100893 li a7,1
2d8: 41105fb3 sra t6,zero,a7
2dc: 01f12223 sw t6,4(sp)
2e0: 00002297 auipc t0,0x2
2e4: d2028293 addi t0,t0,-736 # 2000 <begin_signature>
2e8: 10000337 lui t1,0x10000
2ec: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
2f0: 00532023 sw t0,0(t1)
2f4: 00002297 auipc t0,0x2
2f8: d9c28293 addi t0,t0,-612 # 2090 <end_signature>
2fc: 10000337 lui t1,0x10000
300: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
304: 00532023 sw t0,0(t1)
308: 00100293 li t0,1
30c: 10000337 lui t1,0x10000
310: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
314: 00532023 sw t0,0(t1)
318: 00000013 nop
31c: 00100193 li gp,1
320: 00000073 ecall
00000324 <end_testcode>:
324: 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
...