aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Gouriou <ego@rivosinc.com>2023-05-31 13:57:31 -0700
committerEric Gouriou <ego@rivosinc.com>2023-06-19 14:28:39 -0700
commit377fb0a11b8ccc28f7d1687523b7d79403e26453 (patch)
tree9bbfd0e9d4237e3276af168252c3fe090f8fcd11
parent8b10de64dd2048e813438dbb5e4ed24d09feb8eb (diff)
downloadriscv-isa-sim-377fb0a11b8ccc28f7d1687523b7d79403e26453.zip
riscv-isa-sim-377fb0a11b8ccc28f7d1687523b7d79403e26453.tar.gz
riscv-isa-sim-377fb0a11b8ccc28f7d1687523b7d79403e26453.tar.bz2
List extensions alphabetically in riscv_insn_list
The previous order lacks any obvious logic. Alphabetical order, while making it difficult to create interesting groupings, makes it easy to find which extensions are compiled in. Signed-off-by: Eric Gouriou <ego@rivosinc.com>
-rw-r--r--riscv/riscv.mk.in32
1 files changed, 16 insertions, 16 deletions
diff --git a/riscv/riscv.mk.in b/riscv/riscv.mk.in
index 6472982..3b493a0 100644
--- a/riscv/riscv.mk.in
+++ b/riscv/riscv.mk.in
@@ -1341,31 +1341,31 @@ riscv_insn_ext_zacas = \
$(if $(HAVE_INT128),amocas_q)
riscv_insn_list = \
+ $(if $(HAVE_INT128),$(riscv_insn_ext_v),) \
$(riscv_insn_ext_a) \
+ $(riscv_insn_ext_b) \
+ $(riscv_insn_ext_bf16) \
$(riscv_insn_ext_c) \
- $(riscv_insn_ext_i) \
- $(riscv_insn_ext_m) \
- $(riscv_insn_ext_f) \
- $(riscv_insn_ext_f_zfa) \
+ $(riscv_insn_ext_cmo) \
$(riscv_insn_ext_d) \
$(riscv_insn_ext_d_zfa) \
- $(riscv_insn_ext_zfh) \
- $(riscv_insn_ext_zfh_zfa) \
+ $(riscv_insn_ext_f) \
+ $(riscv_insn_ext_f_zfa) \
+ $(riscv_insn_ext_h) \
+ $(riscv_insn_ext_i) \
+ $(riscv_insn_ext_k) \
+ $(riscv_insn_ext_m) \
+ $(riscv_insn_ext_p) \
$(riscv_insn_ext_q) \
$(riscv_insn_ext_q_zfa) \
- $(riscv_insn_ext_b) \
- $(riscv_insn_ext_k) \
- $(if $(HAVE_INT128),$(riscv_insn_ext_v),) \
+ $(riscv_insn_ext_zacas) \
$(riscv_insn_ext_zce) \
- $(riscv_insn_ext_h) \
- $(riscv_insn_ext_p) \
+ $(riscv_insn_ext_zfh) \
+ $(riscv_insn_ext_zfh_zfa) \
+ $(riscv_insn_ext_zicond) \
$(riscv_insn_priv) \
- $(riscv_insn_svinval) \
$(riscv_insn_smrnmi) \
- $(riscv_insn_ext_cmo) \
- $(riscv_insn_ext_zicond) \
- $(riscv_insn_ext_bf16) \
- $(riscv_insn_ext_zacas) \
+ $(riscv_insn_svinval) \
riscv_gen_srcs = $(addsuffix .cc,$(riscv_insn_list))