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

396 lines
16 KiB
Plaintext
Raw Normal View History

D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-JAL-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: 0000d037 lui zero,0xd
8c: ccc00013 li zero,-820
90: 00c00fef jal t6,9c <begin_testcode+0x1c>
94: 00012037 lui zero,0x12
98: 3ab00013 li zero,939
9c: 0002a023 sw zero,0(t0)
a0: 0000d0b7 lui ra,0xd
a4: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
a8: 00c00f6f jal t5,b4 <begin_testcode+0x34>
ac: 000120b7 lui ra,0x12
b0: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
b4: 0012a223 sw ra,4(t0)
b8: 0080006f j c0 <begin_testcode+0x40>
bc: 0180006f j d4 <begin_testcode+0x54>
c0: 0000d137 lui sp,0xd
c4: ccc10113 addi sp,sp,-820 # cccc <_end+0xaac8>
c8: ff5ffeef jal t4,bc <begin_testcode+0x3c>
cc: 00012137 lui sp,0x12
d0: 3ab10113 addi sp,sp,939 # 123ab <_end+0x101a7>
d4: 0022a423 sw sp,8(t0)
d8: 0000d1b7 lui gp,0xd
dc: ccc18193 addi gp,gp,-820 # cccc <_end+0xaac8>
e0: 00c00e6f jal t3,ec <begin_testcode+0x6c>
e4: 000121b7 lui gp,0x12
e8: 3ab18193 addi gp,gp,939 # 123ab <_end+0x101a7>
ec: 0032a623 sw gp,12(t0)
f0: 0000d237 lui tp,0xd
f4: ccc20213 addi tp,tp,-820 # cccc <_end+0xaac8>
f8: 00c00def jal s11,104 <begin_testcode+0x84>
fc: 00012237 lui tp,0x12
100: 3ab20213 addi tp,tp,939 # 123ab <_end+0x101a7>
104: 0042a823 sw tp,16(t0)
108: 00002097 auipc ra,0x2
10c: f0c08093 addi ra,ra,-244 # 2014 <test_2_res>
110: 0000d2b7 lui t0,0xd
114: ccc28293 addi t0,t0,-820 # cccc <_end+0xaac8>
118: 00c00d6f jal s10,124 <begin_testcode+0xa4>
11c: 000122b7 lui t0,0x12
120: 3ab28293 addi t0,t0,939 # 123ab <_end+0x101a7>
124: 0050a023 sw t0,0(ra)
128: 0000d337 lui t1,0xd
12c: ccc30313 addi t1,t1,-820 # cccc <_end+0xaac8>
130: 00c00cef jal s9,13c <begin_testcode+0xbc>
134: 00012337 lui t1,0x12
138: 3ab30313 addi t1,t1,939 # 123ab <_end+0x101a7>
13c: 0060a223 sw t1,4(ra)
140: 0080006f j 148 <begin_testcode+0xc8>
144: 0180006f j 15c <begin_testcode+0xdc>
148: 0000d3b7 lui t2,0xd
14c: ccc38393 addi t2,t2,-820 # cccc <_end+0xaac8>
150: ff5ffc6f jal s8,144 <begin_testcode+0xc4>
154: 000123b7 lui t2,0x12
158: 3ab38393 addi t2,t2,939 # 123ab <_end+0x101a7>
15c: 0070a423 sw t2,8(ra)
160: 0000d437 lui s0,0xd
164: ccc40413 addi s0,s0,-820 # cccc <_end+0xaac8>
168: 00c00bef jal s7,174 <begin_testcode+0xf4>
16c: 00012437 lui s0,0x12
170: 3ab40413 addi s0,s0,939 # 123ab <_end+0x101a7>
174: 0080a623 sw s0,12(ra)
178: 0000d4b7 lui s1,0xd
17c: ccc48493 addi s1,s1,-820 # cccc <_end+0xaac8>
180: 00c00b6f jal s6,18c <begin_testcode+0x10c>
184: 000124b7 lui s1,0x12
188: 3ab48493 addi s1,s1,939 # 123ab <_end+0x101a7>
18c: 0090a823 sw s1,16(ra)
190: 00002097 auipc ra,0x2
194: e9808093 addi ra,ra,-360 # 2028 <test_3_res>
198: 0000d537 lui a0,0xd
19c: ccc50513 addi a0,a0,-820 # cccc <_end+0xaac8>
1a0: 00c00aef jal s5,1ac <begin_testcode+0x12c>
1a4: 00012537 lui a0,0x12
1a8: 3ab50513 addi a0,a0,939 # 123ab <_end+0x101a7>
1ac: 00a0a023 sw a0,0(ra)
1b0: 0000d5b7 lui a1,0xd
1b4: ccc58593 addi a1,a1,-820 # cccc <_end+0xaac8>
1b8: 00c00a6f jal s4,1c4 <begin_testcode+0x144>
1bc: 000125b7 lui a1,0x12
1c0: 3ab58593 addi a1,a1,939 # 123ab <_end+0x101a7>
1c4: 00b0a223 sw a1,4(ra)
1c8: 0080006f j 1d0 <begin_testcode+0x150>
1cc: 0180006f j 1e4 <begin_testcode+0x164>
1d0: 0000d637 lui a2,0xd
1d4: ccc60613 addi a2,a2,-820 # cccc <_end+0xaac8>
1d8: ff5ff9ef jal s3,1cc <begin_testcode+0x14c>
1dc: 00012637 lui a2,0x12
1e0: 3ab60613 addi a2,a2,939 # 123ab <_end+0x101a7>
1e4: 00c0a423 sw a2,8(ra)
1e8: 0000d6b7 lui a3,0xd
1ec: ccc68693 addi a3,a3,-820 # cccc <_end+0xaac8>
1f0: 00c0096f jal s2,1fc <begin_testcode+0x17c>
1f4: 000126b7 lui a3,0x12
1f8: 3ab68693 addi a3,a3,939 # 123ab <_end+0x101a7>
1fc: 00d0a623 sw a3,12(ra)
200: 0000d737 lui a4,0xd
204: ccc70713 addi a4,a4,-820 # cccc <_end+0xaac8>
208: 00c008ef jal a7,214 <begin_testcode+0x194>
20c: 00012737 lui a4,0x12
210: 3ab70713 addi a4,a4,939 # 123ab <_end+0x101a7>
214: 00e0a823 sw a4,16(ra)
218: 00002117 auipc sp,0x2
21c: e2410113 addi sp,sp,-476 # 203c <test_4_res>
220: 0000d7b7 lui a5,0xd
224: ccc78793 addi a5,a5,-820 # cccc <_end+0xaac8>
228: 00c0086f jal a6,234 <begin_testcode+0x1b4>
22c: 000127b7 lui a5,0x12
230: 3ab78793 addi a5,a5,939 # 123ab <_end+0x101a7>
234: 00f12023 sw a5,0(sp)
238: 0000d837 lui a6,0xd
23c: ccc80813 addi a6,a6,-820 # cccc <_end+0xaac8>
240: 00c007ef jal a5,24c <begin_testcode+0x1cc>
244: 00012837 lui a6,0x12
248: 3ab80813 addi a6,a6,939 # 123ab <_end+0x101a7>
24c: 01012223 sw a6,4(sp)
250: 0080006f j 258 <begin_testcode+0x1d8>
254: 0180006f j 26c <begin_testcode+0x1ec>
258: 0000d8b7 lui a7,0xd
25c: ccc88893 addi a7,a7,-820 # cccc <_end+0xaac8>
260: ff5ff76f jal a4,254 <begin_testcode+0x1d4>
264: 000128b7 lui a7,0x12
268: 3ab88893 addi a7,a7,939 # 123ab <_end+0x101a7>
26c: 01112423 sw a7,8(sp)
270: 0000d937 lui s2,0xd
274: ccc90913 addi s2,s2,-820 # cccc <_end+0xaac8>
278: 00c006ef jal a3,284 <begin_testcode+0x204>
27c: 00012937 lui s2,0x12
280: 3ab90913 addi s2,s2,939 # 123ab <_end+0x101a7>
284: 01212623 sw s2,12(sp)
288: 0000d9b7 lui s3,0xd
28c: ccc98993 addi s3,s3,-820 # cccc <_end+0xaac8>
290: 00c0066f jal a2,29c <begin_testcode+0x21c>
294: 000129b7 lui s3,0x12
298: 3ab98993 addi s3,s3,939 # 123ab <_end+0x101a7>
29c: 01312823 sw s3,16(sp)
2a0: 00002097 auipc ra,0x2
2a4: db008093 addi ra,ra,-592 # 2050 <test_5_res>
2a8: 0000da37 lui s4,0xd
2ac: ccca0a13 addi s4,s4,-820 # cccc <_end+0xaac8>
2b0: 00c005ef jal a1,2bc <begin_testcode+0x23c>
2b4: 00012a37 lui s4,0x12
2b8: 3aba0a13 addi s4,s4,939 # 123ab <_end+0x101a7>
2bc: 0140a023 sw s4,0(ra)
2c0: 0000dab7 lui s5,0xd
2c4: ccca8a93 addi s5,s5,-820 # cccc <_end+0xaac8>
2c8: 00c0056f jal a0,2d4 <begin_testcode+0x254>
2cc: 00012ab7 lui s5,0x12
2d0: 3aba8a93 addi s5,s5,939 # 123ab <_end+0x101a7>
2d4: 0150a223 sw s5,4(ra)
2d8: 0080006f j 2e0 <begin_testcode+0x260>
2dc: 0180006f j 2f4 <begin_testcode+0x274>
2e0: 0000db37 lui s6,0xd
2e4: cccb0b13 addi s6,s6,-820 # cccc <_end+0xaac8>
2e8: ff5ff4ef jal s1,2dc <begin_testcode+0x25c>
2ec: 00012b37 lui s6,0x12
2f0: 3abb0b13 addi s6,s6,939 # 123ab <_end+0x101a7>
2f4: 0160a423 sw s6,8(ra)
2f8: 0000dbb7 lui s7,0xd
2fc: cccb8b93 addi s7,s7,-820 # cccc <_end+0xaac8>
300: 00c0046f jal s0,30c <begin_testcode+0x28c>
304: 00012bb7 lui s7,0x12
308: 3abb8b93 addi s7,s7,939 # 123ab <_end+0x101a7>
30c: 0170a623 sw s7,12(ra)
310: 0000dc37 lui s8,0xd
314: cccc0c13 addi s8,s8,-820 # cccc <_end+0xaac8>
318: 00c003ef jal t2,324 <begin_testcode+0x2a4>
31c: 00012c37 lui s8,0x12
320: 3abc0c13 addi s8,s8,939 # 123ab <_end+0x101a7>
324: 0180a823 sw s8,16(ra)
328: 00002097 auipc ra,0x2
32c: d3c08093 addi ra,ra,-708 # 2064 <test_6_res>
330: 0000dcb7 lui s9,0xd
334: cccc8c93 addi s9,s9,-820 # cccc <_end+0xaac8>
338: 00c0036f jal t1,344 <begin_testcode+0x2c4>
33c: 00012cb7 lui s9,0x12
340: 3abc8c93 addi s9,s9,939 # 123ab <_end+0x101a7>
344: 0190a023 sw s9,0(ra)
348: 0000dd37 lui s10,0xd
34c: cccd0d13 addi s10,s10,-820 # cccc <_end+0xaac8>
350: 00c002ef jal t0,35c <begin_testcode+0x2dc>
354: 00012d37 lui s10,0x12
358: 3abd0d13 addi s10,s10,939 # 123ab <_end+0x101a7>
35c: 01a0a223 sw s10,4(ra)
360: 0080006f j 368 <begin_testcode+0x2e8>
364: 0180006f j 37c <begin_testcode+0x2fc>
368: 0000ddb7 lui s11,0xd
36c: cccd8d93 addi s11,s11,-820 # cccc <_end+0xaac8>
370: ff5ff26f jal tp,364 <begin_testcode+0x2e4>
374: 00012db7 lui s11,0x12
378: 3abd8d93 addi s11,s11,939 # 123ab <_end+0x101a7>
37c: 01b0a423 sw s11,8(ra)
380: 0000de37 lui t3,0xd
384: ccce0e13 addi t3,t3,-820 # cccc <_end+0xaac8>
388: 00c001ef jal gp,394 <begin_testcode+0x314>
38c: 00012e37 lui t3,0x12
390: 3abe0e13 addi t3,t3,939 # 123ab <_end+0x101a7>
394: 01c0a623 sw t3,12(ra)
398: 0000deb7 lui t4,0xd
39c: ccce8e93 addi t4,t4,-820 # cccc <_end+0xaac8>
3a0: 00c0016f jal sp,3ac <begin_testcode+0x32c>
3a4: 00012eb7 lui t4,0x12
3a8: 3abe8e93 addi t4,t4,939 # 123ab <_end+0x101a7>
3ac: 01d0a823 sw t4,16(ra)
3b0: 00002117 auipc sp,0x2
3b4: cc810113 addi sp,sp,-824 # 2078 <test_7_res>
3b8: 0000df37 lui t5,0xd
3bc: cccf0f13 addi t5,t5,-820 # cccc <_end+0xaac8>
3c0: 00c000ef jal ra,3cc <begin_testcode+0x34c>
3c4: 00012f37 lui t5,0x12
3c8: 3abf0f13 addi t5,t5,939 # 123ab <_end+0x101a7>
3cc: 01e12023 sw t5,0(sp)
3d0: 0000dfb7 lui t6,0xd
3d4: cccf8f93 addi t6,t6,-820 # cccc <_end+0xaac8>
3d8: 00c0006f j 3e4 <begin_testcode+0x364>
3dc: 00012fb7 lui t6,0x12
3e0: 3abf8f93 addi t6,t6,939 # 123ab <_end+0x101a7>
3e4: 01f12223 sw t6,4(sp)
3e8: 00002297 auipc t0,0x2
3ec: c1828293 addi t0,t0,-1000 # 2000 <begin_signature>
3f0: 10000337 lui t1,0x10000
3f4: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
3f8: 00532023 sw t0,0(t1)
3fc: 00002297 auipc t0,0x2
400: c9428293 addi t0,t0,-876 # 2090 <end_signature>
404: 10000337 lui t1,0x10000
408: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
40c: 00532023 sw t0,0(t1)
410: 00100293 li t0,1
414: 10000337 lui t1,0x10000
418: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
41c: 00532023 sw t0,0(t1)
420: 00000013 nop
424: 00100193 li gp,1
428: 00000073 ecall
0000042c <end_testcode>:
42c: 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
...