Skip to content

Commit c1b311b

Browse files
committed
Refresh to latest tests from riscv-tests. The 32-bit -v- elfs still seem broken to linksem.
1 parent dee912a commit c1b311b

File tree

471 files changed

+4828
-3176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

471 files changed

+4828
-3176
lines changed
0 Bytes
Binary file not shown.

test/riscv-tests/rv32mi-p-csr.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32mi-p-illegal.dump

+47-48
Original file line numberDiff line numberDiff line change
@@ -257,54 +257,53 @@ Disassembly of section .text.init:
257257
80000344: 342022f3 csrr t0,mcause
258258
80000348: ea629ee3 bne t0,t1,80000204 <fail>
259259
8000034c: 341022f3 csrr t0,mepc
260-
80000350: 343023f3 csrr t2,mbadaddr
261-
80000354: 00038c63 beqz t2,8000036c <synchronous_exception+0x2c>
262-
80000358: 0002de03 lhu t3,0(t0)
263-
8000035c: 0022de83 lhu t4,2(t0)
264-
80000360: 010e9e93 slli t4,t4,0x10
265-
80000364: 01de6e33 or t3,t3,t4
266-
80000368: e9c39ee3 bne t2,t3,80000204 <fail>
267-
8000036c: 00000317 auipc t1,0x0
268-
80000370: da030313 addi t1,t1,-608 # 8000010c <bad2>
269-
80000374: 04628e63 beq t0,t1,800003d0 <synchronous_exception+0x90>
270-
80000378: 00000317 auipc t1,0x0
271-
8000037c: e1c30313 addi t1,t1,-484 # 80000194 <bad3>
272-
80000380: 04628e63 beq t0,t1,800003dc <synchronous_exception+0x9c>
273-
80000384: 00000317 auipc t1,0x0
274-
80000388: e1830313 addi t1,t1,-488 # 8000019c <bad4>
275-
8000038c: 04628263 beq t0,t1,800003d0 <synchronous_exception+0x90>
276-
80000390: 00000317 auipc t1,0x0
277-
80000394: e1c30313 addi t1,t1,-484 # 800001ac <bad5>
278-
80000398: 04628863 beq t0,t1,800003e8 <synchronous_exception+0xa8>
279-
8000039c: 00000317 auipc t1,0x0
280-
800003a0: e1830313 addi t1,t1,-488 # 800001b4 <bad6>
281-
800003a4: 02628663 beq t0,t1,800003d0 <synchronous_exception+0x90>
282-
800003a8: 00000317 auipc t1,0x0
283-
800003ac: e1430313 addi t1,t1,-492 # 800001bc <bad7>
284-
800003b0: 02628063 beq t0,t1,800003d0 <synchronous_exception+0x90>
285-
800003b4: 00000317 auipc t1,0x0
286-
800003b8: e3030313 addi t1,t1,-464 # 800001e4 <bad8>
287-
800003bc: 02628c63 beq t0,t1,800003f4 <synchronous_exception+0xb4>
288-
800003c0: 00000317 auipc t1,0x0
289-
800003c4: e3830313 addi t1,t1,-456 # 800001f8 <bad9>
290-
800003c8: 02628c63 beq t0,t1,80000400 <synchronous_exception+0xc0>
291-
800003cc: e39ff06f j 80000204 <fail>
292-
800003d0: 00828293 addi t0,t0,8
293-
800003d4: 34129073 csrw mepc,t0
294-
800003d8: 30200073 mret
295-
800003dc: 00200337 lui t1,0x200
296-
800003e0: 30032073 csrs mstatus,t1
297-
800003e4: fedff06f j 800003d0 <synchronous_exception+0x90>
298-
800003e8: 00100337 lui t1,0x100
299-
800003ec: 30032073 csrs mstatus,t1
300-
800003f0: fe1ff06f j 800003d0 <synchronous_exception+0x90>
301-
800003f4: 00400337 lui t1,0x400
302-
800003f8: 30032073 csrs mstatus,t1
303-
800003fc: fd5ff06f j 800003d0 <synchronous_exception+0x90>
304-
80000400: fd1ff06f j 800003d0 <synchronous_exception+0x90>
305-
80000404: c0001073 unimp
306-
80000408: 0000 unimp
307-
8000040a: 0000 unimp
260+
80000350: 343023f3 csrr t2,mtval
261+
80000354: 00038e63 beqz t2,80000370 <synchronous_exception+0x30>
262+
80000358: 0002d303 lhu t1,0(t0)
263+
8000035c: 0063c3b3 xor t2,t2,t1
264+
80000360: 0022d303 lhu t1,2(t0)
265+
80000364: 01031313 slli t1,t1,0x10
266+
80000368: 0063c3b3 xor t2,t2,t1
267+
8000036c: e8039ce3 bnez t2,80000204 <fail>
268+
80000370: 00000317 auipc t1,0x0
269+
80000374: d9c30313 addi t1,t1,-612 # 8000010c <bad2>
270+
80000378: 04628e63 beq t0,t1,800003d4 <synchronous_exception+0x94>
271+
8000037c: 00000317 auipc t1,0x0
272+
80000380: e1830313 addi t1,t1,-488 # 80000194 <bad3>
273+
80000384: 04628e63 beq t0,t1,800003e0 <synchronous_exception+0xa0>
274+
80000388: 00000317 auipc t1,0x0
275+
8000038c: e1430313 addi t1,t1,-492 # 8000019c <bad4>
276+
80000390: 04628263 beq t0,t1,800003d4 <synchronous_exception+0x94>
277+
80000394: 00000317 auipc t1,0x0
278+
80000398: e1830313 addi t1,t1,-488 # 800001ac <bad5>
279+
8000039c: 04628863 beq t0,t1,800003ec <synchronous_exception+0xac>
280+
800003a0: 00000317 auipc t1,0x0
281+
800003a4: e1430313 addi t1,t1,-492 # 800001b4 <bad6>
282+
800003a8: 02628663 beq t0,t1,800003d4 <synchronous_exception+0x94>
283+
800003ac: 00000317 auipc t1,0x0
284+
800003b0: e1030313 addi t1,t1,-496 # 800001bc <bad7>
285+
800003b4: 02628063 beq t0,t1,800003d4 <synchronous_exception+0x94>
286+
800003b8: 00000317 auipc t1,0x0
287+
800003bc: e2c30313 addi t1,t1,-468 # 800001e4 <bad8>
288+
800003c0: 02628c63 beq t0,t1,800003f8 <synchronous_exception+0xb8>
289+
800003c4: 00000317 auipc t1,0x0
290+
800003c8: e3430313 addi t1,t1,-460 # 800001f8 <bad9>
291+
800003cc: 02628c63 beq t0,t1,80000404 <synchronous_exception+0xc4>
292+
800003d0: e35ff06f j 80000204 <fail>
293+
800003d4: 00828293 addi t0,t0,8
294+
800003d8: 34129073 csrw mepc,t0
295+
800003dc: 30200073 mret
296+
800003e0: 00200337 lui t1,0x200
297+
800003e4: 30032073 csrs mstatus,t1
298+
800003e8: fedff06f j 800003d4 <synchronous_exception+0x94>
299+
800003ec: 00100337 lui t1,0x100
300+
800003f0: 30032073 csrs mstatus,t1
301+
800003f4: fe1ff06f j 800003d4 <synchronous_exception+0x94>
302+
800003f8: 00400337 lui t1,0x400
303+
800003fc: 30032073 csrs mstatus,t1
304+
80000400: fd5ff06f j 800003d4 <synchronous_exception+0x94>
305+
80000404: fd1ff06f j 800003d4 <synchronous_exception+0x94>
306+
80000408: c0001073 unimp
308307
8000040c: 0000 unimp
309308
8000040e: 0000 unimp
310309
80000410: 0000 unimp

