2020-05-27 15:04:07 +00:00
|
|
|
|
2021-06-05 08:02:02 +00:00
|
|
|
/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-RF_x0-01.elf: file format elf32-littleriscv
|
2020-05-27 15:04:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
Disassembly of section .text.init:
|
|
|
|
|
|
|
|
00000000 <_start>:
|
2021-06-05 08:02:02 +00:00
|
|
|
0: 0480006f j 48 <reset_vector>
|
2020-05-27 15:04:07 +00:00
|
|
|
|
|
|
|
00000004 <trap_vector>:
|
|
|
|
4: 34202f73 csrr t5,mcause
|
|
|
|
8: 00800f93 li t6,8
|
2021-06-05 08:02:02 +00:00
|
|
|
c: 03ff0863 beq t5,t6,3c <write_tohost>
|
2020-05-27 15:04:07 +00:00
|
|
|
10: 00900f93 li t6,9
|
2021-06-05 08:02:02 +00:00
|
|
|
14: 03ff0463 beq t5,t6,3c <write_tohost>
|
2020-05-27 15:04:07 +00:00
|
|
|
18: 00b00f93 li t6,11
|
2021-06-05 08:02:02 +00:00
|
|
|
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: 00002f97 auipc t6,0x2
|
|
|
|
80: f94f8f93 addi t6,t6,-108 # 2010 <begin_signature>
|
|
|
|
84: abcde037 lui zero,0xabcde
|
|
|
|
88: 00100013 li zero,1
|
|
|
|
8c: 7f006013 ori zero,zero,2032
|
|
|
|
90: 53f07013 andi zero,zero,1343
|
|
|
|
94: 80304013 xori zero,zero,-2045
|
|
|
|
98: 00501013 slli zero,zero,0x5
|
|
|
|
9c: 40205013 srai zero,zero,0x2
|
|
|
|
a0: 00405013 srli zero,zero,0x4
|
|
|
|
a4: 000fa023 sw zero,0(t6)
|
|
|
|
a8: 00002f97 auipc t6,0x2
|
|
|
|
ac: f6cf8f93 addi t6,t6,-148 # 2014 <test_A2_res>
|
|
|
|
b0: 00100093 li ra,1
|
|
|
|
b4: 7f000113 li sp,2032
|
|
|
|
b8: 53f00193 li gp,1343
|
|
|
|
bc: 80300213 li tp,-2045
|
|
|
|
c0: 00500293 li t0,5
|
|
|
|
c4: 00200313 li t1,2
|
|
|
|
c8: 00400393 li t2,4
|
|
|
|
cc: 01800413 li s0,24
|
|
|
|
d0: abcde017 auipc zero,0xabcde
|
|
|
|
d4: 00100033 add zero,zero,ra
|
|
|
|
d8: 00206033 or zero,zero,sp
|
|
|
|
dc: 00307033 and zero,zero,gp
|
|
|
|
e0: 00404033 xor zero,zero,tp
|
|
|
|
e4: 00501033 sll zero,zero,t0
|
|
|
|
e8: 40605033 sra zero,zero,t1
|
|
|
|
ec: 00705033 srl zero,zero,t2
|
|
|
|
f0: 40800033 neg zero,s0
|
|
|
|
f4: 000fa023 sw zero,0(t6)
|
|
|
|
f8: 00002f97 auipc t6,0x2
|
|
|
|
fc: f20f8f93 addi t6,t6,-224 # 2018 <test_A3_res>
|
|
|
|
100: 00100093 li ra,1
|
|
|
|
104: 00200113 li sp,2
|
|
|
|
108: 0020a033 slt zero,ra,sp
|
|
|
|
10c: 000fa023 sw zero,0(t6)
|
|
|
|
110: 0020b033 sltu zero,ra,sp
|
|
|
|
114: 000fa223 sw zero,4(t6)
|
|
|
|
118: 0020a013 slti zero,ra,2
|
|
|
|
11c: 000fa423 sw zero,8(t6)
|
|
|
|
120: 0020b013 sltiu zero,ra,2
|
|
|
|
124: 000fa623 sw zero,12(t6)
|
|
|
|
128: 00002f97 auipc t6,0x2
|
|
|
|
12c: f00f8f93 addi t6,t6,-256 # 2028 <test_A4_res>
|
|
|
|
130: 0040006f j 134 <begin_testcode+0xb8>
|
|
|
|
134: 000fa023 sw zero,0(t6)
|
|
|
|
138: 00000097 auipc ra,0x0
|
|
|
|
13c: 00c08093 addi ra,ra,12 # 144 <begin_testcode+0xc8>
|
|
|
|
140: 00008067 ret
|
|
|
|
144: 000fa223 sw zero,4(t6)
|
|
|
|
148: 00002097 auipc ra,0x2
|
|
|
|
14c: eb808093 addi ra,ra,-328 # 2000 <test_A5_data>
|
|
|
|
150: 00002f97 auipc t6,0x2
|
|
|
|
154: ee0f8f93 addi t6,t6,-288 # 2030 <test_A5_res>
|
|
|
|
158: 0000a003 lw zero,0(ra)
|
|
|
|
15c: 000fa023 sw zero,0(t6)
|
|
|
|
160: 00009003 lh zero,0(ra)
|
|
|
|
164: 000fa223 sw zero,4(t6)
|
|
|
|
168: 00008003 lb zero,0(ra)
|
|
|
|
16c: 000fa423 sw zero,8(t6)
|
|
|
|
170: 0000c003 lbu zero,0(ra)
|
|
|
|
174: 000fa623 sw zero,12(t6)
|
|
|
|
178: 00002297 auipc t0,0x2
|
|
|
|
17c: e9828293 addi t0,t0,-360 # 2010 <begin_signature>
|
|
|
|
180: 20000337 lui t1,0x20000
|
|
|
|
184: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
|
|
|
|
188: 00532023 sw t0,0(t1)
|
|
|
|
18c: 00002297 auipc t0,0x2
|
|
|
|
190: eb428293 addi t0,t0,-332 # 2040 <end_signature>
|
|
|
|
194: 20000337 lui t1,0x20000
|
|
|
|
198: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
|
|
|
|
19c: 00532023 sw t0,0(t1)
|
|
|
|
1a0: 00100293 li t0,1
|
|
|
|
1a4: 20000337 lui t1,0x20000
|
|
|
|
1a8: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
|
|
|
|
1ac: 00532023 sw t0,0(t1)
|
|
|
|
1b0: 00000013 nop
|
|
|
|
1b4: 00100193 li gp,1
|
|
|
|
1b8: 00000073 ecall
|
|
|
|
|
|
|
|
000001bc <end_testcode>:
|
|
|
|
1bc: c0001073 unimp
|
2020-05-27 15:04:07 +00:00
|
|
|
|
|
|
|
Disassembly of section .tohost:
|
|
|
|
|
|
|
|
00001000 <tohost>:
|
|
|
|
...
|
|
|
|
|
|
|
|
00001100 <fromhost>:
|
|
|
|
...
|
|
|
|
|
|
|
|
Disassembly of section .data:
|
|
|
|
|
|
|
|
00002000 <test_A5_data>:
|
|
|
|
2000: 42524e4f fnmadd.d ft8,ft4,ft5,fs0,rmm
|
|
|
|
...
|
|
|
|
|
|
|
|
00002010 <begin_signature>:
|
|
|
|
2010: ffff 0xffff
|
|
|
|
2012: ffff 0xffff
|
|
|
|
|
|
|
|
00002014 <test_A2_res>:
|
|
|
|
2014: ffff 0xffff
|
|
|
|
2016: ffff 0xffff
|
|
|
|
|
|
|
|
00002018 <test_A3_res>:
|
|
|
|
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_A4_res>:
|
|
|
|
2028: ffff 0xffff
|
|
|
|
202a: ffff 0xffff
|
|
|
|
202c: ffff 0xffff
|
|
|
|
202e: ffff 0xffff
|
|
|
|
|
|
|
|
00002030 <test_A5_res>:
|
|
|
|
2030: ffff 0xffff
|
|
|
|
2032: ffff 0xffff
|
|
|
|
2034: ffff 0xffff
|
|
|
|
2036: ffff 0xffff
|
|
|
|
2038: ffff 0xffff
|
|
|
|
203a: ffff 0xffff
|
|
|
|
203c: ffff 0xffff
|
|
|
|
203e: ffff 0xffff
|
|
|
|
|
|
|
|
00002040 <end_signature>:
|
|
|
|
...
|
|
|
|
|
|
|
|
00002100 <begin_regstate>:
|
|
|
|
2100: 0080 addi s0,sp,64
|
|
|
|
...
|
|
|
|
|
|
|
|
00002200 <end_regstate>:
|
|
|
|
2200: 0004 0x4
|
|
|
|
...
|
2021-06-05 08:02:02 +00:00
|
|
|
|
|
|
|
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
|