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

412 lines
17 KiB
Plaintext

/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-JAL-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
00000000 <_start>:
0: 0480006f j 48 <reset_vector>
00000004 <trap_vector>:
4: 34202f73 csrr t5,mcause
8: 00800f93 li t6,8
c: 03ff0863 beq t5,t6,3c <write_tohost>
10: 00900f93 li t6,9
14: 03ff0463 beq t5,t6,3c <write_tohost>
18: 00b00f93 li t6,11
1c: 03ff0063 beq t5,t6,3c <write_tohost>
20: 00000f13 li t5,0
24: 000f0463 beqz t5,2c <trap_vector+0x28>
28: 000f0067 jr t5
2c: 34202f73 csrr t5,mcause
30: 000f5463 bgez t5,38 <handle_exception>
34: 0040006f j 38 <handle_exception>
00000038 <handle_exception>:
38: 5391e193 ori gp,gp,1337
0000003c <write_tohost>:
3c: 00001f17 auipc t5,0x1
40: fc3f2223 sw gp,-60(t5) # 1000 <tohost>
44: ff9ff06f j 3c <write_tohost>
00000048 <reset_vector>:
48: 00000193 li gp,0
4c: 00000297 auipc t0,0x0
50: fb828293 addi t0,t0,-72 # 4 <trap_vector>
54: 30529073 csrw mtvec,t0
58: 30005073 csrwi mstatus,0
5c: 00000297 auipc t0,0x0
60: 02028293 addi t0,t0,32 # 7c <begin_testcode>
64: 34129073 csrw mepc,t0
68: 00000293 li t0,0
6c: 20000337 lui t1,0x20000
70: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
74: 00532023 sw t0,0(t1)
78: 30200073 mret
0000007c <begin_testcode>:
7c: 00002297 auipc t0,0x2
80: f8428293 addi t0,t0,-124 # 2000 <begin_signature>
84: 0000d037 lui zero,0xd
88: ccc00013 li zero,-820
8c: 00c00fef jal t6,98 <begin_testcode+0x1c>
90: 00012037 lui zero,0x12
94: 3ab00013 li zero,939
98: 0002a023 sw zero,0(t0)
9c: 0000d0b7 lui ra,0xd
a0: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
a4: 00c00f6f jal t5,b0 <begin_testcode+0x34>
a8: 000120b7 lui ra,0x12
ac: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
b0: 0012a223 sw ra,4(t0)
b4: 0080006f j bc <begin_testcode+0x40>
b8: 0180006f j d0 <begin_testcode+0x54>
bc: 0000d137 lui sp,0xd
c0: ccc10113 addi sp,sp,-820 # cccc <_end+0xaac8>
c4: ff5ffeef jal t4,b8 <begin_testcode+0x3c>
c8: 00012137 lui sp,0x12
cc: 3ab10113 addi sp,sp,939 # 123ab <_end+0x101a7>
d0: 0022a423 sw sp,8(t0)
d4: 0000d1b7 lui gp,0xd
d8: ccc18193 addi gp,gp,-820 # cccc <_end+0xaac8>
dc: 00c00e6f jal t3,e8 <begin_testcode+0x6c>
e0: 000121b7 lui gp,0x12
e4: 3ab18193 addi gp,gp,939 # 123ab <_end+0x101a7>
e8: 0032a623 sw gp,12(t0)
ec: 0000d237 lui tp,0xd
f0: ccc20213 addi tp,tp,-820 # cccc <_end+0xaac8>
f4: 00c00def jal s11,100 <begin_testcode+0x84>
f8: 00012237 lui tp,0x12
fc: 3ab20213 addi tp,tp,939 # 123ab <_end+0x101a7>
100: 0042a823 sw tp,16(t0)
104: 00002097 auipc ra,0x2
108: f1008093 addi ra,ra,-240 # 2014 <test_2_res>
10c: 0000d2b7 lui t0,0xd
110: ccc28293 addi t0,t0,-820 # cccc <_end+0xaac8>
114: 00c00d6f jal s10,120 <begin_testcode+0xa4>
118: 000122b7 lui t0,0x12
11c: 3ab28293 addi t0,t0,939 # 123ab <_end+0x101a7>
120: 0050a023 sw t0,0(ra)
124: 0000d337 lui t1,0xd
128: ccc30313 addi t1,t1,-820 # cccc <_end+0xaac8>
12c: 00c00cef jal s9,138 <begin_testcode+0xbc>
130: 00012337 lui t1,0x12
134: 3ab30313 addi t1,t1,939 # 123ab <_end+0x101a7>
138: 0060a223 sw t1,4(ra)
13c: 0080006f j 144 <begin_testcode+0xc8>
140: 0180006f j 158 <begin_testcode+0xdc>
144: 0000d3b7 lui t2,0xd
148: ccc38393 addi t2,t2,-820 # cccc <_end+0xaac8>
14c: ff5ffc6f jal s8,140 <begin_testcode+0xc4>
150: 000123b7 lui t2,0x12
154: 3ab38393 addi t2,t2,939 # 123ab <_end+0x101a7>
158: 0070a423 sw t2,8(ra)
15c: 0000d437 lui s0,0xd
160: ccc40413 addi s0,s0,-820 # cccc <_end+0xaac8>
164: 00c00bef jal s7,170 <begin_testcode+0xf4>
168: 00012437 lui s0,0x12
16c: 3ab40413 addi s0,s0,939 # 123ab <_end+0x101a7>
170: 0080a623 sw s0,12(ra)
174: 0000d4b7 lui s1,0xd
178: ccc48493 addi s1,s1,-820 # cccc <_end+0xaac8>
17c: 00c00b6f jal s6,188 <begin_testcode+0x10c>
180: 000124b7 lui s1,0x12
184: 3ab48493 addi s1,s1,939 # 123ab <_end+0x101a7>
188: 0090a823 sw s1,16(ra)
18c: 00002097 auipc ra,0x2
190: e9c08093 addi ra,ra,-356 # 2028 <test_3_res>
194: 0000d537 lui a0,0xd
198: ccc50513 addi a0,a0,-820 # cccc <_end+0xaac8>
19c: 00c00aef jal s5,1a8 <begin_testcode+0x12c>
1a0: 00012537 lui a0,0x12
1a4: 3ab50513 addi a0,a0,939 # 123ab <_end+0x101a7>
1a8: 00a0a023 sw a0,0(ra)
1ac: 0000d5b7 lui a1,0xd
1b0: ccc58593 addi a1,a1,-820 # cccc <_end+0xaac8>
1b4: 00c00a6f jal s4,1c0 <begin_testcode+0x144>
1b8: 000125b7 lui a1,0x12
1bc: 3ab58593 addi a1,a1,939 # 123ab <_end+0x101a7>
1c0: 00b0a223 sw a1,4(ra)
1c4: 0080006f j 1cc <begin_testcode+0x150>
1c8: 0180006f j 1e0 <begin_testcode+0x164>
1cc: 0000d637 lui a2,0xd
1d0: ccc60613 addi a2,a2,-820 # cccc <_end+0xaac8>
1d4: ff5ff9ef jal s3,1c8 <begin_testcode+0x14c>
1d8: 00012637 lui a2,0x12
1dc: 3ab60613 addi a2,a2,939 # 123ab <_end+0x101a7>
1e0: 00c0a423 sw a2,8(ra)
1e4: 0000d6b7 lui a3,0xd
1e8: ccc68693 addi a3,a3,-820 # cccc <_end+0xaac8>
1ec: 00c0096f jal s2,1f8 <begin_testcode+0x17c>
1f0: 000126b7 lui a3,0x12
1f4: 3ab68693 addi a3,a3,939 # 123ab <_end+0x101a7>
1f8: 00d0a623 sw a3,12(ra)
1fc: 0000d737 lui a4,0xd
200: ccc70713 addi a4,a4,-820 # cccc <_end+0xaac8>
204: 00c008ef jal a7,210 <begin_testcode+0x194>
208: 00012737 lui a4,0x12
20c: 3ab70713 addi a4,a4,939 # 123ab <_end+0x101a7>
210: 00e0a823 sw a4,16(ra)
214: 00002117 auipc sp,0x2
218: e2810113 addi sp,sp,-472 # 203c <test_4_res>
21c: 0000d7b7 lui a5,0xd
220: ccc78793 addi a5,a5,-820 # cccc <_end+0xaac8>
224: 00c0086f jal a6,230 <begin_testcode+0x1b4>
228: 000127b7 lui a5,0x12
22c: 3ab78793 addi a5,a5,939 # 123ab <_end+0x101a7>
230: 00f12023 sw a5,0(sp)
234: 0000d837 lui a6,0xd
238: ccc80813 addi a6,a6,-820 # cccc <_end+0xaac8>
23c: 00c007ef jal a5,248 <begin_testcode+0x1cc>
240: 00012837 lui a6,0x12
244: 3ab80813 addi a6,a6,939 # 123ab <_end+0x101a7>
248: 01012223 sw a6,4(sp)
24c: 0080006f j 254 <begin_testcode+0x1d8>
250: 0180006f j 268 <begin_testcode+0x1ec>
254: 0000d8b7 lui a7,0xd
258: ccc88893 addi a7,a7,-820 # cccc <_end+0xaac8>
25c: ff5ff76f jal a4,250 <begin_testcode+0x1d4>
260: 000128b7 lui a7,0x12
264: 3ab88893 addi a7,a7,939 # 123ab <_end+0x101a7>
268: 01112423 sw a7,8(sp)
26c: 0000d937 lui s2,0xd
270: ccc90913 addi s2,s2,-820 # cccc <_end+0xaac8>
274: 00c006ef jal a3,280 <begin_testcode+0x204>
278: 00012937 lui s2,0x12
27c: 3ab90913 addi s2,s2,939 # 123ab <_end+0x101a7>
280: 01212623 sw s2,12(sp)
284: 0000d9b7 lui s3,0xd
288: ccc98993 addi s3,s3,-820 # cccc <_end+0xaac8>
28c: 00c0066f jal a2,298 <begin_testcode+0x21c>
290: 000129b7 lui s3,0x12
294: 3ab98993 addi s3,s3,939 # 123ab <_end+0x101a7>
298: 01312823 sw s3,16(sp)
29c: 00002097 auipc ra,0x2
2a0: db408093 addi ra,ra,-588 # 2050 <test_5_res>
2a4: 0000da37 lui s4,0xd
2a8: ccca0a13 addi s4,s4,-820 # cccc <_end+0xaac8>
2ac: 00c005ef jal a1,2b8 <begin_testcode+0x23c>
2b0: 00012a37 lui s4,0x12
2b4: 3aba0a13 addi s4,s4,939 # 123ab <_end+0x101a7>
2b8: 0140a023 sw s4,0(ra)
2bc: 0000dab7 lui s5,0xd
2c0: ccca8a93 addi s5,s5,-820 # cccc <_end+0xaac8>
2c4: 00c0056f jal a0,2d0 <begin_testcode+0x254>
2c8: 00012ab7 lui s5,0x12
2cc: 3aba8a93 addi s5,s5,939 # 123ab <_end+0x101a7>
2d0: 0150a223 sw s5,4(ra)
2d4: 0080006f j 2dc <begin_testcode+0x260>
2d8: 0180006f j 2f0 <begin_testcode+0x274>
2dc: 0000db37 lui s6,0xd
2e0: cccb0b13 addi s6,s6,-820 # cccc <_end+0xaac8>
2e4: ff5ff4ef jal s1,2d8 <begin_testcode+0x25c>
2e8: 00012b37 lui s6,0x12
2ec: 3abb0b13 addi s6,s6,939 # 123ab <_end+0x101a7>
2f0: 0160a423 sw s6,8(ra)
2f4: 0000dbb7 lui s7,0xd
2f8: cccb8b93 addi s7,s7,-820 # cccc <_end+0xaac8>
2fc: 00c0046f jal s0,308 <begin_testcode+0x28c>
300: 00012bb7 lui s7,0x12
304: 3abb8b93 addi s7,s7,939 # 123ab <_end+0x101a7>
308: 0170a623 sw s7,12(ra)
30c: 0000dc37 lui s8,0xd
310: cccc0c13 addi s8,s8,-820 # cccc <_end+0xaac8>
314: 00c003ef jal t2,320 <begin_testcode+0x2a4>
318: 00012c37 lui s8,0x12
31c: 3abc0c13 addi s8,s8,939 # 123ab <_end+0x101a7>
320: 0180a823 sw s8,16(ra)
324: 00002097 auipc ra,0x2
328: d4008093 addi ra,ra,-704 # 2064 <test_6_res>
32c: 0000dcb7 lui s9,0xd
330: cccc8c93 addi s9,s9,-820 # cccc <_end+0xaac8>
334: 00c0036f jal t1,340 <begin_testcode+0x2c4>
338: 00012cb7 lui s9,0x12
33c: 3abc8c93 addi s9,s9,939 # 123ab <_end+0x101a7>
340: 0190a023 sw s9,0(ra)
344: 0000dd37 lui s10,0xd
348: cccd0d13 addi s10,s10,-820 # cccc <_end+0xaac8>
34c: 00c002ef jal t0,358 <begin_testcode+0x2dc>
350: 00012d37 lui s10,0x12
354: 3abd0d13 addi s10,s10,939 # 123ab <_end+0x101a7>
358: 01a0a223 sw s10,4(ra)
35c: 0080006f j 364 <begin_testcode+0x2e8>
360: 0180006f j 378 <begin_testcode+0x2fc>
364: 0000ddb7 lui s11,0xd
368: cccd8d93 addi s11,s11,-820 # cccc <_end+0xaac8>
36c: ff5ff26f jal tp,360 <begin_testcode+0x2e4>
370: 00012db7 lui s11,0x12
374: 3abd8d93 addi s11,s11,939 # 123ab <_end+0x101a7>
378: 01b0a423 sw s11,8(ra)
37c: 0000de37 lui t3,0xd
380: ccce0e13 addi t3,t3,-820 # cccc <_end+0xaac8>
384: 00c001ef jal gp,390 <begin_testcode+0x314>
388: 00012e37 lui t3,0x12
38c: 3abe0e13 addi t3,t3,939 # 123ab <_end+0x101a7>
390: 01c0a623 sw t3,12(ra)
394: 0000deb7 lui t4,0xd
398: ccce8e93 addi t4,t4,-820 # cccc <_end+0xaac8>
39c: 00c0016f jal sp,3a8 <begin_testcode+0x32c>
3a0: 00012eb7 lui t4,0x12
3a4: 3abe8e93 addi t4,t4,939 # 123ab <_end+0x101a7>
3a8: 01d0a823 sw t4,16(ra)
3ac: 00002117 auipc sp,0x2
3b0: ccc10113 addi sp,sp,-820 # 2078 <test_7_res>
3b4: 0000df37 lui t5,0xd
3b8: cccf0f13 addi t5,t5,-820 # cccc <_end+0xaac8>
3bc: 00c000ef jal ra,3c8 <begin_testcode+0x34c>
3c0: 00012f37 lui t5,0x12
3c4: 3abf0f13 addi t5,t5,939 # 123ab <_end+0x101a7>
3c8: 01e12023 sw t5,0(sp)
3cc: 0000dfb7 lui t6,0xd
3d0: cccf8f93 addi t6,t6,-820 # cccc <_end+0xaac8>
3d4: 00c0006f j 3e0 <begin_testcode+0x364>
3d8: 00012fb7 lui t6,0x12
3dc: 3abf8f93 addi t6,t6,939 # 123ab <_end+0x101a7>
3e0: 01f12223 sw t6,4(sp)
3e4: 00002297 auipc t0,0x2
3e8: c1c28293 addi t0,t0,-996 # 2000 <begin_signature>
3ec: 20000337 lui t1,0x20000
3f0: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
3f4: 00532023 sw t0,0(t1)
3f8: 00002297 auipc t0,0x2
3fc: c9828293 addi t0,t0,-872 # 2090 <end_signature>
400: 20000337 lui t1,0x20000
404: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
408: 00532023 sw t0,0(t1)
40c: 00100293 li t0,1
410: 20000337 lui t1,0x20000
414: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
418: 00532023 sw t0,0(t1)
41c: 00000013 nop
420: 00100193 li gp,1
424: 00000073 ecall
00000428 <end_testcode>:
428: 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
...
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 <trap_vector+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