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

343 lines
13 KiB
Plaintext

/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-MISALIGN_JMP-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: 00000097 auipc ra,0x0
80: 20808093 addi ra,ra,520 # 284 <_trap_handler>
84: 30509ff3 csrrw t6,mtvec,ra
88: 30127073 csrci misa,4
8c: 00002097 auipc ra,0x2
90: f7408093 addi ra,ra,-140 # 2000 <begin_signature>
94: 11111137 lui sp,0x11111
98: 11110113 addi sp,sp,273 # 11111111 <_end+0x1110ef0d>
9c: 00a0006f j a6 <begin_testcode+0x2a>
a0: 00000113 li sp,0
a4: 00002097 auipc ra,0x2
a8: f6808093 addi ra,ra,-152 # 200c <test_A2_res>
ac: 22222137 lui sp,0x22222
b0: 22210113 addi sp,sp,546 # 22222222 <_end+0x2222001e>
b4: 00000217 auipc tp,0x0
b8: 01120213 addi tp,tp,17 # c5 <begin_testcode+0x49>
bc: 00020067 jr tp # 0 <_start>
c0: 00000113 li sp,0
c4: 0020a023 sw sp,0(ra)
c8: 00408093 addi ra,ra,4
cc: 33333137 lui sp,0x33333
d0: 33310113 addi sp,sp,819 # 33333333 <_end+0x3333112f>
d4: 00000217 auipc tp,0x0
d8: 01020213 addi tp,tp,16 # e4 <begin_testcode+0x68>
dc: 00120067 jr 1(tp) # 0 <_start>
e0: 00000113 li sp,0
e4: 0020a023 sw sp,0(ra)
e8: 00408093 addi ra,ra,4
ec: 44444137 lui sp,0x44444
f0: 44410113 addi sp,sp,1092 # 44444444 <_end+0x44442240>
f4: 00000217 auipc tp,0x0
f8: 01420213 addi tp,tp,20 # 108 <begin_testcode+0x8c>
fc: ffd20067 jr -3(tp) # 0 <_start>
100: 00000113 li sp,0
104: 0020a023 sw sp,0(ra)
108: 00408093 addi ra,ra,4
10c: 00002097 auipc ra,0x2
110: f0c08093 addi ra,ra,-244 # 2018 <test_A3_res_exc>
114: 55555137 lui sp,0x55555
118: 55510113 addi sp,sp,1365 # 55555555 <_end+0x55553351>
11c: 00000217 auipc tp,0x0
120: 01220213 addi tp,tp,18 # 12e <begin_testcode+0xb2>
124: 00020067 jr tp # 0 <_start>
128: 00000113 li sp,0
12c: 66666137 lui sp,0x66666
130: 66610113 addi sp,sp,1638 # 66666666 <_end+0x66664462>
134: 00000217 auipc tp,0x0
138: 01320213 addi tp,tp,19 # 147 <begin_testcode+0xcb>
13c: 00020067 jr tp # 0 <_start>
140: 00000113 li sp,0
144: 77777137 lui sp,0x77777
148: 77710113 addi sp,sp,1911 # 77777777 <_end+0x77775573>
14c: 00000217 auipc tp,0x0
150: 01020213 addi tp,tp,16 # 15c <begin_testcode+0xe0>
154: 00220067 jr 2(tp) # 0 <_start>
158: 00000113 li sp,0
15c: 88889137 lui sp,0x88889
160: 88810113 addi sp,sp,-1912 # 88888888 <_end+0x88886684>
164: 00000217 auipc tp,0x0
168: 01020213 addi tp,tp,16 # 174 <begin_testcode+0xf8>
16c: 00320067 jr 3(tp) # 0 <_start>
170: 00000113 li sp,0
174: 00002097 auipc ra,0x2
178: ed408093 addi ra,ra,-300 # 2048 <test_B1_res_exc>
17c: 00500293 li t0,5
180: 00600313 li t1,6
184: 00628763 beq t0,t1,192 <begin_testcode+0x116>
188: 9999a137 lui sp,0x9999a
18c: 99910113 addi sp,sp,-1639 # 99999999 <_end+0x99997795>
190: 00000013 nop
194: 00000013 nop
198: 00528563 beq t0,t0,1a2 <begin_testcode+0x126>
19c: 00000113 li sp,0
1a0: 00002097 auipc ra,0x2
1a4: eb408093 addi ra,ra,-332 # 2054 <test_B2_res_exc>
1a8: 00500293 li t0,5
1ac: 00600313 li t1,6
1b0: 00529763 bne t0,t0,1be <begin_testcode+0x142>
1b4: aaaab137 lui sp,0xaaaab
1b8: aaa10113 addi sp,sp,-1366 # aaaaaaaa <_end+0xaaaa88a6>
1bc: 00000013 nop
1c0: 00000013 nop
1c4: 00629563 bne t0,t1,1ce <begin_testcode+0x152>
1c8: 00000113 li sp,0
1cc: 00002097 auipc ra,0x2
1d0: e9408093 addi ra,ra,-364 # 2060 <test_B3_res_exc>
1d4: 00500293 li t0,5
1d8: 00600313 li t1,6
1dc: 00534763 blt t1,t0,1ea <begin_testcode+0x16e>
1e0: bbbbc137 lui sp,0xbbbbc
1e4: bbb10113 addi sp,sp,-1093 # bbbbbbbb <_end+0xbbbb99b7>
1e8: 00000013 nop
1ec: 00000013 nop
1f0: 0062c563 blt t0,t1,1fa <begin_testcode+0x17e>
1f4: 00000113 li sp,0
1f8: 00002097 auipc ra,0x2
1fc: e7408093 addi ra,ra,-396 # 206c <test_B4_res_exc>
200: 00500293 li t0,5
204: 00600313 li t1,6
208: 00536763 bltu t1,t0,216 <begin_testcode+0x19a>
20c: ccccd137 lui sp,0xccccd
210: ccc10113 addi sp,sp,-820 # cccccccc <_end+0xccccaac8>
214: 00000013 nop
218: 00000013 nop
21c: 0062e563 bltu t0,t1,226 <begin_testcode+0x1aa>
220: 00000113 li sp,0
224: 00002097 auipc ra,0x2
228: e5408093 addi ra,ra,-428 # 2078 <test_B5_res_exc>
22c: 00500293 li t0,5
230: 00600313 li t1,6
234: 0062d763 bge t0,t1,242 <begin_testcode+0x1c6>
238: dddde137 lui sp,0xdddde
23c: ddd10113 addi sp,sp,-547 # dddddddd <_end+0xddddbbd9>
240: 00000013 nop
244: 00000013 nop
248: 00535563 bge t1,t0,252 <begin_testcode+0x1d6>
24c: 00000113 li sp,0
250: 00002097 auipc ra,0x2
254: e3408093 addi ra,ra,-460 # 2084 <test_B6_res_exc>
258: 00500293 li t0,5
25c: 00600313 li t1,6
260: 0062f763 bgeu t0,t1,26e <begin_testcode+0x1f2>
264: eeeef137 lui sp,0xeeeef
268: eee10113 addi sp,sp,-274 # eeeeeeee <_end+0xeeeeccea>
26c: 00000013 nop
270: 00000013 nop
274: 00537563 bgeu t1,t0,27e <begin_testcode+0x202>
278: 00000113 li sp,0
27c: 305f9073 csrw mtvec,t6
280: 0300006f j 2b0 <test_end>
00000284 <_trap_handler>:
284: 34302f73 csrr t5,mtval
288: ffef0f13 addi t5,t5,-2
28c: 341f1073 csrw mepc,t5
290: 34302f73 csrr t5,mtval
294: 003f7f13 andi t5,t5,3
298: 01e0a023 sw t5,0(ra)
29c: 34202f73 csrr t5,mcause
2a0: 01e0a223 sw t5,4(ra)
2a4: 0020a423 sw sp,8(ra)
2a8: 00c08093 addi ra,ra,12
2ac: 30200073 mret
000002b0 <test_end>:
2b0: 00002297 auipc t0,0x2
2b4: d5028293 addi t0,t0,-688 # 2000 <begin_signature>
2b8: 20000337 lui t1,0x20000
2bc: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
2c0: 00532023 sw t0,0(t1)
2c4: 00002297 auipc t0,0x2
2c8: dcc28293 addi t0,t0,-564 # 2090 <end_signature>
2cc: 20000337 lui t1,0x20000
2d0: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
2d4: 00532023 sw t0,0(t1)
2d8: 00100293 li t0,1
2dc: 20000337 lui t1,0x20000
2e0: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
2e4: 00532023 sw t0,0(t1)
2e8: 00000013 nop
2ec: 00100193 li gp,1
2f0: 00000073 ecall
000002f4 <end_testcode>:
2f4: 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
...
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