134 lines
4.2 KiB
Plaintext
134 lines
4.2 KiB
Plaintext
|
|
||
|
D:/gitee/tmp/tinyriscv/tests/riscv-compliance/build_generated/rv32Zifencei/I-FENCE.I-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: 00002817 auipc a6,0x2
|
||
|
84: f8480813 addi a6,a6,-124 # 2004 <test_A_data>
|
||
|
88: 00002897 auipc a7,0x2
|
||
|
8c: f8888893 addi a7,a7,-120 # 2010 <begin_signature>
|
||
|
90: 00000193 li gp,0
|
||
|
94: 00082083 lw ra,0(a6)
|
||
|
98: 00482103 lw sp,4(a6)
|
||
|
9c: 00002a17 auipc s4,0x2
|
||
|
a0: f64a0a13 addi s4,s4,-156 # 2000 <instr_A_src>
|
||
|
a4: 00000a97 auipc s5,0x0
|
||
|
a8: 014a8a93 addi s5,s5,20 # b8 <instr_A_dst>
|
||
|
ac: 000a2783 lw a5,0(s4)
|
||
|
b0: 00faa023 sw a5,0(s5)
|
||
|
b4: 0000100f fence.i
|
||
|
|
||
|
000000b8 <instr_A_dst>:
|
||
|
b8: 00000137 lui sp,0x0
|
||
|
bc: 0018a023 sw ra,0(a7)
|
||
|
c0: 0028a223 sw sp,4(a7)
|
||
|
c4: 0038a423 sw gp,8(a7)
|
||
|
c8: 00f8a623 sw a5,12(a7)
|
||
|
cc: 00002297 auipc t0,0x2
|
||
|
d0: f4428293 addi t0,t0,-188 # 2010 <begin_signature>
|
||
|
d4: 10000337 lui t1,0x10000
|
||
|
d8: 00830313 addi t1,t1,8 # 10000008 <_end+0xfffde04>
|
||
|
dc: 00532023 sw t0,0(t1)
|
||
|
e0: 00002297 auipc t0,0x2
|
||
|
e4: f4028293 addi t0,t0,-192 # 2020 <end_signature>
|
||
|
e8: 10000337 lui t1,0x10000
|
||
|
ec: 00c30313 addi t1,t1,12 # 1000000c <_end+0xfffde08>
|
||
|
f0: 00532023 sw t0,0(t1)
|
||
|
f4: 00100293 li t0,1
|
||
|
f8: 10000337 lui t1,0x10000
|
||
|
fc: 01030313 addi t1,t1,16 # 10000010 <_end+0xfffde0c>
|
||
|
100: 00532023 sw t0,0(t1)
|
||
|
104: 00000013 nop
|
||
|
108: 00100193 li gp,1
|
||
|
10c: 00000073 ecall
|
||
|
|
||
|
00000110 <end_testcode>:
|
||
|
110: c0001073 unimp
|
||
|
...
|
||
|
|
||
|
Disassembly of section .tohost:
|
||
|
|
||
|
00001000 <tohost>:
|
||
|
...
|
||
|
|
||
|
00001100 <fromhost>:
|
||
|
...
|
||
|
|
||
|
Disassembly of section .data:
|
||
|
|
||
|
00002000 <instr_A_src>:
|
||
|
2000: 001101b3 add gp,sp,ra
|
||
|
|
||
|
00002004 <test_A_data>:
|
||
|
2004: 0030 addi a2,sp,8
|
||
|
2006: 0000 unimp
|
||
|
2008: 0012 c.slli zero,0x4
|
||
|
200a: 0000 unimp
|
||
|
200c: 0000 unimp
|
||
|
...
|
||
|
|
||
|
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 <end_signature>:
|
||
|
...
|
||
|
|
||
|
00002100 <begin_regstate>:
|
||
|
2100: 0080 addi s0,sp,64
|
||
|
...
|
||
|
|
||
|
00002200 <end_regstate>:
|
||
|
2200: 0004 0x4
|
||
|
...
|