-
Notifications
You must be signed in to change notification settings - Fork 4
/
build-tests.sh
executable file
·37 lines (30 loc) · 1.54 KB
/
build-tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
set -ex
cd riscv-vector-tests
rm -rf out/
make MODE=machine VLEN=256 XLEN=64 SPLIT=50000 TEST_MODE="cosim" generate-stage1
make MODE=machine VLEN=256 XLEN=64 SPLIT=50000 TEST_MODE="cosim" all -j72
rm -rf out/v256x64machine/bin/stage2/vfredusum*
rm -rf out/v256x64machine/bin/stage2/vfwredusum*
rm -rf out/v256x64machine/bin/stage2/vaes*
rm -rf out/v256x64machine/bin/stage2/vsha*
rm -rf out/v256x64machine/bin/stage2/vsm3*
rm -rf out/v256x64machine/bin/stage2/vsm4*
rm -rf out/v256x64machine/bin/stage2/vclmul*
rm -rf out/v256x64machine/bin/stage2/vghsh*
rm -rf out/v256x64machine/bin/stage2/vgmul*
make MODE=virtual VLEN=256 XLEN=64 SPLIT=6000 TEST_MODE="cosim" PATTERN='^v[ls].+\.v$' generate-stage1
make MODE=virtual VLEN=256 XLEN=64 SPLIT=6000 TEST_MODE="cosim" PATTERN='^v[ls].+\.v$' all -j72
make MODE=machine VLEN=128 XLEN=64 SPLIT=50000 TEST_MODE="cosim" generate-stage1
make MODE=machine VLEN=128 XLEN=64 SPLIT=50000 TEST_MODE="cosim" all -j72
rm -rf out/v128x64machine/bin/stage2/vfredusum*
rm -rf out/v128x64machine/bin/stage2/vfwredusum*
rm -rf out/v128x64machine/bin/stage2/vaes*
rm -rf out/v128x64machine/bin/stage2/vsha*
rm -rf out/v128x64machine/bin/stage2/vsm3*
rm -rf out/v128x64machine/bin/stage2/vsm4*
rm -rf out/v128x64machine/bin/stage2/vclmul*
rm -rf out/v128x64machine/bin/stage2/vghsh*
rm -rf out/v128x64machine/bin/stage2/vgmul*
make MODE=virtual VLEN=128 XLEN=64 SPLIT=6000 TEST_MODE="cosim" PATTERN='^v[ls].+\.v$' generate-stage1
make MODE=virtual VLEN=128 XLEN=64 SPLIT=6000 TEST_MODE="cosim" PATTERN='^v[ls].+\.v$' all -j72