/home/xin/repo/ysyx-workbench/am-kernels/tests/cpu-tests/build/recursion-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: 24c000ef jal 80000258 <_trm_init> 80000010 : 80000010: 00000797 auipc a5,0x0 80000014: 28878793 add a5,a5,648 # 80000298 80000018: 0007a703 lw a4,0(a5) 8000001c: 00b75463 bge a4,a1,80000024 80000020: 00b7a023 sw a1,0(a5) 80000024: 00000717 auipc a4,0x0 80000028: 27870713 add a4,a4,632 # 8000029c 8000002c: 00072783 lw a5,0(a4) 80000030: 00178793 add a5,a5,1 80000034: 00f72023 sw a5,0(a4) 80000038: 00a05e63 blez a0,80000054 8000003c: 00300793 li a5,3 80000040: 02f54533 div a0,a0,a5 80000044: 00158593 add a1,a1,1 80000048: 00000797 auipc a5,0x0 8000004c: 24c7a783 lw a5,588(a5) # 80000294 80000050: 00078067 jr a5 80000054: 00100513 li a0,1 80000058: 00008067 ret 8000005c : 8000005c: 00000797 auipc a5,0x0 80000060: 23c78793 add a5,a5,572 # 80000298 80000064: 0007a703 lw a4,0(a5) 80000068: 00b75463 bge a4,a1,80000070 8000006c: 00b7a023 sw a1,0(a5) 80000070: 00000717 auipc a4,0x0 80000074: 22c70713 add a4,a4,556 # 8000029c 80000078: 00072783 lw a5,0(a4) 8000007c: 00178793 add a5,a5,1 80000080: 00f72023 sw a5,0(a4) 80000084: 00a05c63 blez a0,8000009c 80000088: 00158593 add a1,a1,1 8000008c: fff50513 add a0,a0,-1 80000090: 00000797 auipc a5,0x0 80000094: 1f87a783 lw a5,504(a5) # 80000288 80000098: 00078067 jr a5 8000009c: 00100513 li a0,1 800000a0: 00008067 ret 800000a4 : 800000a4: 00000717 auipc a4,0x0 800000a8: 1f470713 add a4,a4,500 # 80000298 800000ac: 00072683 lw a3,0(a4) 800000b0: 00050793 mv a5,a0 800000b4: 00b6d463 bge a3,a1,800000bc 800000b8: 00b72023 sw a1,0(a4) 800000bc: 00000697 auipc a3,0x0 800000c0: 1e068693 add a3,a3,480 # 8000029c 800000c4: 0006a703 lw a4,0(a3) 800000c8: 00100513 li a0,1 800000cc: 00170713 add a4,a4,1 800000d0: 00e6a023 sw a4,0(a3) 800000d4: 02f05863 blez a5,80000104 800000d8: ff010113 add sp,sp,-16 800000dc: 00112623 sw ra,12(sp) 800000e0: 00078513 mv a0,a5 800000e4: 00158593 add a1,a1,1 800000e8: 00000797 auipc a5,0x0 800000ec: 1a47a783 lw a5,420(a5) # 8000028c 800000f0: 000780e7 jalr a5 800000f4: 00c12083 lw ra,12(sp) 800000f8: 00950513 add a0,a0,9 800000fc: 01010113 add sp,sp,16 80000100: 00008067 ret 80000104: 00008067 ret 80000108 : 80000108: 00000717 auipc a4,0x0 8000010c: 19070713 add a4,a4,400 # 80000298 80000110: 00072683 lw a3,0(a4) 80000114: 00050793 mv a5,a0 80000118: 00b6d463 bge a3,a1,80000120 8000011c: 00b72023 sw a1,0(a4) 80000120: 00000697 auipc a3,0x0 80000124: 17c68693 add a3,a3,380 # 8000029c 80000128: 0006a703 lw a4,0(a3) 8000012c: 00100513 li a0,1 80000130: 00170713 add a4,a4,1 80000134: 00e6a023 sw a4,0(a3) 80000138: 06f05c63 blez a5,800001b0 8000013c: ff010113 add sp,sp,-16 80000140: 01212023 sw s2,0(sp) 80000144: 00000917 auipc s2,0x0 80000148: 14490913 add s2,s2,324 # 80000288 8000014c: 00892703 lw a4,8(s2) 80000150: 00812423 sw s0,8(sp) 80000154: 00912223 sw s1,4(sp) 80000158: 00158413 add s0,a1,1 8000015c: 4017d493 sra s1,a5,0x1 80000160: 00112623 sw ra,12(sp) 80000164: 00040593 mv a1,s0 80000168: 00048513 mv a0,s1 8000016c: 000700e7 jalr a4 80000170: 00892703 lw a4,8(s2) 80000174: 00050793 mv a5,a0 80000178: 00040593 mv a1,s0 8000017c: 00048513 mv a0,s1 80000180: 00078413 mv s0,a5 80000184: 000700e7 jalr a4 80000188: 00141793 sll a5,s0,0x1 8000018c: 00c12083 lw ra,12(sp) 80000190: 008787b3 add a5,a5,s0 80000194: 00812403 lw s0,8(sp) 80000198: 00151513 sll a0,a0,0x1 8000019c: 00412483 lw s1,4(sp) 800001a0: 00012903 lw s2,0(sp) 800001a4: 00a78533 add a0,a5,a0 800001a8: 01010113 add sp,sp,16 800001ac: 00008067 ret 800001b0: 00008067 ret 800001b4 : 800001b4: 00050463 beqz a0,800001bc 800001b8: 00008067 ret 800001bc: ff010113 add sp,sp,-16 800001c0: 00100513 li a0,1 800001c4: 00112623 sw ra,12(sp) 800001c8: 084000ef jal 8000024c 800001cc
: 800001cc: ff010113 add sp,sp,-16 800001d0: 00004537 lui a0,0x4 800001d4: 00112623 sw ra,12(sp) 800001d8: 00812423 sw s0,8(sp) 800001dc: 00000593 li a1,0 800001e0: 00000797 auipc a5,0x0 800001e4: 0a87a783 lw a5,168(a5) # 80000288 800001e8: 82350513 add a0,a0,-2013 # 3823 <_entry_offset+0x3823> 800001ec: 000780e7 jalr a5 800001f0: 00000417 auipc s0,0x0 800001f4: 08c40413 add s0,s0,140 # 8000027c 800001f8: 00042783 lw a5,0(s0) 800001fc: 40a78533 sub a0,a5,a0 80000200: 00153513 seqz a0,a0 80000204: fb1ff0ef jal 800001b4 80000208: 00442503 lw a0,4(s0) 8000020c: 00000797 auipc a5,0x0 80000210: 0907a783 lw a5,144(a5) # 8000029c 80000214: 40f50533 sub a0,a0,a5 80000218: 00153513 seqz a0,a0 8000021c: f99ff0ef jal 800001b4 80000220: 00842503 lw a0,8(s0) 80000224: 00000797 auipc a5,0x0 80000228: 0747a783 lw a5,116(a5) # 80000298 8000022c: 40f50533 sub a0,a0,a5 80000230: 00153513 seqz a0,a0 80000234: f81ff0ef jal 800001b4 80000238: 00c12083 lw ra,12(sp) 8000023c: 00812403 lw s0,8(sp) 80000240: 00000513 li a0,0 80000244: 01010113 add sp,sp,16 80000248: 00008067 ret 8000024c : 8000024c: 00050513 mv a0,a0 80000250: 00100073 ebreak 80000254: 0000006f j 80000254 80000258 <_trm_init>: 80000258: ff010113 add sp,sp,-16 8000025c: 00000517 auipc a0,0x0 80000260: 01c50513 add a0,a0,28 # 80000278 <_etext> 80000264: 00112623 sw ra,12(sp) 80000268: f65ff0ef jal 800001cc
8000026c: 00050513 mv a0,a0 80000270: 00100073 ebreak 80000274: 0000006f j 80000274 <_trm_init+0x1c>