-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmakefile
35 lines (27 loc) · 1.39 KB
/
makefile
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
RVV_BASE_VER = v10
download: download-x86 download-arm download-riscv
download-x86: data/intel_intrinsics-2.xml data/intel_perf2-1.js
download-arm: data/arm_intrinsics-1.json data/arm_operations-1.json
download-riscv: data/rvv-intrinsics-$(RVV_BASE_VER).json data/v-spec.html data/riscv-crypto-spec-vector.html
DOWNLOAD = curl -L -o
data/intel_perf2-1.js:
mkdir -p data
$(DOWNLOAD) "$@" 'https://www.intel.com/content/dam/develop/public/us/en/include/intrinsics-guide/perf2.js'
data/intel_intrinsics-2.xml:
mkdir -p data
$(DOWNLOAD) "$@" 'https://www.intel.com/content/dam/develop/public/us/en/include/intrinsics-guide/data-3-6-9.xml'
data/arm_intrinsics-1.json:
mkdir -p data
$(DOWNLOAD) "$@" 'https://developer.arm.com/architectures/instruction-sets/intrinsics/data/intrinsics.json'
data/arm_operations-1.json:
mkdir -p data
$(DOWNLOAD) "$@" 'https://developer.arm.com/architectures/instruction-sets/intrinsics/data/operations.json'
data/rvv-intrinsics-$(RVV_BASE_VER).json:
mkdir -p data
$(DOWNLOAD) "$@" 'https://github.com/dzaima/rvv-intrinsic-doc/releases/download/$(RVV_BASE_VER)/rvv-intrinsics-$(RVV_BASE_VER).json'
data/v-spec.html:
mkdir -p data
$(DOWNLOAD) "$@" 'https://github.com/dzaima/riscv-v-spec/releases/download/v1/v-spec.html'
data/riscv-crypto-spec-vector.html:
mkdir -p data
$(DOWNLOAD) "$@" 'https://github.com/dzaima/riscv-v-spec/releases/download/v1/riscv-crypto-spec-vector.html'