test/riscv-tests/rv32mi-p-illegal.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32mi-p-ma_addr.dump

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Disassembly of section .text.init:
193193
800002b0 <mtvec_handler>:
194194
800002b0: 342022f3 csrr t0,mcause
195195
800002b4: fc929ce3 bne t0,s1,8000028c <fail>
196-
800002b8: 343022f3 csrr t0,mbadaddr
196+
800002b8: 343022f3 csrr t0,mtval
197197
800002bc: fc6298e3 bne t0,t1,8000028c <fail>
198198
800002c0: 00028283 lb t0,0(t0)
199199
800002c4: fc0284e3 beqz t0,8000028c <fail>

test/riscv-tests/rv32mi-p-ma_addr.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32mi-p-ma_fetch.dump

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Disassembly of section .text.init:
179179
8000025c: 341025f3 csrr a1,mepc
180180
80000260: 00458593 addi a1,a1,4
181181
80000264: fab292e3 bne t0,a1,80000208 <fail>
182-
80000268: 34302573 csrr a0,mbadaddr
182+
80000268: 34302573 csrr a0,mtval
183183
8000026c: 00050663 beqz a0,80000278 <mtvec_handler+0x50>
184184
80000270: ffe50513 addi a0,a0,-2
185185
80000274: f8551ae3 bne a0,t0,80000208 <fail>
0 Bytes
Binary file not shown.

test/riscv-tests/rv32mi-p-mcsr.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32mi-p-sbreak.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32mi-p-scall.dump

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Disassembly of section .text.init:
8484
80000110: 000022b7 lui t0,0x2
8585
80000114: 80028293 addi t0,t0,-2048 # 1800 <_start-0x7fffe800>
8686
80000118: 3002b073 csrc mstatus,t0
87-
8000011c: 30002373 csrr t1,mstatus
88-
80000120: 0062f2b3 and t0,t0,t1
87+
8000011c: 300023f3 csrr t2,mstatus
88+
80000120: 0072f2b3 and t0,t0,t2
8989
80000124: 00028463 beqz t0,8000012c <reset_vector+0xe0>
9090
80000128: 00b00313 li t1,11
9191
8000012c: 000022b7 lui t0,0x2

test/riscv-tests/rv32mi-p-scall.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32mi-p-shamt.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32si-p-csr.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32si-p-dirty.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32si-p-ma_fetch.dump

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Disassembly of section .text.init:
157157
80000208: 141025f3 csrr a1,sepc
158158
8000020c: 00458593 addi a1,a1,4
159159
80000210: fab292e3 bne t0,a1,800001b4 <fail>
160-
80000214: 14302573 csrr a0,sbadaddr
160+
80000214: 14302573 csrr a0,stval
161161
80000218: 00050663 beqz a0,80000224 <stvec_handler+0x50>
162162
8000021c: ffe50513 addi a0,a0,-2
163163
80000220: f8551ae3 bne a0,t0,800001b4 <fail>
0 Bytes
Binary file not shown.

test/riscv-tests/rv32si-p-sbreak.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32si-p-scall.elf

0 Bytes
Binary file not shown.

test/riscv-tests/rv32si-p-wfi.elf

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

test/riscv-tests/rv32ua-p-amoor_w.elf

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)