tinyriscv/tests/riscv-compliance/build_generated/rv32im/MULH.elf.objdump

354 lines
12 KiB
Plaintext

/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32im/MULH.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: 00002117 auipc sp,0x2
80: f8410113 addi sp,sp,-124 # 2000 <begin_signature>
84: 00000913 li s2,0
88: 00000893 li a7,0
8c: 031918b3 mulh a7,s2,a7
90: 01112023 sw a7,0(sp)
94: 00000a13 li s4,0
98: 00100993 li s3,1
9c: 033a19b3 mulh s3,s4,s3
a0: 01312223 sw s3,4(sp)
a4: 00000b13 li s6,0
a8: fff00a93 li s5,-1
ac: 035b1ab3 mulh s5,s6,s5
b0: 01512423 sw s5,8(sp)
b4: 00000c13 li s8,0
b8: 80000bb7 lui s7,0x80000
bc: fffb8b93 addi s7,s7,-1 # 7fffffff <_end+0x7fffddfb>
c0: 037c1bb3 mulh s7,s8,s7
c4: 01712623 sw s7,12(sp)
c8: 00000d13 li s10,0
cc: 80000cb7 lui s9,0x80000
d0: 039d1cb3 mulh s9,s10,s9
d4: 01912823 sw s9,16(sp)
d8: 00002117 auipc sp,0x2
dc: f3c10113 addi sp,sp,-196 # 2014 <test_2_res>
e0: 00100e13 li t3,1
e4: 00000d93 li s11,0
e8: 03be1db3 mulh s11,t3,s11
ec: 01b12023 sw s11,0(sp)
f0: 00100f13 li t5,1
f4: 00100e93 li t4,1
f8: 03df1eb3 mulh t4,t5,t4
fc: 01d12223 sw t4,4(sp)
100: 00100193 li gp,1
104: fff00a93 li s5,-1
108: 03519ab3 mulh s5,gp,s5
10c: 01512423 sw s5,8(sp)
110: 00100413 li s0,1
114: 80000237 lui tp,0x80000
118: fff20213 addi tp,tp,-1 # 7fffffff <_end+0x7fffddfb>
11c: 02441233 mulh tp,s0,tp
120: 00412623 sw tp,12(sp)
124: 00100593 li a1,1
128: 800004b7 lui s1,0x80000
12c: 029594b3 mulh s1,a1,s1
130: 00912823 sw s1,16(sp)
134: 00002117 auipc sp,0x2
138: ef410113 addi sp,sp,-268 # 2028 <test_3_res>
13c: fff00693 li a3,-1
140: 00000613 li a2,0
144: 02c69633 mulh a2,a3,a2
148: 00c12023 sw a2,0(sp)
14c: fff00793 li a5,-1
150: 00100713 li a4,1
154: 02e79733 mulh a4,a5,a4
158: 00e12223 sw a4,4(sp)
15c: fff00893 li a7,-1
160: fff00813 li a6,-1
164: 03089833 mulh a6,a7,a6
168: 01012423 sw a6,8(sp)
16c: fff00993 li s3,-1
170: 80000937 lui s2,0x80000
174: fff90913 addi s2,s2,-1 # 7fffffff <_end+0x7fffddfb>
178: 03299933 mulh s2,s3,s2
17c: 01212623 sw s2,12(sp)
180: fff00a93 li s5,-1
184: 80000a37 lui s4,0x80000
188: 034a9a33 mulh s4,s5,s4
18c: 01412823 sw s4,16(sp)
190: 00002117 auipc sp,0x2
194: eac10113 addi sp,sp,-340 # 203c <test_4_res>
198: 80000bb7 lui s7,0x80000
19c: fffb8b93 addi s7,s7,-1 # 7fffffff <_end+0x7fffddfb>
1a0: 00000b13 li s6,0
1a4: 036b9b33 mulh s6,s7,s6
1a8: 01612023 sw s6,0(sp)
1ac: 80000cb7 lui s9,0x80000
1b0: fffc8c93 addi s9,s9,-1 # 7fffffff <_end+0x7fffddfb>
1b4: 00100c13 li s8,1
1b8: 038c9c33 mulh s8,s9,s8
1bc: 01812223 sw s8,4(sp)
1c0: 80000db7 lui s11,0x80000
1c4: fffd8d93 addi s11,s11,-1 # 7fffffff <_end+0x7fffddfb>
1c8: fff00d13 li s10,-1
1cc: 03ad9d33 mulh s10,s11,s10
1d0: 01a12423 sw s10,8(sp)
1d4: 80000eb7 lui t4,0x80000
1d8: fffe8e93 addi t4,t4,-1 # 7fffffff <_end+0x7fffddfb>
1dc: 80000e37 lui t3,0x80000
1e0: fffe0e13 addi t3,t3,-1 # 7fffffff <_end+0x7fffddfb>
1e4: 03ce9e33 mulh t3,t4,t3
1e8: 01c12623 sw t3,12(sp)
1ec: 80000ab7 lui s5,0x80000
1f0: fffa8a93 addi s5,s5,-1 # 7fffffff <_end+0x7fffddfb>
1f4: 80000f37 lui t5,0x80000
1f8: 03ea9f33 mulh t5,s5,t5
1fc: 01e12823 sw t5,16(sp)
200: 00002117 auipc sp,0x2
204: e5010113 addi sp,sp,-432 # 2050 <test_5_res>
208: 80000237 lui tp,0x80000
20c: 00000193 li gp,0
210: 023211b3 mulh gp,tp,gp
214: 00312023 sw gp,0(sp)
218: 800004b7 lui s1,0x80000
21c: 00100413 li s0,1
220: 02849433 mulh s0,s1,s0
224: 00812223 sw s0,4(sp)
228: 80000637 lui a2,0x80000
22c: fff00593 li a1,-1
230: 02b615b3 mulh a1,a2,a1
234: 00b12423 sw a1,8(sp)
238: 80000737 lui a4,0x80000
23c: 800006b7 lui a3,0x80000
240: fff68693 addi a3,a3,-1 # 7fffffff <_end+0x7fffddfb>
244: 02d716b3 mulh a3,a4,a3
248: 00d12623 sw a3,12(sp)
24c: 80000837 lui a6,0x80000
250: 800007b7 lui a5,0x80000
254: 02f817b3 mulh a5,a6,a5
258: 00f12823 sw a5,16(sp)
25c: 00002297 auipc t0,0x2
260: da428293 addi t0,t0,-604 # 2000 <begin_signature>
264: 20000337 lui t1,0x20000
268: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
26c: 00532023 sw t0,0(t1)
270: 00002297 auipc t0,0x2
274: e6028293 addi t0,t0,-416 # 20d0 <end_signature>
278: 20000337 lui t1,0x20000
27c: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
280: 00532023 sw t0,0(t1)
284: 00100293 li t0,1
288: 20000337 lui t1,0x20000
28c: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
290: 00532023 sw t0,0(t1)
294: 00000013 nop
298: 00100193 li gp,1
29c: 00000073 ecall
000002a0 <end_testcode>:
2a0: 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
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
0000208c <test_8_res>:
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_9_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
20b0: ffff 0xffff
20b2: ffff 0xffff
000020b4 <test_10_res>:
20b4: ffff 0xffff
20b6: ffff 0xffff
20b8: ffff 0xffff
20ba: ffff 0xffff
20bc: ffff 0xffff
20be: ffff 0xffff
20c0: ffff 0xffff
20c2: ffff 0xffff
20c4: ffff 0xffff
20c6: ffff 0xffff
...
000020d0 <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: 2241 jal 180 <begin_testcode+0x104>
2: 0000 unimp
4: 7200 flw fs0,32(a2)
6: 7369 lui t1,0xffffa
8: 01007663 bgeu zero,a6,14 <trap_vector+0x10>
c: 0018 0x18
e: 0000 unimp
10: 7205 lui tp,0xfffe1
12: 3376 fld ft6,376(sp)
14: 6932 flw fs2,12(sp)
16: 7032 flw ft0,44(sp)
18: 5f30 lw a2,120(a4)
1a: 326d jal fffff9c4 <_end+0xffffd7c0>
1c: 3070 fld fa2,224(s0)
1e: 0800 addi s0,sp,16
20: 0a01 addi s4,s4,0
22: 0b Address 0x0000000000000022 is out of bounds.