diff options
author | liweiwei <liweiwei@iscas.ac.cn> | 2021-12-27 11:34:02 +0800 |
---|---|---|
committer | Weiwei Li <liweiwei@iscas.ac.cn> | 2022-01-30 11:33:03 +0800 |
commit | e205ca655c12df1ae0f6f3105bc8a671b049f161 (patch) | |
tree | 5994a35a1995f8dd55aefdf5db2ae00bb61f44f5 /riscv/riscv.mk.in | |
parent | 456913b2c97d55993103594991a7ac73453465f8 (diff) | |
download | spike-e205ca655c12df1ae0f6f3105bc8a671b049f161.zip spike-e205ca655c12df1ae0f6f3105bc8a671b049f161.tar.gz spike-e205ca655c12df1ae0f6f3105bc8a671b049f161.tar.bz2 |
add instructions function for cmo
prefetch.* are hints and share the encoding of ORI with rd = 0. so it can share the implementation of ORI and execute as no-ops
Diffstat (limited to 'riscv/riscv.mk.in')
-rw-r--r-- | riscv/riscv.mk.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/riscv/riscv.mk.in b/riscv/riscv.mk.in index 5601466..075179b 100644 --- a/riscv/riscv.mk.in +++ b/riscv/riscv.mk.in @@ -1260,6 +1260,12 @@ riscv_insn_svinval = \ hinval_vvma \ hinval_gvma \ +riscv_insn_ext_cmo = \ + cbo_clean \ + cbo_flush \ + cbo_inval \ + cbo_zero \ + riscv_insn_list = \ $(riscv_insn_ext_a) \ $(riscv_insn_ext_c) \ @@ -1276,6 +1282,7 @@ riscv_insn_list = \ $(riscv_insn_ext_p) \ $(riscv_insn_priv) \ $(riscv_insn_svinval) \ + $(riscv_insn_ext_cmo) \ riscv_gen_srcs = \ $(addsuffix .cc,$(riscv_insn_list)) |