From 3ff34f2b9c44648397f4930d5e168abd174c390c Mon Sep 17 00:00:00 2001 From: Weiwei Li Date: Fri, 14 Apr 2023 22:44:31 +0800 Subject: Add support for new instructions of Zfbfmin extension --- riscv/riscv.mk.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'riscv/riscv.mk.in') diff --git a/riscv/riscv.mk.in b/riscv/riscv.mk.in index 561e197..19de2b8 100644 --- a/riscv/riscv.mk.in +++ b/riscv/riscv.mk.in @@ -1354,8 +1354,15 @@ riscv_insn_ext_cmo = \ cbo_zero \ riscv_insn_ext_zicond = \ - czero_eqz \ - czero_nez \ + czero_eqz \ + czero_nez \ + +riscv_insn_ext_zfbfmin = \ + fcvt_bf16_s \ + fcvt_s_bf16 \ + +riscv_insn_ext_bf16 = \ + $(riscv_insn_ext_zfbfmin) \ riscv_insn_list = \ $(riscv_insn_ext_a) \ @@ -1381,6 +1388,7 @@ riscv_insn_list = \ $(riscv_insn_smrnmi) \ $(riscv_insn_ext_cmo) \ $(riscv_insn_ext_zicond) \ + $(riscv_insn_ext_bf16) \ riscv_gen_srcs = $(addsuffix .cc,$(riscv_insn_list)) -- cgit v1.1