aboutsummaryrefslogtreecommitdiff
path: root/VexRiscv/src/test/resources/asm/rv32ud-p-recoding.dump
diff options
context:
space:
mode:
Diffstat (limited to 'VexRiscv/src/test/resources/asm/rv32ud-p-recoding.dump')
-rw-r--r--VexRiscv/src/test/resources/asm/rv32ud-p-recoding.dump190
1 files changed, 190 insertions, 0 deletions
diff --git a/VexRiscv/src/test/resources/asm/rv32ud-p-recoding.dump b/VexRiscv/src/test/resources/asm/rv32ud-p-recoding.dump
new file mode 100644
index 0000000..1136439
--- /dev/null
+++ b/VexRiscv/src/test/resources/asm/rv32ud-p-recoding.dump
@@ -0,0 +1,190 @@
+
+rv32ud-p-recoding: file format elf32-littleriscv
+
+
+Disassembly of section .text.init:
+
+80000000 <_start>:
+80000000: 04c0006f j 8000004c <reset_vector>
+
+80000004 <trap_vector>:
+80000004: 34202f73 csrr t5,mcause
+80000008: 00800f93 li t6,8
+8000000c: 03ff0a63 beq t5,t6,80000040 <write_tohost>
+80000010: 00900f93 li t6,9
+80000014: 03ff0663 beq t5,t6,80000040 <write_tohost>
+80000018: 00b00f93 li t6,11
+8000001c: 03ff0263 beq t5,t6,80000040 <write_tohost>
+80000020: 80000f17 auipc t5,0x80000
+80000024: fe0f0f13 addi t5,t5,-32 # 0 <_start-0x80000000>
+80000028: 000f0463 beqz t5,80000030 <trap_vector+0x2c>
+8000002c: 000f0067 jr t5
+80000030: 34202f73 csrr t5,mcause
+80000034: 000f5463 bgez t5,8000003c <handle_exception>
+80000038: 0040006f j 8000003c <handle_exception>
+
+8000003c <handle_exception>:
+8000003c: 5391e193 ori gp,gp,1337
+
+80000040 <write_tohost>:
+80000040: 00001f17 auipc t5,0x1
+80000044: fc3f2023 sw gp,-64(t5) # 80001000 <tohost>
+80000048: ff9ff06f j 80000040 <write_tohost>
+
+8000004c <reset_vector>:
+8000004c: 00000093 li ra,0
+80000050: 00000113 li sp,0
+80000054: 00000193 li gp,0
+80000058: 00000213 li tp,0
+8000005c: 00000293 li t0,0
+80000060: 00000313 li t1,0
+80000064: 00000393 li t2,0
+80000068: 00000413 li s0,0
+8000006c: 00000493 li s1,0
+80000070: 00000513 li a0,0
+80000074: 00000593 li a1,0
+80000078: 00000613 li a2,0
+8000007c: 00000693 li a3,0
+80000080: 00000713 li a4,0
+80000084: 00000793 li a5,0
+80000088: 00000813 li a6,0
+8000008c: 00000893 li a7,0
+80000090: 00000913 li s2,0
+80000094: 00000993 li s3,0
+80000098: 00000a13 li s4,0
+8000009c: 00000a93 li s5,0
+800000a0: 00000b13 li s6,0
+800000a4: 00000b93 li s7,0
+800000a8: 00000c13 li s8,0
+800000ac: 00000c93 li s9,0
+800000b0: 00000d13 li s10,0
+800000b4: 00000d93 li s11,0
+800000b8: 00000e13 li t3,0
+800000bc: 00000e93 li t4,0
+800000c0: 00000f13 li t5,0
+800000c4: 00000f93 li t6,0
+800000c8: f1402573 csrr a0,mhartid
+800000cc: 00051063 bnez a0,800000cc <reset_vector+0x80>
+800000d0: 00000297 auipc t0,0x0
+800000d4: 01028293 addi t0,t0,16 # 800000e0 <reset_vector+0x94>
+800000d8: 30529073 csrw mtvec,t0
+800000dc: 18005073 csrwi satp,0
+800000e0: 00000297 auipc t0,0x0
+800000e4: 02028293 addi t0,t0,32 # 80000100 <reset_vector+0xb4>
+800000e8: 30529073 csrw mtvec,t0
+800000ec: 800002b7 lui t0,0x80000
+800000f0: fff28293 addi t0,t0,-1 # 7fffffff <_end+0xffffdfef>
+800000f4: 3b029073 csrw pmpaddr0,t0
+800000f8: 01f00293 li t0,31
+800000fc: 3a029073 csrw pmpcfg0,t0
+80000100: 30405073 csrwi mie,0
+80000104: 00000297 auipc t0,0x0
+80000108: 01428293 addi t0,t0,20 # 80000118 <reset_vector+0xcc>
+8000010c: 30529073 csrw mtvec,t0
+80000110: 30205073 csrwi medeleg,0
+80000114: 30305073 csrwi mideleg,0
+80000118: 00000193 li gp,0
+8000011c: 00000297 auipc t0,0x0
+80000120: ee828293 addi t0,t0,-280 # 80000004 <trap_vector>
+80000124: 30529073 csrw mtvec,t0
+80000128: 00100513 li a0,1
+8000012c: 01f51513 slli a0,a0,0x1f
+80000130: 00054c63 bltz a0,80000148 <reset_vector+0xfc>
+80000134: 0ff0000f fence
+80000138: 00100193 li gp,1
+8000013c: 05d00893 li a7,93
+80000140: 00000513 li a0,0
+80000144: 00000073 ecall
+80000148: 80000297 auipc t0,0x80000
+8000014c: eb828293 addi t0,t0,-328 # 0 <_start-0x80000000>
+80000150: 00028a63 beqz t0,80000164 <reset_vector+0x118>
+80000154: 10529073 csrw stvec,t0
+80000158: 0000b2b7 lui t0,0xb
+8000015c: 10928293 addi t0,t0,265 # b109 <_start-0x7fff4ef7>
+80000160: 30229073 csrw medeleg,t0
+80000164: 30005073 csrwi mstatus,0
+80000168: 00002537 lui a0,0x2
+8000016c: 30052073 csrs mstatus,a0
+80000170: 00305073 csrwi fcsr,0
+80000174: 00000297 auipc t0,0x0
+80000178: 01428293 addi t0,t0,20 # 80000188 <reset_vector+0x13c>
+8000017c: 34129073 csrw mepc,t0
+80000180: f1402573 csrr a0,mhartid
+80000184: 30200073 mret
+80000188: 00002517 auipc a0,0x2
+8000018c: e7852007 flw ft0,-392(a0) # 80002000 <begin_signature>
+80000190: 00002517 auipc a0,0x2
+80000194: e7452087 flw ft1,-396(a0) # 80002004 <three>
+80000198: 1000f0d3 fmul.s ft1,ft1,ft0
+
+8000019c <test_2>:
+8000019c: a0102553 feq.s a0,ft0,ft1
+800001a0: 00100393 li t2,1
+800001a4: 00200193 li gp,2
+800001a8: 06751463 bne a0,t2,80000210 <fail>
+
+800001ac <test_3>:
+800001ac: a0100553 fle.s a0,ft0,ft1
+800001b0: 00100393 li t2,1
+800001b4: 00300193 li gp,3
+800001b8: 04751c63 bne a0,t2,80000210 <fail>
+
+800001bc <test_4>:
+800001bc: a0101553 flt.s a0,ft0,ft1
+800001c0: 00000393 li t2,0
+800001c4: 00400193 li gp,4
+800001c8: 04751463 bne a0,t2,80000210 <fail>
+800001cc: d0007053 fcvt.s.w ft0,zero
+800001d0: 00100513 li a0,1
+800001d4: d00570d3 fcvt.s.w ft1,a0
+800001d8: 1000f0d3 fmul.s ft1,ft1,ft0
+
+800001dc <test_5>:
+800001dc: a0102553 feq.s a0,ft0,ft1
+800001e0: 00100393 li t2,1
+800001e4: 00500193 li gp,5
+800001e8: 02751463 bne a0,t2,80000210 <fail>
+
+800001ec <test_6>:
+800001ec: a0100553 fle.s a0,ft0,ft1
+800001f0: 00100393 li t2,1
+800001f4: 00600193 li gp,6
+800001f8: 00751c63 bne a0,t2,80000210 <fail>
+
+800001fc <test_7>:
+800001fc: a0101553 flt.s a0,ft0,ft1
+80000200: 00000393 li t2,0
+80000204: 00700193 li gp,7
+80000208: 00751463 bne a0,t2,80000210 <fail>
+8000020c: 02301063 bne zero,gp,8000022c <pass>
+
+80000210 <fail>:
+80000210: 0ff0000f fence
+80000214: 00018063 beqz gp,80000214 <fail+0x4>
+80000218: 00119193 slli gp,gp,0x1
+8000021c: 0011e193 ori gp,gp,1
+80000220: 05d00893 li a7,93
+80000224: 00018513 mv a0,gp
+80000228: 00000073 ecall
+
+8000022c <pass>:
+8000022c: 0ff0000f fence
+80000230: 00100193 li gp,1
+80000234: 05d00893 li a7,93
+80000238: 00000513 li a0,0
+8000023c: 00000073 ecall
+80000240: c0001073 unimp
+
+Disassembly of section .data:
+
+80002000 <begin_signature>:
+80002000: 0000 unimp
+80002002: ff80 fsw fs0,56(a5)
+
+80002004 <three>:
+80002004: 0000 unimp
+80002006: 4040 lw s0,4(s0)
+80002008: 0000 unimp
+8000200a: 0000 unimp
+8000200c: 0000 unimp
+8000200e: 0000 unimp