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

316 lines
11 KiB
Plaintext

/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-MISALIGN_LDST-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: 14408093 addi ra,ra,324 # 1c0 <_trap_handler>
84: 30509ff3 csrrw t6,mtvec,ra
88: 00002197 auipc gp,0x2
8c: f7818193 addi gp,gp,-136 # 2000 <test_A1_data>
90: 00002117 auipc sp,0x2
94: f8010113 addi sp,sp,-128 # 2010 <begin_signature>
98: 00002097 auipc ra,0x2
9c: f8808093 addi ra,ra,-120 # 2020 <test_A1_res_exc>
a0: 00500293 li t0,5
a4: 00600313 li t1,6
a8: 0001a203 lw tp,0(gp)
ac: 00412023 sw tp,0(sp)
b0: 0011a203 lw tp,1(gp)
b4: 00412223 sw tp,4(sp)
b8: 0021a203 lw tp,2(gp)
bc: 00412423 sw tp,8(sp)
c0: 0031a203 lw tp,3(gp)
c4: 00412623 sw tp,12(sp)
c8: 00002197 auipc gp,0x2
cc: f3c18193 addi gp,gp,-196 # 2004 <test_A2_data>
d0: 00002117 auipc sp,0x2
d4: f6810113 addi sp,sp,-152 # 2038 <test_A2_res>
d8: 00002097 auipc ra,0x2
dc: f8008093 addi ra,ra,-128 # 2058 <test_A2_res_exc>
e0: 00500293 li t0,5
e4: 00600313 li t1,6
e8: 00019203 lh tp,0(gp)
ec: 00412023 sw tp,0(sp)
f0: 00119203 lh tp,1(gp)
f4: 00412223 sw tp,4(sp)
f8: 00219203 lh tp,2(gp)
fc: 00412423 sw tp,8(sp)
100: 00319203 lh tp,3(gp)
104: 00412623 sw tp,12(sp)
108: 0001d203 lhu tp,0(gp)
10c: 00412823 sw tp,16(sp)
110: 0011d203 lhu tp,1(gp)
114: 00412a23 sw tp,20(sp)
118: 0021d203 lhu tp,2(gp)
11c: 00412c23 sw tp,24(sp)
120: 0031d203 lhu tp,3(gp)
124: 00412e23 sw tp,28(sp)
128: 00002117 auipc sp,0x2
12c: f5010113 addi sp,sp,-176 # 2078 <test_B1_res>
130: 00002097 auipc ra,0x2
134: f5808093 addi ra,ra,-168 # 2088 <test_B1_res_exc>
138: 00000313 li t1,0
13c: 9999a2b7 lui t0,0x9999a
140: 99928293 addi t0,t0,-1639 # 99999999 <_end+0x99997795>
144: 00512023 sw t0,0(sp)
148: 00512223 sw t0,4(sp)
14c: 00512423 sw t0,8(sp)
150: 00512623 sw t0,12(sp)
154: 00612023 sw t1,0(sp)
158: 00410113 addi sp,sp,4
15c: 006120a3 sw t1,1(sp)
160: 00410113 addi sp,sp,4
164: 00612123 sw t1,2(sp)
168: 00410113 addi sp,sp,4
16c: 006121a3 sw t1,3(sp)
170: 00002117 auipc sp,0x2
174: f3010113 addi sp,sp,-208 # 20a0 <test_B2_res>
178: 00002097 auipc ra,0x2
17c: f3808093 addi ra,ra,-200 # 20b0 <test_B2_res_exc>
180: 00000313 li t1,0
184: 9999a2b7 lui t0,0x9999a
188: 99928293 addi t0,t0,-1639 # 99999999 <_end+0x99997795>
18c: 00512023 sw t0,0(sp)
190: 00512223 sw t0,4(sp)
194: 00512423 sw t0,8(sp)
198: 00512623 sw t0,12(sp)
19c: 00611023 sh t1,0(sp)
1a0: 00410113 addi sp,sp,4
1a4: 006110a3 sh t1,1(sp)
1a8: 00410113 addi sp,sp,4
1ac: 00611123 sh t1,2(sp)
1b0: 00410113 addi sp,sp,4
1b4: 006111a3 sh t1,3(sp)
1b8: 305f9073 csrw mtvec,t6
1bc: 02c0006f j 1e8 <test_end>
000001c0 <_trap_handler>:
1c0: 34102f73 csrr t5,mepc
1c4: 004f0f13 addi t5,t5,4
1c8: 341f1073 csrw mepc,t5
1cc: 34302f73 csrr t5,mtval
1d0: 003f7f13 andi t5,t5,3
1d4: 01e0a023 sw t5,0(ra)
1d8: 34202f73 csrr t5,mcause
1dc: 01e0a223 sw t5,4(ra)
1e0: 00808093 addi ra,ra,8
1e4: 30200073 mret
000001e8 <test_end>:
1e8: 00002297 auipc t0,0x2
1ec: e2828293 addi t0,t0,-472 # 2010 <begin_signature>
1f0: 20000337 lui t1,0x20000
1f4: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
1f8: 00532023 sw t0,0(t1)
1fc: 00002297 auipc t0,0x2
200: ec428293 addi t0,t0,-316 # 20c0 <end_signature>
204: 20000337 lui t1,0x20000
208: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
20c: 00532023 sw t0,0(t1)
210: 00100293 li t0,1
214: 20000337 lui t1,0x20000
218: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
21c: 00532023 sw t0,0(t1)
220: 00000013 nop
224: 00100193 li gp,1
228: 00000073 ecall
0000022c <end_testcode>:
22c: c0001073 unimp
...
Disassembly of section .tohost:
00001000 <tohost>:
...
00001100 <fromhost>:
...
Disassembly of section .data:
00002000 <test_A1_data>:
2000: b1c1 j 1cc0 <fromhost+0xbc0>
2002: 91a1 srli a1,a1,0x28
00002004 <test_A2_data>:
2004: f202 fsw ft0,36(sp)
2006: d2e2 sw s8,100(sp)
...
00002010 <begin_signature>:
2010: ffff 0xffff
2012: ffff 0xffff
2014: ffff 0xffff
2016: ffff 0xffff
2018: ffff 0xffff
201a: ffff 0xffff
201c: ffff 0xffff
201e: ffff 0xffff
00002020 <test_A1_res_exc>:
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
00002038 <test_A2_res>:
2038: ffff 0xffff
203a: ffff 0xffff
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
2050: ffff 0xffff
2052: ffff 0xffff
2054: ffff 0xffff
2056: ffff 0xffff
00002058 <test_A2_res_exc>:
2058: ffff 0xffff
205a: ffff 0xffff
205c: ffff 0xffff
205e: ffff 0xffff
2060: ffff 0xffff
2062: ffff 0xffff
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_B1_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
00002088 <test_B1_res_exc>:
2088: ffff 0xffff
208a: ffff 0xffff
208c: ffff 0xffff
208e: ffff 0xffff
2090: ffff 0xffff
2092: ffff 0xffff
2094: ffff 0xffff
2096: ffff 0xffff
2098: ffff 0xffff
209a: ffff 0xffff
209c: ffff 0xffff
209e: ffff 0xffff
000020a0 <test_B2_res>:
20a0: ffff 0xffff
20a2: ffff 0xffff
20a4: ffff 0xffff
20a6: ffff 0xffff
20a8: ffff 0xffff
20aa: ffff 0xffff
20ac: ffff 0xffff
20ae: ffff 0xffff
000020b0 <test_B2_res_exc>:
20b0: ffff 0xffff
20b2: ffff 0xffff
20b4: ffff 0xffff
20b6: ffff 0xffff
20b8: ffff 0xffff
20ba: ffff 0xffff
20bc: ffff 0xffff
20be: ffff 0xffff
000020c0 <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