tinyriscv/tests/isa/generated/rv32ui-p-jalr.dump

114 lines
3.3 KiB
Plaintext

generated/rv32ui-p-jalr: file format elf32-littleriscv
Disassembly of section .text.init:
00000000 <_start>:
0: 10005073 csrwi sstatus,0
00000004 <test_2>:
4: 00200193 li gp,2
8: 00000293 li t0,0
c: 00000317 auipc t1,0x0
10: 01030313 addi t1,t1,16 # 1c <target_2>
14: 000302e7 jalr t0,t1
00000018 <linkaddr_2>:
18: 0c00006f j d8 <fail>
0000001c <target_2>:
1c: 00000317 auipc t1,0x0
20: ffc30313 addi t1,t1,-4 # 18 <linkaddr_2>
24: 0a629a63 bne t0,t1,d8 <fail>
00000028 <test_4>:
28: 00400193 li gp,4
2c: 00000213 li tp,0
30: 00000317 auipc t1,0x0
34: 01030313 addi t1,t1,16 # 40 <test_4+0x18>
38: 000309e7 jalr s3,t1
3c: 08301e63 bne zero,gp,d8 <fail>
40: 00120213 addi tp,tp,1 # 1 <_start+0x1>
44: 00200293 li t0,2
48: fe5214e3 bne tp,t0,30 <test_4+0x8>
0000004c <test_5>:
4c: 00500193 li gp,5
50: 00000213 li tp,0
54: 00000317 auipc t1,0x0
58: 01430313 addi t1,t1,20 # 68 <test_5+0x1c>
5c: 00000013 nop
60: 000309e7 jalr s3,t1
64: 06301a63 bne zero,gp,d8 <fail>
68: 00120213 addi tp,tp,1 # 1 <_start+0x1>
6c: 00200293 li t0,2
70: fe5212e3 bne tp,t0,54 <test_5+0x8>
00000074 <test_6>:
74: 00600193 li gp,6
78: 00000213 li tp,0
7c: 00000317 auipc t1,0x0
80: 01830313 addi t1,t1,24 # 94 <test_6+0x20>
84: 00000013 nop
88: 00000013 nop
8c: 000309e7 jalr s3,t1
90: 04301463 bne zero,gp,d8 <fail>
94: 00120213 addi tp,tp,1 # 1 <_start+0x1>
98: 00200293 li t0,2
9c: fe5210e3 bne tp,t0,7c <test_6+0x8>
000000a0 <test_7>:
a0: 00100293 li t0,1
a4: 00000317 auipc t1,0x0
a8: 01c30313 addi t1,t1,28 # c0 <test_7+0x20>
ac: ffc30067 jr -4(t1)
b0: 00128293 addi t0,t0,1
b4: 00128293 addi t0,t0,1
b8: 00128293 addi t0,t0,1
bc: 00128293 addi t0,t0,1
c0: 00128293 addi t0,t0,1
c4: 00128293 addi t0,t0,1
c8: 00400e93 li t4,4
cc: 00700193 li gp,7
d0: 01d29463 bne t0,t4,d8 <fail>
d4: 00301663 bne zero,gp,e0 <pass>
000000d8 <fail>:
d8: 1000d073 csrwi sstatus,1
000000dc <loop_fail>:
dc: 0000006f j dc <loop_fail>
000000e0 <pass>:
e0: 1001d073 csrwi sstatus,3
000000e4 <loop_pass>:
e4: 0000006f j e4 <loop_pass>
...
Disassembly of section .tohost:
00000140 <tohost>:
...
00000180 <fromhost>:
...
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 <test_2+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