diff options
Diffstat (limited to 'test/riscv-tests/rv64ui-p-sh.dump')
-rw-r--r-- | test/riscv-tests/rv64ui-p-sh.dump | 480 |
1 files changed, 480 insertions, 0 deletions
diff --git a/test/riscv-tests/rv64ui-p-sh.dump b/test/riscv-tests/rv64ui-p-sh.dump new file mode 100644 index 0000000..dc11b44 --- /dev/null +++ b/test/riscv-tests/rv64ui-p-sh.dump @@ -0,0 +1,480 @@ + +rv64ui-p-sh: file format elf64-littleriscv + + +Disassembly of section .text.init: + +0000000080000000 <_start>: + 80000000: 04c0006f j 8000004c <reset_vector> + +0000000080000004 <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> + +000000008000003c <handle_exception>: + 8000003c: 5391e193 ori gp,gp,1337 + +0000000080000040 <write_tohost>: + 80000040: 00001f17 auipc t5,0x1 + 80000044: fc3f2023 sw gp,-64(t5) # 80001000 <tohost> + 80000048: ff9ff06f j 80000040 <write_tohost> + +000000008000004c <reset_vector>: + 8000004c: f1402573 csrr a0,mhartid + 80000050: 00051063 bnez a0,80000050 <reset_vector+0x4> + 80000054: 00000297 auipc t0,0x0 + 80000058: 01028293 addi t0,t0,16 # 80000064 <reset_vector+0x18> + 8000005c: 30529073 csrw mtvec,t0 + 80000060: 18005073 csrwi satp,0 + 80000064: 00000297 auipc t0,0x0 + 80000068: 01c28293 addi t0,t0,28 # 80000080 <reset_vector+0x34> + 8000006c: 30529073 csrw mtvec,t0 + 80000070: fff00293 li t0,-1 + 80000074: 3b029073 csrw pmpaddr0,t0 + 80000078: 01f00293 li t0,31 + 8000007c: 3a029073 csrw pmpcfg0,t0 + 80000080: 00000297 auipc t0,0x0 + 80000084: 01828293 addi t0,t0,24 # 80000098 <reset_vector+0x4c> + 80000088: 30529073 csrw mtvec,t0 + 8000008c: 30205073 csrwi medeleg,0 + 80000090: 30305073 csrwi mideleg,0 + 80000094: 30405073 csrwi mie,0 + 80000098: 00000193 li gp,0 + 8000009c: 00000297 auipc t0,0x0 + 800000a0: f6828293 addi t0,t0,-152 # 80000004 <trap_vector> + 800000a4: 30529073 csrw mtvec,t0 + 800000a8: 00100513 li a0,1 + 800000ac: 01f51513 slli a0,a0,0x1f + 800000b0: 00055863 bgez a0,800000c0 <reset_vector+0x74> + 800000b4: 0ff0000f fence + 800000b8: 00100193 li gp,1 + 800000bc: 00000073 ecall + 800000c0: 80000297 auipc t0,0x80000 + 800000c4: f4028293 addi t0,t0,-192 # 0 <_start-0x80000000> + 800000c8: 00028e63 beqz t0,800000e4 <reset_vector+0x98> + 800000cc: 10529073 csrw stvec,t0 + 800000d0: 0000b2b7 lui t0,0xb + 800000d4: 1092829b addiw t0,t0,265 + 800000d8: 30229073 csrw medeleg,t0 + 800000dc: 30202373 csrr t1,medeleg + 800000e0: f4629ee3 bne t0,t1,8000003c <handle_exception> + 800000e4: 30005073 csrwi mstatus,0 + 800000e8: 00000297 auipc t0,0x0 + 800000ec: 01428293 addi t0,t0,20 # 800000fc <test_2> + 800000f0: 34129073 csrw mepc,t0 + 800000f4: f1402573 csrr a0,mhartid + 800000f8: 30200073 mret + +00000000800000fc <test_2>: + 800000fc: 00002097 auipc ra,0x2 + 80000100: f0408093 addi ra,ra,-252 # 80002000 <begin_signature> + 80000104: 0aa00113 li sp,170 + 80000108: 00209023 sh sp,0(ra) + 8000010c: 00009f03 lh t5,0(ra) + 80000110: 0aa00e93 li t4,170 + 80000114: 00200193 li gp,2 + 80000118: 45df1e63 bne t5,t4,80000574 <fail> + +000000008000011c <test_3>: + 8000011c: 00002097 auipc ra,0x2 + 80000120: ee408093 addi ra,ra,-284 # 80002000 <begin_signature> + 80000124: ffffb137 lui sp,0xffffb + 80000128: a001011b addiw sp,sp,-1536 + 8000012c: 00209123 sh sp,2(ra) + 80000130: 00209f03 lh t5,2(ra) + 80000134: ffffbeb7 lui t4,0xffffb + 80000138: a00e8e9b addiw t4,t4,-1536 + 8000013c: 00300193 li gp,3 + 80000140: 43df1a63 bne t5,t4,80000574 <fail> + +0000000080000144 <test_4>: + 80000144: 00002097 auipc ra,0x2 + 80000148: ebc08093 addi ra,ra,-324 # 80002000 <begin_signature> + 8000014c: beef1137 lui sp,0xbeef1 + 80000150: aa01011b addiw sp,sp,-1376 + 80000154: 00209223 sh sp,4(ra) + 80000158: 0040af03 lw t5,4(ra) + 8000015c: beef1eb7 lui t4,0xbeef1 + 80000160: aa0e8e9b addiw t4,t4,-1376 + 80000164: 00400193 li gp,4 + 80000168: 41df1663 bne t5,t4,80000574 <fail> + +000000008000016c <test_5>: + 8000016c: 00002097 auipc ra,0x2 + 80000170: e9408093 addi ra,ra,-364 # 80002000 <begin_signature> + 80000174: ffffa137 lui sp,0xffffa + 80000178: 00a1011b addiw sp,sp,10 + 8000017c: 00209323 sh sp,6(ra) + 80000180: 00609f03 lh t5,6(ra) + 80000184: ffffaeb7 lui t4,0xffffa + 80000188: 00ae8e9b addiw t4,t4,10 + 8000018c: 00500193 li gp,5 + 80000190: 3fdf1263 bne t5,t4,80000574 <fail> + +0000000080000194 <test_6>: + 80000194: 00002097 auipc ra,0x2 + 80000198: e7a08093 addi ra,ra,-390 # 8000200e <tdat8> + 8000019c: 0aa00113 li sp,170 + 800001a0: fe209d23 sh sp,-6(ra) + 800001a4: ffa09f03 lh t5,-6(ra) + 800001a8: 0aa00e93 li t4,170 + 800001ac: 00600193 li gp,6 + 800001b0: 3ddf1263 bne t5,t4,80000574 <fail> + +00000000800001b4 <test_7>: + 800001b4: 00002097 auipc ra,0x2 + 800001b8: e5a08093 addi ra,ra,-422 # 8000200e <tdat8> + 800001bc: ffffb137 lui sp,0xffffb + 800001c0: a001011b addiw sp,sp,-1536 + 800001c4: fe209e23 sh sp,-4(ra) + 800001c8: ffc09f03 lh t5,-4(ra) + 800001cc: ffffbeb7 lui t4,0xffffb + 800001d0: a00e8e9b addiw t4,t4,-1536 + 800001d4: 00700193 li gp,7 + 800001d8: 39df1e63 bne t5,t4,80000574 <fail> + +00000000800001dc <test_8>: + 800001dc: 00002097 auipc ra,0x2 + 800001e0: e3208093 addi ra,ra,-462 # 8000200e <tdat8> + 800001e4: 00001137 lui sp,0x1 + 800001e8: aa01011b addiw sp,sp,-1376 + 800001ec: fe209f23 sh sp,-2(ra) + 800001f0: ffe09f03 lh t5,-2(ra) + 800001f4: 00001eb7 lui t4,0x1 + 800001f8: aa0e8e9b addiw t4,t4,-1376 + 800001fc: 00800193 li gp,8 + 80000200: 37df1a63 bne t5,t4,80000574 <fail> + +0000000080000204 <test_9>: + 80000204: 00002097 auipc ra,0x2 + 80000208: e0a08093 addi ra,ra,-502 # 8000200e <tdat8> + 8000020c: ffffa137 lui sp,0xffffa + 80000210: 00a1011b addiw sp,sp,10 + 80000214: 00209023 sh sp,0(ra) + 80000218: 00009f03 lh t5,0(ra) + 8000021c: ffffaeb7 lui t4,0xffffa + 80000220: 00ae8e9b addiw t4,t4,10 + 80000224: 00900193 li gp,9 + 80000228: 35df1663 bne t5,t4,80000574 <fail> + +000000008000022c <test_10>: + 8000022c: 00002097 auipc ra,0x2 + 80000230: de408093 addi ra,ra,-540 # 80002010 <tdat9> + 80000234: 12345137 lui sp,0x12345 + 80000238: 6781011b addiw sp,sp,1656 + 8000023c: fe008213 addi tp,ra,-32 + 80000240: 02221023 sh sp,32(tp) # 20 <_start-0x7fffffe0> + 80000244: 00009283 lh t0,0(ra) + 80000248: 00005eb7 lui t4,0x5 + 8000024c: 678e8e9b addiw t4,t4,1656 + 80000250: 00a00193 li gp,10 + 80000254: 33d29063 bne t0,t4,80000574 <fail> + +0000000080000258 <test_11>: + 80000258: 00002097 auipc ra,0x2 + 8000025c: db808093 addi ra,ra,-584 # 80002010 <tdat9> + 80000260: 00003137 lui sp,0x3 + 80000264: 0981011b addiw sp,sp,152 + 80000268: ffb08093 addi ra,ra,-5 + 8000026c: 002093a3 sh sp,7(ra) + 80000270: 00002217 auipc tp,0x2 + 80000274: da220213 addi tp,tp,-606 # 80002012 <tdat10> + 80000278: 00021283 lh t0,0(tp) # 0 <_start-0x80000000> + 8000027c: 00003eb7 lui t4,0x3 + 80000280: 098e8e9b addiw t4,t4,152 + 80000284: 00b00193 li gp,11 + 80000288: 2fd29663 bne t0,t4,80000574 <fail> + +000000008000028c <test_12>: + 8000028c: 00c00193 li gp,12 + 80000290: 00000213 li tp,0 + 80000294: ffffd0b7 lui ra,0xffffd + 80000298: cdd0809b addiw ra,ra,-803 + 8000029c: 00002117 auipc sp,0x2 + 800002a0: d6410113 addi sp,sp,-668 # 80002000 <begin_signature> + 800002a4: 00111023 sh ra,0(sp) + 800002a8: 00011f03 lh t5,0(sp) + 800002ac: ffffdeb7 lui t4,0xffffd + 800002b0: cdde8e9b addiw t4,t4,-803 + 800002b4: 2ddf1063 bne t5,t4,80000574 <fail> + 800002b8: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 800002bc: 00200293 li t0,2 + 800002c0: fc521ae3 bne tp,t0,80000294 <test_12+0x8> + +00000000800002c4 <test_13>: + 800002c4: 00d00193 li gp,13 + 800002c8: 00000213 li tp,0 + 800002cc: ffffc0b7 lui ra,0xffffc + 800002d0: ccd0809b addiw ra,ra,-819 + 800002d4: 00002117 auipc sp,0x2 + 800002d8: d2c10113 addi sp,sp,-724 # 80002000 <begin_signature> + 800002dc: 00000013 nop + 800002e0: 00111123 sh ra,2(sp) + 800002e4: 00211f03 lh t5,2(sp) + 800002e8: ffffceb7 lui t4,0xffffc + 800002ec: ccde8e9b addiw t4,t4,-819 + 800002f0: 29df1263 bne t5,t4,80000574 <fail> + 800002f4: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 800002f8: 00200293 li t0,2 + 800002fc: fc5218e3 bne tp,t0,800002cc <test_13+0x8> + +0000000080000300 <test_14>: + 80000300: 00e00193 li gp,14 + 80000304: 00000213 li tp,0 + 80000308: ffffc0b7 lui ra,0xffffc + 8000030c: bcc0809b addiw ra,ra,-1076 + 80000310: 00002117 auipc sp,0x2 + 80000314: cf010113 addi sp,sp,-784 # 80002000 <begin_signature> + 80000318: 00000013 nop + 8000031c: 00000013 nop + 80000320: 00111223 sh ra,4(sp) + 80000324: 00411f03 lh t5,4(sp) + 80000328: ffffceb7 lui t4,0xffffc + 8000032c: bcce8e9b addiw t4,t4,-1076 + 80000330: 25df1263 bne t5,t4,80000574 <fail> + 80000334: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 80000338: 00200293 li t0,2 + 8000033c: fc5216e3 bne tp,t0,80000308 <test_14+0x8> + +0000000080000340 <test_15>: + 80000340: 00f00193 li gp,15 + 80000344: 00000213 li tp,0 + 80000348: ffffb0b7 lui ra,0xffffb + 8000034c: bbc0809b addiw ra,ra,-1092 + 80000350: 00000013 nop + 80000354: 00002117 auipc sp,0x2 + 80000358: cac10113 addi sp,sp,-852 # 80002000 <begin_signature> + 8000035c: 00111323 sh ra,6(sp) + 80000360: 00611f03 lh t5,6(sp) + 80000364: ffffbeb7 lui t4,0xffffb + 80000368: bbce8e9b addiw t4,t4,-1092 + 8000036c: 21df1463 bne t5,t4,80000574 <fail> + 80000370: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 80000374: 00200293 li t0,2 + 80000378: fc5218e3 bne tp,t0,80000348 <test_15+0x8> + +000000008000037c <test_16>: + 8000037c: 01000193 li gp,16 + 80000380: 00000213 li tp,0 + 80000384: ffffb0b7 lui ra,0xffffb + 80000388: abb0809b addiw ra,ra,-1349 + 8000038c: 00000013 nop + 80000390: 00002117 auipc sp,0x2 + 80000394: c7010113 addi sp,sp,-912 # 80002000 <begin_signature> + 80000398: 00000013 nop + 8000039c: 00111423 sh ra,8(sp) + 800003a0: 00811f03 lh t5,8(sp) + 800003a4: ffffbeb7 lui t4,0xffffb + 800003a8: abbe8e9b addiw t4,t4,-1349 + 800003ac: 1ddf1463 bne t5,t4,80000574 <fail> + 800003b0: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 800003b4: 00200293 li t0,2 + 800003b8: fc5216e3 bne tp,t0,80000384 <test_16+0x8> + +00000000800003bc <test_17>: + 800003bc: 01100193 li gp,17 + 800003c0: 00000213 li tp,0 + 800003c4: ffffe0b7 lui ra,0xffffe + 800003c8: aab0809b addiw ra,ra,-1365 + 800003cc: 00000013 nop + 800003d0: 00000013 nop + 800003d4: 00002117 auipc sp,0x2 + 800003d8: c2c10113 addi sp,sp,-980 # 80002000 <begin_signature> + 800003dc: 00111523 sh ra,10(sp) + 800003e0: 00a11f03 lh t5,10(sp) + 800003e4: ffffeeb7 lui t4,0xffffe + 800003e8: aabe8e9b addiw t4,t4,-1365 + 800003ec: 19df1463 bne t5,t4,80000574 <fail> + 800003f0: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 800003f4: 00200293 li t0,2 + 800003f8: fc5216e3 bne tp,t0,800003c4 <test_17+0x8> + +00000000800003fc <test_18>: + 800003fc: 01200193 li gp,18 + 80000400: 00000213 li tp,0 + 80000404: 00002117 auipc sp,0x2 + 80000408: bfc10113 addi sp,sp,-1028 # 80002000 <begin_signature> + 8000040c: 000020b7 lui ra,0x2 + 80000410: 2330809b addiw ra,ra,563 + 80000414: 00111023 sh ra,0(sp) + 80000418: 00011f03 lh t5,0(sp) + 8000041c: 00002eb7 lui t4,0x2 + 80000420: 233e8e9b addiw t4,t4,563 + 80000424: 15df1863 bne t5,t4,80000574 <fail> + 80000428: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 8000042c: 00200293 li t0,2 + 80000430: fc521ae3 bne tp,t0,80000404 <test_18+0x8> + +0000000080000434 <test_19>: + 80000434: 01300193 li gp,19 + 80000438: 00000213 li tp,0 + 8000043c: 00002117 auipc sp,0x2 + 80000440: bc410113 addi sp,sp,-1084 # 80002000 <begin_signature> + 80000444: 000010b7 lui ra,0x1 + 80000448: 2230809b addiw ra,ra,547 + 8000044c: 00000013 nop + 80000450: 00111123 sh ra,2(sp) + 80000454: 00211f03 lh t5,2(sp) + 80000458: 00001eb7 lui t4,0x1 + 8000045c: 223e8e9b addiw t4,t4,547 + 80000460: 11df1a63 bne t5,t4,80000574 <fail> + 80000464: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 80000468: 00200293 li t0,2 + 8000046c: fc5218e3 bne tp,t0,8000043c <test_19+0x8> + +0000000080000470 <test_20>: + 80000470: 01400193 li gp,20 + 80000474: 00000213 li tp,0 + 80000478: 00002117 auipc sp,0x2 + 8000047c: b8810113 addi sp,sp,-1144 # 80002000 <begin_signature> + 80000480: 000010b7 lui ra,0x1 + 80000484: 1220809b addiw ra,ra,290 + 80000488: 00000013 nop + 8000048c: 00000013 nop + 80000490: 00111223 sh ra,4(sp) + 80000494: 00411f03 lh t5,4(sp) + 80000498: 00001eb7 lui t4,0x1 + 8000049c: 122e8e9b addiw t4,t4,290 + 800004a0: 0ddf1a63 bne t5,t4,80000574 <fail> + 800004a4: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 800004a8: 00200293 li t0,2 + 800004ac: fc5216e3 bne tp,t0,80000478 <test_20+0x8> + +00000000800004b0 <test_21>: + 800004b0: 01500193 li gp,21 + 800004b4: 00000213 li tp,0 + 800004b8: 00002117 auipc sp,0x2 + 800004bc: b4810113 addi sp,sp,-1208 # 80002000 <begin_signature> + 800004c0: 00000013 nop + 800004c4: 11200093 li ra,274 + 800004c8: 00111323 sh ra,6(sp) + 800004cc: 00611f03 lh t5,6(sp) + 800004d0: 11200e93 li t4,274 + 800004d4: 0bdf1063 bne t5,t4,80000574 <fail> + 800004d8: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 800004dc: 00200293 li t0,2 + 800004e0: fc521ce3 bne tp,t0,800004b8 <test_21+0x8> + +00000000800004e4 <test_22>: + 800004e4: 01600193 li gp,22 + 800004e8: 00000213 li tp,0 + 800004ec: 00002117 auipc sp,0x2 + 800004f0: b1410113 addi sp,sp,-1260 # 80002000 <begin_signature> + 800004f4: 00000013 nop + 800004f8: 01100093 li ra,17 + 800004fc: 00000013 nop + 80000500: 00111423 sh ra,8(sp) + 80000504: 00811f03 lh t5,8(sp) + 80000508: 01100e93 li t4,17 + 8000050c: 07df1463 bne t5,t4,80000574 <fail> + 80000510: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 80000514: 00200293 li t0,2 + 80000518: fc521ae3 bne tp,t0,800004ec <test_22+0x8> + +000000008000051c <test_23>: + 8000051c: 01700193 li gp,23 + 80000520: 00000213 li tp,0 + 80000524: 00002117 auipc sp,0x2 + 80000528: adc10113 addi sp,sp,-1316 # 80002000 <begin_signature> + 8000052c: 00000013 nop + 80000530: 00000013 nop + 80000534: 000030b7 lui ra,0x3 + 80000538: 0010809b addiw ra,ra,1 + 8000053c: 00111523 sh ra,10(sp) + 80000540: 00a11f03 lh t5,10(sp) + 80000544: 00003eb7 lui t4,0x3 + 80000548: 001e8e9b addiw t4,t4,1 + 8000054c: 03df1463 bne t5,t4,80000574 <fail> + 80000550: 00120213 addi tp,tp,1 # 1 <_start-0x7fffffff> + 80000554: 00200293 li t0,2 + 80000558: fc5216e3 bne tp,t0,80000524 <test_23+0x8> + 8000055c: 0000c537 lui a0,0xc + 80000560: eef5051b addiw a0,a0,-273 + 80000564: 00002597 auipc a1,0x2 + 80000568: a9c58593 addi a1,a1,-1380 # 80002000 <begin_signature> + 8000056c: 00a59323 sh a0,6(a1) + 80000570: 00301c63 bne zero,gp,80000588 <pass> + +0000000080000574 <fail>: + 80000574: 0ff0000f fence + 80000578: 00018063 beqz gp,80000578 <fail+0x4> + 8000057c: 00119193 slli gp,gp,0x1 + 80000580: 0011e193 ori gp,gp,1 + 80000584: 00000073 ecall + +0000000080000588 <pass>: + 80000588: 0ff0000f fence + 8000058c: 00100193 li gp,1 + 80000590: 00000073 ecall + 80000594: c0001073 unimp + 80000598: 0000 unimp + 8000059a: 0000 unimp + 8000059c: 0000 unimp + 8000059e: 0000 unimp + 800005a0: 0000 unimp + 800005a2: 0000 unimp + 800005a4: 0000 unimp + 800005a6: 0000 unimp + 800005a8: 0000 unimp + 800005aa: 0000 unimp + 800005ac: 0000 unimp + 800005ae: 0000 unimp + 800005b0: 0000 unimp + 800005b2: 0000 unimp + 800005b4: 0000 unimp + 800005b6: 0000 unimp + 800005b8: 0000 unimp + 800005ba: 0000 unimp + 800005bc: 0000 unimp + 800005be: 0000 unimp + 800005c0: 0000 unimp + 800005c2: 0000 unimp + +Disassembly of section .data: + +0000000080002000 <begin_signature>: + 80002000: jal t4,7fffd3ee <_start-0x2c12> + +0000000080002002 <tdat2>: + 80002002: jal t4,7fffd3f0 <_start-0x2c10> + +0000000080002004 <tdat3>: + 80002004: jal t4,7fffd3f2 <_start-0x2c0e> + +0000000080002006 <tdat4>: + 80002006: jal t4,7fffd3f4 <_start-0x2c0c> + +0000000080002008 <tdat5>: + 80002008: jal t4,7fffd3f6 <_start-0x2c0a> + +000000008000200a <tdat6>: + 8000200a: jal t4,7fffd3f8 <_start-0x2c08> + +000000008000200c <tdat7>: + 8000200c: jal t4,7fffd3fa <_start-0x2c06> + +000000008000200e <tdat8>: + 8000200e: jal t4,7fffd3fc <_start-0x2c04> + +0000000080002010 <tdat9>: + 80002010: jal t4,7fffd3fe <_start-0x2c02> + +0000000080002012 <tdat10>: + 80002012: 0000beef jal t4,8000d012 <_end+0xaff2> + 80002016: 0000 unimp + 80002018: 0000 unimp + 8000201a: 0000 unimp + 8000201c: 0000 unimp + 8000201e: 0000 unimp |