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

256 lines
8.5 KiB
Plaintext
Raw Normal View History

/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-NOP-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: 00002097 auipc ra,0x2
80: f8408093 addi ra,ra,-124 # 2000 <begin_signature>
84: 00200113 li sp,2
88: 00300193 li gp,3
8c: 00400213 li tp,4
90: 00500293 li t0,5
94: 00600313 li t1,6
98: 00700393 li t2,7
9c: 00800413 li s0,8
a0: 00900493 li s1,9
a4: 00a00513 li a0,10
a8: 00b00593 li a1,11
ac: 00c00613 li a2,12
b0: 00d00693 li a3,13
b4: 00e00713 li a4,14
b8: 00f00793 li a5,15
bc: 01000813 li a6,16
c0: 01100893 li a7,17
c4: 01200913 li s2,18
c8: 01300993 li s3,19
cc: 01400a13 li s4,20
d0: 01500a93 li s5,21
d4: 01600b13 li s6,22
d8: 01700b93 li s7,23
dc: 01800c13 li s8,24
e0: 01900c93 li s9,25
e4: 01a00d13 li s10,26
e8: 01b00d93 li s11,27
ec: 01c00e13 li t3,28
f0: 01d00e93 li t4,29
f4: 01e00f13 li t5,30
f8: 01f00f93 li t6,31
fc: 00000013 nop
100: 00000013 nop
104: 00000013 nop
108: 00000013 nop
10c: 00000013 nop
110: 00000013 nop
114: 0000a023 sw zero,0(ra)
118: 0020a223 sw sp,4(ra)
11c: 0030a423 sw gp,8(ra)
120: 0040a623 sw tp,12(ra)
124: 0050a823 sw t0,16(ra)
128: 0060aa23 sw t1,20(ra)
12c: 0070ac23 sw t2,24(ra)
130: 0080ae23 sw s0,28(ra)
134: 0290a023 sw s1,32(ra)
138: 02a0a223 sw a0,36(ra)
13c: 02b0a423 sw a1,40(ra)
140: 02c0a623 sw a2,44(ra)
144: 02d0a823 sw a3,48(ra)
148: 02e0aa23 sw a4,52(ra)
14c: 02f0ac23 sw a5,56(ra)
150: 0300ae23 sw a6,60(ra)
154: 0510a023 sw a7,64(ra)
158: 0520a223 sw s2,68(ra)
15c: 0530a423 sw s3,72(ra)
160: 0540a623 sw s4,76(ra)
164: 0550a823 sw s5,80(ra)
168: 0560aa23 sw s6,84(ra)
16c: 0570ac23 sw s7,88(ra)
170: 0580ae23 sw s8,92(ra)
174: 0790a023 sw s9,96(ra)
178: 07a0a223 sw s10,100(ra)
17c: 07b0a423 sw s11,104(ra)
180: 07c0a623 sw t3,108(ra)
184: 07d0a823 sw t4,112(ra)
188: 07e0aa23 sw t5,116(ra)
18c: 07f0ac23 sw t6,120(ra)
190: 00002197 auipc gp,0x2
194: eec18193 addi gp,gp,-276 # 207c <test_A2_res>
198: 00000417 auipc s0,0x0
19c: 00000013 nop
1a0: 00000013 nop
1a4: 00000013 nop
1a8: 00000013 nop
1ac: 00000013 nop
1b0: 00000497 auipc s1,0x0
1b4: 408484b3 sub s1,s1,s0
1b8: 0091a023 sw s1,0(gp)
1bc: 00002297 auipc t0,0x2
1c0: e4428293 addi t0,t0,-444 # 2000 <begin_signature>
1c4: 20000337 lui t1,0x20000
1c8: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
1cc: 00532023 sw t0,0(t1)
1d0: 00002297 auipc t0,0x2
1d4: eb028293 addi t0,t0,-336 # 2080 <end_signature>
1d8: 20000337 lui t1,0x20000
1dc: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
1e0: 00532023 sw t0,0(t1)
1e4: 00100293 li t0,1
1e8: 20000337 lui t1,0x20000
1ec: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
1f0: 00532023 sw t0,0(t1)
1f4: 00000013 nop
1f8: 00100193 li gp,1
1fc: 00000073 ecall
00000200 <end_testcode>:
200: 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
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
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
2048: ffff 0xffff
204a: ffff 0xffff
204c: ffff 0xffff
204e: ffff 0xffff
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
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
2078: ffff 0xffff
207a: ffff 0xffff
0000207c <test_A2_res>:
207c: ffff 0xffff
207e: ffff 0xffff
00002080 <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