ysyx-workbench/am-kernels/tests/cpu-tests/build/mul-longlong-riscv32-nemu.txt

96 lines
3.7 KiB
Text
Raw Normal View History

/home/xin/repo/ysyx-workbench/am-kernels/tests/cpu-tests/build/mul-longlong-riscv32-nemu.elf: file format elf32-littleriscv
Disassembly of section .text:
80000000 <_start>:
80000000: 00000413 li s0,0
80000004: 00009117 auipc sp,0x9
80000008: ffc10113 add sp,sp,-4 # 80009000 <_end>
8000000c: 114000ef jal 80000120 <_trm_init>
80000010 <check>:
80000010: 00050463 beqz a0,80000018 <check+0x8>
80000014: 00008067 ret
80000018: ff010113 add sp,sp,-16
8000001c: 00100513 li a0,1
80000020: 00112623 sw ra,12(sp)
80000024: 0f0000ef jal 80000114 <halt>
80000028 <main>:
80000028: fd010113 add sp,sp,-48
8000002c: 02912223 sw s1,36(sp)
80000030: 03212023 sw s2,32(sp)
80000034: 01312e23 sw s3,28(sp)
80000038: 01412c23 sw s4,24(sp)
8000003c: 01512a23 sw s5,20(sp)
80000040: 01612823 sw s6,16(sp)
80000044: 02112623 sw ra,44(sp)
80000048: 02812423 sw s0,40(sp)
8000004c: 01712623 sw s7,12(sp)
80000050: 01812423 sw s8,8(sp)
80000054: 00000a17 auipc s4,0x0
80000058: 144a0a13 add s4,s4,324 # 80000198 <test_data>
8000005c: 00000493 li s1,0
80000060: 00000993 li s3,0
80000064: 00000b17 auipc s6,0x0
80000068: 0e4b0b13 add s6,s6,228 # 80000148 <ans>
8000006c: 00000917 auipc s2,0x0
80000070: 13c90913 add s2,s2,316 # 800001a8 <_bss_start>
80000074: 00400a93 li s5,4
80000078: 000a2c03 lw s8,0(s4)
8000007c: 00349413 sll s0,s1,0x3
80000080: 008b0433 add s0,s6,s0
80000084: 000a0b93 mv s7,s4
80000088: 000ba783 lw a5,0(s7)
8000008c: 00442703 lw a4,4(s0)
80000090: 00042503 lw a0,0(s0)
80000094: 02fc06b3 mul a3,s8,a5
80000098: 004b8b93 add s7,s7,4
8000009c: 00840413 add s0,s0,8
800000a0: 02fc17b3 mulh a5,s8,a5
800000a4: 00d54533 xor a0,a0,a3
800000a8: 00f747b3 xor a5,a4,a5
800000ac: 00f56533 or a0,a0,a5
800000b0: 00153513 seqz a0,a0
800000b4: f5dff0ef jal 80000010 <check>
800000b8: fd7918e3 bne s2,s7,80000088 <main+0x60>
800000bc: 00448493 add s1,s1,4
800000c0: 00100513 li a0,1
800000c4: 413484b3 sub s1,s1,s3
800000c8: 00198993 add s3,s3,1
800000cc: f45ff0ef jal 80000010 <check>
800000d0: 004a0a13 add s4,s4,4
800000d4: fb5992e3 bne s3,s5,80000078 <main+0x50>
800000d8: 00100513 li a0,1
800000dc: f35ff0ef jal 80000010 <check>
800000e0: 02c12083 lw ra,44(sp)
800000e4: 02812403 lw s0,40(sp)
800000e8: 02412483 lw s1,36(sp)
800000ec: 02012903 lw s2,32(sp)
800000f0: 01c12983 lw s3,28(sp)
800000f4: 01812a03 lw s4,24(sp)
800000f8: 01412a83 lw s5,20(sp)
800000fc: 01012b03 lw s6,16(sp)
80000100: 00c12b83 lw s7,12(sp)
80000104: 00812c03 lw s8,8(sp)
80000108: 00000513 li a0,0
8000010c: 03010113 add sp,sp,48
80000110: 00008067 ret
80000114 <halt>:
80000114: 00050513 mv a0,a0
80000118: 00100073 ebreak
8000011c: 0000006f j 8000011c <halt+0x8>
80000120 <_trm_init>:
80000120: ff010113 add sp,sp,-16
80000124: 00000517 auipc a0,0x0
80000128: 01c50513 add a0,a0,28 # 80000140 <_etext>
8000012c: 00112623 sw ra,12(sp)
80000130: ef9ff0ef jal 80000028 <main>
80000134: 00050513 mv a0,a0
80000138: 00100073 ebreak
8000013c: 0000006f j 8000013c <_trm_init+0x1c>