forked from pulp-platform/riscv-opcodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.mk
44 lines (33 loc) · 1.48 KB
/
config.mk
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
38
39
40
41
42
43
44
# pre-defined extensions
# RV32IMA := opcodes-rv32i opcodes-rv32m opcodes-rv32a opcodes-system
# XPULPIMG
# Branching
RV32XPULPIMG := opcodes-xpulpbr_CUSTOM
RV32XPULPIMG += opcodes-xpulphwloop_CUSTOM
# Comparison
RV32XPULPIMG += opcodes-xpulpslet_CUSTOM
# Bit Twiddle
RV32XPULPIMG += opcodes-xpulpbitop_CUSTOM
RV32XPULPIMG += opcodes-xpulbitrev_CUSTOM
# RV32XPULPIMG += opcodes-xpulpbitopsmall_CUSTOM #is a subset of opcodes-xpulpbitop_CUSTOM
# Load/Store
# RV32XPULPIMG += opcodes-xpulppostmod_CUSTOM #conflict with opcodes-ssr_CUSTOM
# Arithmetic
RV32XPULPIMG += opcodes-xpulpabs_CUSTOM
RV32XPULPIMG += opcodes-xpulpclip_CUSTOM
RV32XPULPIMG += opcodes-xpulpminmax_CUSTOM
RV32XPULPIMG += opcodes-xpulpmacsi_CUSTOM
RV32XPULPIMG += opcodes-xpulppartmac_CUSTOM # subset of xpulpmacrnhi (declared as pseudo instructions)
# Arithmetic with round and norm
RV32XPULPIMG += opcodes-xpulpaddsubrn_CUSTOM
RV32XPULPIMG += opcodes-xpulpmulrnhi_CUSTOM
RV32XPULPIMG += opcodes-xpulpmacrnhi_CUSTOM
# Packed SIMD
RV32XPULPIMG += opcodes-xpulpvect_CUSTOM
RV32XPULPIMG += opcodes-xpulpvectcomplex_CUSTOM
RV32XPULPIMG += opcodes-xpulpvectshufflepack_CUSTOM
# Snitch
SNITCH_OPCODES := opcodes-dma_CUSTOM opcodes-frep_CUSTOM opcodes-ssr_CUSTOM
# default configurations
MEMPOOL_ISA := opcodes-frep_CUSTOM $(RV32XPULPIMG) opcodes-xpulppostmod_CUSTOM opcodes-rv32d-zfh_DRAFT opcodes-rv32q-zfh_DRAFT opcodes-rv32zfh_DRAFT opcodes-rv64zfh_DRAFT opcodes-sflt_CUSTOM
SNITCH_ISA := $(RV32XPULPIMG) $(SNITCH_OPCODES) opcodes-sflt_CUSTOM