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

327 lines
12 KiB
Plaintext
Raw Normal View History

D:/gitee/open/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-MISALIGN_JMP-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: 00000097 auipc ra,0x0
84: 20808093 addi ra,ra,520 # 288 <_trap_handler>
88: 30509ff3 csrrw t6,mtvec,ra
8c: 30127073 csrci misa,4
90: 00002097 auipc ra,0x2
94: f7008093 addi ra,ra,-144 # 2000 <begin_signature>
98: 11111137 lui sp,0x11111
9c: 11110113 addi sp,sp,273 # 11111111 <_end+0x1110ef0d>
a0: 00a0006f j aa <begin_testcode+0x2a>
a4: 00000113 li sp,0
a8: 00002097 auipc ra,0x2
ac: f6408093 addi ra,ra,-156 # 200c <test_A2_res>
b0: 22222137 lui sp,0x22222
b4: 22210113 addi sp,sp,546 # 22222222 <_end+0x2222001e>
b8: 00000217 auipc tp,0x0
bc: 01120213 addi tp,tp,17 # c9 <begin_testcode+0x49>
c0: 00020067 jr tp # 0 <_start>
c4: 00000113 li sp,0
c8: 0020a023 sw sp,0(ra)
cc: 00408093 addi ra,ra,4
d0: 33333137 lui sp,0x33333
d4: 33310113 addi sp,sp,819 # 33333333 <_end+0x3333112f>
d8: 00000217 auipc tp,0x0
dc: 01020213 addi tp,tp,16 # e8 <begin_testcode+0x68>
e0: 00120067 jr 1(tp) # 0 <_start>
e4: 00000113 li sp,0
e8: 0020a023 sw sp,0(ra)
ec: 00408093 addi ra,ra,4
f0: 44444137 lui sp,0x44444
f4: 44410113 addi sp,sp,1092 # 44444444 <_end+0x44442240>
f8: 00000217 auipc tp,0x0
fc: 01420213 addi tp,tp,20 # 10c <begin_testcode+0x8c>
100: ffd20067 jr -3(tp) # 0 <_start>
104: 00000113 li sp,0
108: 0020a023 sw sp,0(ra)
10c: 00408093 addi ra,ra,4
110: 00002097 auipc ra,0x2
114: f0808093 addi ra,ra,-248 # 2018 <test_A3_res_exc>
118: 55555137 lui sp,0x55555
11c: 55510113 addi sp,sp,1365 # 55555555 <_end+0x55553351>
120: 00000217 auipc tp,0x0
124: 01220213 addi tp,tp,18 # 132 <begin_testcode+0xb2>
128: 00020067 jr tp # 0 <_start>
12c: 00000113 li sp,0
130: 66666137 lui sp,0x66666
134: 66610113 addi sp,sp,1638 # 66666666 <_end+0x66664462>
138: 00000217 auipc tp,0x0
13c: 01320213 addi tp,tp,19 # 14b <begin_testcode+0xcb>
140: 00020067 jr tp # 0 <_start>
144: 00000113 li sp,0
148: 77777137 lui sp,0x77777
14c: 77710113 addi sp,sp,1911 # 77777777 <_end+0x77775573>
150: 00000217 auipc tp,0x0
154: 01020213 addi tp,tp,16 # 160 <begin_testcode+0xe0>
158: 00220067 jr 2(tp) # 0 <_start>
15c: 00000113 li sp,0
160: 88889137 lui sp,0x88889
164: 88810113 addi sp,sp,-1912 # 88888888 <_end+0x88886684>
168: 00000217 auipc tp,0x0
16c: 01020213 addi tp,tp,16 # 178 <begin_testcode+0xf8>
170: 00320067 jr 3(tp) # 0 <_start>
174: 00000113 li sp,0
178: 00002097 auipc ra,0x2
17c: ed008093 addi ra,ra,-304 # 2048 <test_B1_res_exc>
180: 00500293 li t0,5
184: 00600313 li t1,6
188: 00628763 beq t0,t1,196 <begin_testcode+0x116>
18c: 9999a137 lui sp,0x9999a
190: 99910113 addi sp,sp,-1639 # 99999999 <_end+0x99997795>
194: 00000013 nop
198: 00000013 nop
19c: 00528563 beq t0,t0,1a6 <begin_testcode+0x126>
1a0: 00000113 li sp,0
1a4: 00002097 auipc ra,0x2
1a8: eb008093 addi ra,ra,-336 # 2054 <test_B2_res_exc>
1ac: 00500293 li t0,5
1b0: 00600313 li t1,6
1b4: 00529763 bne t0,t0,1c2 <begin_testcode+0x142>
1b8: aaaab137 lui sp,0xaaaab
1bc: aaa10113 addi sp,sp,-1366 # aaaaaaaa <_end+0xaaaa88a6>
1c0: 00000013 nop
1c4: 00000013 nop
1c8: 00629563 bne t0,t1,1d2 <begin_testcode+0x152>
1cc: 00000113 li sp,0
1d0: 00002097 auipc ra,0x2
1d4: e9008093 addi ra,ra,-368 # 2060 <test_B3_res_exc>
1d8: 00500293 li t0,5
1dc: 00600313 li t1,6
1e0: 00534763 blt t1,t0,1ee <begin_testcode+0x16e>
1e4: bbbbc137 lui sp,0xbbbbc
1e8: bbb10113 addi sp,sp,-1093 # bbbbbbbb <_end+0xbbbb99b7>
1ec: 00000013 nop
1f0: 00000013 nop
1f4: 0062c563 blt t0,t1,1fe <begin_testcode+0x17e>
1f8: 00000113 li sp,0
1fc: 00002097 auipc ra,0x2
200: e7008093 addi ra,ra,-400 # 206c <test_B4_res_exc>
204: 00500293 li t0,5
208: 00600313 li t1,6
20c: 00536763 bltu t1,t0,21a <begin_testcode+0x19a>
210: ccccd137 lui sp,0xccccd
214: ccc10113 addi sp,sp,-820 # cccccccc <_end+0xccccaac8>
218: 00000013 nop
21c: 00000013 nop
220: 0062e563 bltu t0,t1,22a <begin_testcode+0x1aa>
224: 00000113 li sp,0
228: 00002097 auipc ra,0x2
22c: e5008093 addi ra,ra,-432 # 2078 <test_B5_res_exc>
230: 00500293 li t0,5
234: 00600313 li t1,6
238: 0062d763 bge t0,t1,246 <begin_testcode+0x1c6>
23c: dddde137 lui sp,0xdddde
240: ddd10113 addi sp,sp,-547 # dddddddd <_end+0xddddbbd9>
244: 00000013 nop
248: 00000013 nop
24c: 00535563 bge t1,t0,256 <begin_testcode+0x1d6>
250: 00000113 li sp,0
254: 00002097 auipc ra,0x2
258: e3008093 addi ra,ra,-464 # 2084 <test_B6_res_exc>
25c: 00500293 li t0,5
260: 00600313 li t1,6
264: 0062f763 bgeu t0,t1,272 <begin_testcode+0x1f2>
268: eeeef137 lui sp,0xeeeef
26c: eee10113 addi sp,sp,-274 # eeeeeeee <_end+0xeeeeccea>
270: 00000013 nop
274: 00000013 nop
278: 00537563 bgeu t1,t0,282 <begin_testcode+0x202>
27c: 00000113 li sp,0
280: 305f9073 csrw mtvec,t6
284: 0300006f j 2b4 <test_end>
00000288 <_trap_handler>:
288: 34302f73 csrr t5,mtval
28c: ffef0f13 addi t5,t5,-2
290: 341f1073 csrw mepc,t5
294: 34302f73 csrr t5,mtval
298: 003f7f13 andi t5,t5,3
29c: 01e0a023 sw t5,0(ra)
2a0: 34202f73 csrr t5,mcause
2a4: 01e0a223 sw t5,4(ra)
2a8: 0020a423 sw sp,8(ra)
2ac: 00c08093 addi ra,ra,12
2b0: 30200073 mret
000002b4 <test_end>:
2b4: 00002297 auipc t0,0x2
2b8: d4c28293 addi t0,t0,-692 # 2000 <begin_signature>
2bc: 10000337 lui t1,0x10000
2c0: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
2c4: 00532023 sw t0,0(t1)
2c8: 00002297 auipc t0,0x2
2cc: dc828293 addi t0,t0,-568 # 2090 <end_signature>
2d0: 10000337 lui t1,0x10000
2d4: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
2d8: 00532023 sw t0,0(t1)
2dc: 00100293 li t0,1
2e0: 10000337 lui t1,0x10000
2e4: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
2e8: 00532023 sw t0,0(t1)
2ec: 00000013 nop
2f0: 00100193 li gp,1
2f4: 00000073 ecall
000002f8 <end_testcode>:
2f8: 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
0000200c <test_A2_res>:
200c: ffff 0xffff
200e: ffff 0xffff
2010: ffff 0xffff
2012: ffff 0xffff
2014: ffff 0xffff
2016: ffff 0xffff
00002018 <test_A3_res_exc>:
2018: ffff 0xffff
201a: ffff 0xffff
201c: ffff 0xffff
201e: ffff 0xffff
2020: ffff 0xffff
2022: ffff 0xffff
2024: ffff 0xffff
2026: ffff 0xffff
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
203c: ffff 0xffff
203e: ffff 0xffff
2040: ffff 0xffff
2042: ffff 0xffff
2044: ffff 0xffff
2046: ffff 0xffff
00002048 <test_B1_res_exc>:
2048: ffff 0xffff
204a: ffff 0xffff
204c: ffff 0xffff
204e: ffff 0xffff
2050: ffff 0xffff
2052: ffff 0xffff
00002054 <test_B2_res_exc>:
2054: ffff 0xffff
2056: ffff 0xffff
2058: ffff 0xffff
205a: ffff 0xffff
205c: ffff 0xffff
205e: ffff 0xffff
00002060 <test_B3_res_exc>:
2060: ffff 0xffff
2062: ffff 0xffff
2064: ffff 0xffff
2066: ffff 0xffff
2068: ffff 0xffff
206a: ffff 0xffff
0000206c <test_B4_res_exc>:
206c: ffff 0xffff
206e: ffff 0xffff
2070: ffff 0xffff
2072: ffff 0xffff
2074: ffff 0xffff
2076: ffff 0xffff
00002078 <test_B5_res_exc>:
2078: ffff 0xffff
207a: ffff 0xffff
207c: ffff 0xffff
207e: ffff 0xffff
2080: ffff 0xffff
2082: ffff 0xffff
00002084 <test_B6_res_exc>:
2084: ffff 0xffff
2086: ffff 0xffff
2088: ffff 0xffff
208a: ffff 0xffff
208c: ffff 0xffff
208e: ffff 0xffff
00002090 <end_signature>:
...
00002100 <begin_regstate>:
2100: 0080 addi s0,sp,64
...
00002200 <end_regstate>:
2200: 0004 0x4
...