Skip to content

Commit bc57dfd

Browse files
committed
Refactoring riscv64 ISA tests to make use by multiple cores easier
1 parent e8cb2ec commit bc57dfd

19 files changed

Lines changed: 411 additions & 297 deletions

piton/verif/diag/master_diaglist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
// ifdef SPARCV9
3232
#endif
3333
#ifdef RISCV64
34-
#include "riscv/rv64/master_diaglist_riscv64"
34+
#include "riscv/rv64/diaglist_riscv64"
3535
// ifdef RISCV64
3636
#endif
3737
#ifdef RISCV32
38-
#include "riscv/rv32/master_diaglist_riscv32"
38+
#include "riscv/rv32/diaglist_riscv32"
3939
// ifdef RISCV32
4040
#endif
4141
</all>
File renamed without changes.
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<ariane_tile1 sys=manycore -x_tiles=1 -y_tiles=1 -ariane>
2+
<cmp_default name=default>
3+
// note: these asm tests assume that the RISCV tests have been precompiled with the
4+
// correct environment
5+
<ariane_tile1_asm_tests_p>
6+
<runargs -ariane>
7+
#include "riscv/rv64/rv64ui-p.diaglist"
8+
#include "riscv/rv64/rv64mi-p.diaglist"
9+
#include "riscv/rv64/rv64si-p.diaglist"
10+
#include "riscv/rv64/rv64um-p.diaglist"
11+
</runargs>
12+
</ariane_tile1_asm_tests_p>
13+
14+
// note: these asm tests assume that the RISCV tests have been precompiled with the
15+
// correct environment
16+
<ariane_tile1_asm_tests_v>
17+
<runargs -ariane>
18+
#include "riscv/rv64/rv64ui-v.diaglist"
19+
#include "riscv/rv64/rv64um-v.diaglist"
20+
</runargs>
21+
</ariane_tile1_asm_tests_v>
22+
23+
// note: these asm tests assume that the RISCV tests have been precompiled with the
24+
// correct environment
25+
<ariane_tile1_amo_tests_p>
26+
<runargs -ariane>
27+
#include "riscv/rv64/rv64ua-p.diaglist"
28+
</runargs>
29+
</ariane_tile1_amo_tests_p>
30+
31+
// note: these asm tests assume that the RISCV tests have been precompiled with the
32+
// correct environment
33+
<ariane_tile1_amo_tests_v>
34+
<runargs -ariane>
35+
#include "riscv/rv64/rv64ua-v.diaglist"
36+
</runargs>
37+
</ariane_tile1_amo_tests_v>
38+
39+
// note: these asm tests assume that the RISCV tests have been precompiled with the
40+
// correct environment
41+
<ariane_tile1_fp_tests_p>
42+
<runargs -ariane>
43+
#include "riscv/rv64/rv64uf-p.diaglist"
44+
#include "riscv/rv64/rv64ud-p.diaglist"
45+
</runargs>
46+
</ariane_tile1_fp_tests_p>
47+
48+
// note: these asm tests assume that the RISCV tests have been precompiled with the
49+
// correct environment
50+
<ariane_tile1_fp_tests_v>
51+
<runargs -ariane>
52+
#include "riscv/rv64/rv64uf-v.diaglist"
53+
#include "riscv/rv64/rv64ud-v.diaglist"
54+
</runargs>
55+
</ariane_tile1_fp_tests_v>
56+
57+
// note: these asm tests assume that the RISCV tests have been precompiled with the
58+
// correct environment
59+
<ariane_tile1_benchmarks>
60+
<runargs -ariane>
61+
#include "riscv/rv64/rv64-benchmarks.diaglist"
62+
</runargs>
63+
</ariane_tile1_benchmarks>
64+
65+
<ariane_tile1_simple>
66+
<runargs -x_tiles=1 -y_tiles=1 -ariane -rtl_timeout 1000000>
67+
ariane-hello-world hello_world.c
68+
ariane-accu accu_test.c
69+
ariane-amo-align amo_align.c
70+
</runargs>
71+
</ariane_tile1_simple>
72+
73+
</cmp_default>
74+
</ariane_tile1>
75+
76+
<ariane_tile16 sys=manycore -x_tiles=4 -y_tiles=4 -ariane>
77+
<cmp_default name=default>
78+
<ariane_tile16_simple>
79+
<runargs -x_tiles=4 -y_tiles=4 hello_world.c -ariane -finish_mask=1111111111111111 -rtl_timeout 10000000>
80+
ariane-hello-world-many hello_world_many.c
81+
</runargs>
82+
</ariane_tile16_simple>
83+
</cmp_default>
84+
</ariane_tile16>

piton/verif/diag/riscv/rv64/master_diaglist_riscv64

Lines changed: 0 additions & 295 deletions
This file was deleted.

0 commit comments

Comments
 (0)