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

273 lines
9.2 KiB
Plaintext
Raw Normal View History

/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-LUI-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: 00002297 auipc t0,0x2
80: f8428293 addi t0,t0,-124 # 2000 <begin_signature>
84: 00000037 lui zero,0x0
88: 0002a023 sw zero,0(t0)
8c: 000000b7 lui ra,0x0
90: 0012a223 sw ra,4(t0)
94: 007ff137 lui sp,0x7ff
98: 0022a423 sw sp,8(t0)
9c: 000011b7 lui gp,0x1
a0: 0032a623 sw gp,12(t0)
a4: 01234237 lui tp,0x1234
a8: 0042a823 sw tp,16(t0)
ac: 00002097 auipc ra,0x2
b0: f6808093 addi ra,ra,-152 # 2014 <test_2_res>
b4: 800002b7 lui t0,0x80000
b8: 0050a023 sw t0,0(ra)
bc: 01234337 lui t1,0x1234
c0: 0060a223 sw t1,4(ra)
c4: fffff3b7 lui t2,0xfffff
c8: 0070a423 sw t2,8(ra)
cc: 00001437 lui s0,0x1
d0: 0080a623 sw s0,12(ra)
d4: 7ffff4b7 lui s1,0x7ffff
d8: 0090a823 sw s1,16(ra)
dc: 00002097 auipc ra,0x2
e0: f4c08093 addi ra,ra,-180 # 2028 <test_3_res>
e4: 54321537 lui a0,0x54321
e8: 00a0a023 sw a0,0(ra)
ec: 008005b7 lui a1,0x800
f0: 00b0a223 sw a1,4(ra)
f4: 00000637 lui a2,0x0
f8: 00c0a423 sw a2,8(ra)
fc: 007ff6b7 lui a3,0x7ff
100: 00d0a623 sw a3,12(ra)
104: 00000737 lui a4,0x0
108: 00e0a823 sw a4,16(ra)
10c: 00002117 auipc sp,0x2
110: f3010113 addi sp,sp,-208 # 203c <test_4_res>
114: 000017b7 lui a5,0x1
118: 00f12023 sw a5,0(sp)
11c: 00000837 lui a6,0x0
120: 01012223 sw a6,4(sp)
124: 000008b7 lui a7,0x0
128: 01112423 sw a7,8(sp)
12c: 007ff937 lui s2,0x7ff
130: 01212623 sw s2,12(sp)
134: 000019b7 lui s3,0x1
138: 01312823 sw s3,16(sp)
13c: 00002097 auipc ra,0x2
140: f1408093 addi ra,ra,-236 # 2050 <test_5_res>
144: 01234a37 lui s4,0x1234
148: 0140a023 sw s4,0(ra)
14c: 80000ab7 lui s5,0x80000
150: 0150a223 sw s5,4(ra)
154: 01234b37 lui s6,0x1234
158: 0160a423 sw s6,8(ra)
15c: fffffbb7 lui s7,0xfffff
160: 0170a623 sw s7,12(ra)
164: 00001c37 lui s8,0x1
168: 0180a823 sw s8,16(ra)
16c: 00002097 auipc ra,0x2
170: ef808093 addi ra,ra,-264 # 2064 <test_6_res>
174: 7ffffcb7 lui s9,0x7ffff
178: 0190a023 sw s9,0(ra)
17c: 54321d37 lui s10,0x54321
180: 01a0a223 sw s10,4(ra)
184: 00800db7 lui s11,0x800
188: 01b0a423 sw s11,8(ra)
18c: 00000e37 lui t3,0x0
190: 01c0a623 sw t3,12(ra)
194: 007ffeb7 lui t4,0x7ff
198: 01d0a823 sw t4,16(ra)
19c: 00002117 auipc sp,0x2
1a0: edc10113 addi sp,sp,-292 # 2078 <test_7_res>
1a4: 00000f37 lui t5,0x0
1a8: 01e12023 sw t5,0(sp)
1ac: 00001fb7 lui t6,0x1
1b0: 01f12223 sw t6,4(sp)
1b4: 00002297 auipc t0,0x2
1b8: e4c28293 addi t0,t0,-436 # 2000 <begin_signature>
1bc: 20000337 lui t1,0x20000
1c0: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
1c4: 00532023 sw t0,0(t1)
1c8: 00002297 auipc t0,0x2
1cc: ec828293 addi t0,t0,-312 # 2090 <end_signature>
1d0: 20000337 lui t1,0x20000
1d4: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
1d8: 00532023 sw t0,0(t1)
1dc: 00100293 li t0,1
1e0: 20000337 lui t1,0x20000
1e4: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
1e8: 00532023 sw t0,0(t1)
1ec: 00000013 nop
1f0: 00100193 li gp,1
1f4: 00000073 ecall
000001f8 <end_testcode>:
1f8: c0001073 unimp
1fc: 0000 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
00002014 <test_2_res>:
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
00002028 <test_3_res>:
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
0000203c <test_4_res>:
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
00002050 <test_5_res>:
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
00002064 <test_6_res>:
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_7_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
2088: ffff 0xffff
208a: ffff 0xffff
208c: 0000 unimp
...
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