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

497 lines
20 KiB
Plaintext

/home/ubuntu/tinyriscv/tests/riscv-compliance/build_generated/rv32i/I-BEQ-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: 00002117 auipc sp,0x2
80: f8410113 addi sp,sp,-124 # 2000 <begin_signature>
84: 0000d0b7 lui ra,0xd
88: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
8c: fff00f93 li t6,-1
90: 00000813 li a6,0
94: 010f8663 beq t6,a6,a0 <begin_testcode+0x24>
98: 000120b7 lui ra,0x12
9c: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
a0: 00112023 sw ra,0(sp)
a4: 0000d0b7 lui ra,0xd
a8: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
ac: 00100f13 li t5,1
b0: 80100793 li a5,-2047
b4: 00ff0663 beq t5,a5,c0 <begin_testcode+0x44>
b8: 000120b7 lui ra,0x12
bc: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
c0: 00112223 sw ra,4(sp)
c4: 0080006f j cc <begin_testcode+0x50>
c8: 0200006f j e8 <begin_testcode+0x6c>
cc: 0000d0b7 lui ra,0xd
d0: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
d4: 00000e93 li t4,0
d8: fff00713 li a4,-1
dc: feee86e3 beq t4,a4,c8 <begin_testcode+0x4c>
e0: 000120b7 lui ra,0x12
e4: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
e8: 00112423 sw ra,8(sp)
ec: 0000d0b7 lui ra,0xd
f0: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
f4: 7ff00e13 li t3,2047
f8: fffff6b7 lui a3,0xfffff
fc: dcc68693 addi a3,a3,-564 # ffffedcc <_end+0xffffcbc8>
100: 00de0663 beq t3,a3,10c <begin_testcode+0x90>
104: 000120b7 lui ra,0x12
108: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
10c: 00112623 sw ra,12(sp)
110: 0000d0b7 lui ra,0xd
114: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
118: 00000d93 li s11,0
11c: 80000637 lui a2,0x80000
120: 00cd8663 beq s11,a2,12c <begin_testcode+0xb0>
124: 000120b7 lui ra,0x12
128: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
12c: 00112823 sw ra,16(sp)
130: 00002117 auipc sp,0x2
134: ee410113 addi sp,sp,-284 # 2014 <test_2_res>
138: 0000d0b7 lui ra,0xd
13c: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
140: 00001d37 lui s10,0x1
144: 800d0d13 addi s10,s10,-2048 # 800 <end_testcode+0x288>
148: 000015b7 lui a1,0x1
14c: 23458593 addi a1,a1,564 # 1234 <fromhost+0x134>
150: 00bd0663 beq s10,a1,15c <begin_testcode+0xe0>
154: 000120b7 lui ra,0x12
158: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
15c: 00112023 sw ra,0(sp)
160: 0000d0b7 lui ra,0xd
164: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
168: 07654cb7 lui s9,0x7654
16c: 321c8c93 addi s9,s9,801 # 7654321 <_end+0x765211d>
170: fff00513 li a0,-1
174: 00ac8663 beq s9,a0,180 <begin_testcode+0x104>
178: 000120b7 lui ra,0x12
17c: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
180: 00112223 sw ra,4(sp)
184: 0080006f j 18c <begin_testcode+0x110>
188: 0240006f j 1ac <begin_testcode+0x130>
18c: 0000d0b7 lui ra,0xd
190: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
194: 80000c37 lui s8,0x80000
198: fffc0c13 addi s8,s8,-1 # 7fffffff <_end+0x7fffddfb>
19c: 00100493 li s1,1
1a0: fe9c04e3 beq s8,s1,188 <begin_testcode+0x10c>
1a4: 000120b7 lui ra,0x12
1a8: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
1ac: 00112423 sw ra,8(sp)
1b0: 0000d0b7 lui ra,0xd
1b4: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
1b8: 00100b93 li s7,1
1bc: 80000437 lui s0,0x80000
1c0: fff40413 addi s0,s0,-1 # 7fffffff <_end+0x7fffddfb>
1c4: 008b8663 beq s7,s0,1d0 <begin_testcode+0x154>
1c8: 000120b7 lui ra,0x12
1cc: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
1d0: 00112623 sw ra,12(sp)
1d4: 0000d0b7 lui ra,0xd
1d8: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
1dc: fff00b13 li s6,-1
1e0: 076543b7 lui t2,0x7654
1e4: 32138393 addi t2,t2,801 # 7654321 <_end+0x765211d>
1e8: 007b0663 beq s6,t2,1f4 <begin_testcode+0x178>
1ec: 000120b7 lui ra,0x12
1f0: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
1f4: 00112823 sw ra,16(sp)
1f8: 00002397 auipc t2,0x2
1fc: e3038393 addi t2,t2,-464 # 2028 <test_3_res>
200: 0000d0b7 lui ra,0xd
204: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
208: 00001ab7 lui s5,0x1
20c: 234a8a93 addi s5,s5,564 # 1234 <fromhost+0x134>
210: 00001337 lui t1,0x1
214: 80030313 addi t1,t1,-2048 # 800 <end_testcode+0x288>
218: 006a8663 beq s5,t1,224 <begin_testcode+0x1a8>
21c: 000120b7 lui ra,0x12
220: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
224: 0013a023 sw ra,0(t2)
228: 0000d0b7 lui ra,0xd
22c: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
230: 80000a37 lui s4,0x80000
234: 00000293 li t0,0
238: 005a0663 beq s4,t0,244 <begin_testcode+0x1c8>
23c: 000120b7 lui ra,0x12
240: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
244: 0013a223 sw ra,4(t2)
248: 0080006f j 250 <begin_testcode+0x1d4>
24c: 0240006f j 270 <begin_testcode+0x1f4>
250: 0000d0b7 lui ra,0xd
254: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
258: fffff9b7 lui s3,0xfffff
25c: dcc98993 addi s3,s3,-564 # ffffedcc <_end+0xffffcbc8>
260: 7ff00213 li tp,2047
264: fe4984e3 beq s3,tp,24c <begin_testcode+0x1d0>
268: 000120b7 lui ra,0x12
26c: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
270: 0013a423 sw ra,8(t2)
274: 0000d0b7 lui ra,0xd
278: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
27c: fff00913 li s2,-1
280: fff00193 li gp,-1
284: 00390663 beq s2,gp,290 <begin_testcode+0x214>
288: 000120b7 lui ra,0x12
28c: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
290: 0013a623 sw ra,12(t2)
294: 0000d0b7 lui ra,0xd
298: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
29c: 80100893 li a7,-2047
2a0: 00100113 li sp,1
2a4: 00288663 beq a7,sp,2b0 <begin_testcode+0x234>
2a8: 000120b7 lui ra,0x12
2ac: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
2b0: 0013a823 sw ra,16(t2)
2b4: 00002197 auipc gp,0x2
2b8: d8818193 addi gp,gp,-632 # 203c <test_4_res>
2bc: 0000d137 lui sp,0xd
2c0: ccc10113 addi sp,sp,-820 # cccc <_end+0xaac8>
2c4: 00000813 li a6,0
2c8: 00000093 li ra,0
2cc: 00180663 beq a6,ra,2d8 <begin_testcode+0x25c>
2d0: 00012137 lui sp,0x12
2d4: 3ab10113 addi sp,sp,939 # 123ab <_end+0x101a7>
2d8: 0021a023 sw sp,0(gp)
2dc: 0000d0b7 lui ra,0xd
2e0: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
2e4: fff00793 li a5,-1
2e8: 00000013 nop
2ec: 00078663 beqz a5,2f8 <begin_testcode+0x27c>
2f0: 000120b7 lui ra,0x12
2f4: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
2f8: 0011a223 sw ra,4(gp)
2fc: 0080006f j 304 <begin_testcode+0x288>
300: 0200006f j 320 <begin_testcode+0x2a4>
304: 0000d0b7 lui ra,0xd
308: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
30c: 00100713 li a4,1
310: 80100f93 li t6,-2047
314: fff706e3 beq a4,t6,300 <begin_testcode+0x284>
318: 000120b7 lui ra,0x12
31c: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
320: 0011a423 sw ra,8(gp)
324: 0000d0b7 lui ra,0xd
328: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
32c: 00000693 li a3,0
330: fff00f13 li t5,-1
334: 01e68663 beq a3,t5,340 <begin_testcode+0x2c4>
338: 000120b7 lui ra,0x12
33c: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
340: 0011a623 sw ra,12(gp)
344: 0000d0b7 lui ra,0xd
348: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
34c: 7ff00613 li a2,2047
350: fffffeb7 lui t4,0xfffff
354: dcce8e93 addi t4,t4,-564 # ffffedcc <_end+0xffffcbc8>
358: 01d60663 beq a2,t4,364 <begin_testcode+0x2e8>
35c: 000120b7 lui ra,0x12
360: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
364: 0011a823 sw ra,16(gp)
368: 00002117 auipc sp,0x2
36c: ce810113 addi sp,sp,-792 # 2050 <test_5_res>
370: 0000d0b7 lui ra,0xd
374: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
378: 00000593 li a1,0
37c: 80000e37 lui t3,0x80000
380: 01c58663 beq a1,t3,38c <begin_testcode+0x310>
384: 000120b7 lui ra,0x12
388: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
38c: 00112023 sw ra,0(sp)
390: 0000d0b7 lui ra,0xd
394: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
398: 00001537 lui a0,0x1
39c: 80050513 addi a0,a0,-2048 # 800 <end_testcode+0x288>
3a0: 00001db7 lui s11,0x1
3a4: 234d8d93 addi s11,s11,564 # 1234 <fromhost+0x134>
3a8: 01b50663 beq a0,s11,3b4 <begin_testcode+0x338>
3ac: 000120b7 lui ra,0x12
3b0: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
3b4: 00112223 sw ra,4(sp)
3b8: 0080006f j 3c0 <begin_testcode+0x344>
3bc: 0240006f j 3e0 <begin_testcode+0x364>
3c0: 0000d0b7 lui ra,0xd
3c4: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
3c8: 076544b7 lui s1,0x7654
3cc: 32148493 addi s1,s1,801 # 7654321 <_end+0x765211d>
3d0: fff00d13 li s10,-1
3d4: ffa484e3 beq s1,s10,3bc <begin_testcode+0x340>
3d8: 000120b7 lui ra,0x12
3dc: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
3e0: 00112423 sw ra,8(sp)
3e4: 0000d0b7 lui ra,0xd
3e8: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
3ec: 80000437 lui s0,0x80000
3f0: fff40413 addi s0,s0,-1 # 7fffffff <_end+0x7fffddfb>
3f4: 00100c93 li s9,1
3f8: 01940663 beq s0,s9,404 <begin_testcode+0x388>
3fc: 000120b7 lui ra,0x12
400: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
404: 00112623 sw ra,12(sp)
408: 0000d0b7 lui ra,0xd
40c: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
410: 00100393 li t2,1
414: 80000c37 lui s8,0x80000
418: fffc0c13 addi s8,s8,-1 # 7fffffff <_end+0x7fffddfb>
41c: 01838663 beq t2,s8,428 <begin_testcode+0x3ac>
420: 000120b7 lui ra,0x12
424: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
428: 00112823 sw ra,16(sp)
42c: 00002397 auipc t2,0x2
430: c3838393 addi t2,t2,-968 # 2064 <test_6_res>
434: 0000d0b7 lui ra,0xd
438: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
43c: fff00313 li t1,-1
440: 07654bb7 lui s7,0x7654
444: 321b8b93 addi s7,s7,801 # 7654321 <_end+0x765211d>
448: 01730663 beq t1,s7,454 <begin_testcode+0x3d8>
44c: 000120b7 lui ra,0x12
450: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
454: 0013a023 sw ra,0(t2)
458: 0000d0b7 lui ra,0xd
45c: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
460: 000012b7 lui t0,0x1
464: 23428293 addi t0,t0,564 # 1234 <fromhost+0x134>
468: 00001b37 lui s6,0x1
46c: 800b0b13 addi s6,s6,-2048 # 800 <end_testcode+0x288>
470: 01628663 beq t0,s6,47c <begin_testcode+0x400>
474: 000120b7 lui ra,0x12
478: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
47c: 0013a223 sw ra,4(t2)
480: 0080006f j 488 <begin_testcode+0x40c>
484: 0200006f j 4a4 <begin_testcode+0x428>
488: 0000d0b7 lui ra,0xd
48c: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
490: 80000237 lui tp,0x80000
494: 00000a93 li s5,0
498: ff5206e3 beq tp,s5,484 <begin_testcode+0x408>
49c: 000120b7 lui ra,0x12
4a0: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
4a4: 0013a423 sw ra,8(t2)
4a8: 0000d0b7 lui ra,0xd
4ac: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
4b0: fffff1b7 lui gp,0xfffff
4b4: dcc18193 addi gp,gp,-564 # ffffedcc <_end+0xffffcbc8>
4b8: 7ff00a13 li s4,2047
4bc: 01418663 beq gp,s4,4c8 <begin_testcode+0x44c>
4c0: 000120b7 lui ra,0x12
4c4: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
4c8: 0013a623 sw ra,12(t2)
4cc: 0000d0b7 lui ra,0xd
4d0: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
4d4: fff00113 li sp,-1
4d8: fff00993 li s3,-1
4dc: 01310663 beq sp,s3,4e8 <begin_testcode+0x46c>
4e0: 000120b7 lui ra,0x12
4e4: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
4e8: 0013a823 sw ra,16(t2)
4ec: 00002197 auipc gp,0x2
4f0: b8c18193 addi gp,gp,-1140 # 2078 <test_7_res>
4f4: 0000d137 lui sp,0xd
4f8: ccc10113 addi sp,sp,-820 # cccc <_end+0xaac8>
4fc: 80100093 li ra,-2047
500: 00100913 li s2,1
504: 01208663 beq ra,s2,510 <begin_testcode+0x494>
508: 00012137 lui sp,0x12
50c: 3ab10113 addi sp,sp,939 # 123ab <_end+0x101a7>
510: 0021a023 sw sp,0(gp)
514: 0000d0b7 lui ra,0xd
518: ccc08093 addi ra,ra,-820 # cccc <_end+0xaac8>
51c: 00000013 nop
520: 00000893 li a7,0
524: 01100663 beq zero,a7,530 <begin_testcode+0x4b4>
528: 000120b7 lui ra,0x12
52c: 3ab08093 addi ra,ra,939 # 123ab <_end+0x101a7>
530: 0011a223 sw ra,4(gp)
534: 00002297 auipc t0,0x2
538: acc28293 addi t0,t0,-1332 # 2000 <begin_signature>
53c: 20000337 lui t1,0x20000
540: 00830313 addi t1,t1,8 # 20000008 <_end+0x1fffde04>
544: 00532023 sw t0,0(t1)
548: 00002297 auipc t0,0x2
54c: b4828293 addi t0,t0,-1208 # 2090 <end_signature>
550: 20000337 lui t1,0x20000
554: 00c30313 addi t1,t1,12 # 2000000c <_end+0x1fffde08>
558: 00532023 sw t0,0(t1)
55c: 00100293 li t0,1
560: 20000337 lui t1,0x20000
564: 01030313 addi t1,t1,16 # 20000010 <_end+0x1fffde0c>
568: 00532023 sw t0,0(t1)
56c: 00000013 nop
570: 00100193 li gp,1
574: 00000073 ecall
00000578 <end_testcode>:
578: c0001073 unimp
57c: 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