File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ifeq ($(BUILD_HFLOAT16), 1)
1111RISCV64_OPT := $(RISCV64_OPT)_zvfh_zfh
1212endif
1313ifeq ($(BUILD_BFLOAT16), 1)
14- RISCV64_OPT := $(RISCV64_OPT)_zfbfmin_zvfbfmin_zvfbfwma
14+ RISCV64_OPT := $(RISCV64_OPT)_zvfbfwma
1515endif
1616ifeq ($(CORE), RISCV64_ZVL256B)
1717CCOMMON_OPT += -march=$(RISCV64_OPT)_zvl256b -mabi=lp64d
Original file line number Diff line number Diff line change @@ -99,8 +99,6 @@ struct riscv_hwprobe {
9999#define RISCV_HWPROBE_IMA_V (1 << 2)
100100#define RISCV_HWPROBE_EXT_ZFH (1 << 27)
101101#define RISCV_HWPROBE_EXT_ZVFH (1 << 30)
102- #define RISCV_HWPROBE_EXT_ZFBFMIN (1 << 52)
103- #define RISCV_HWPROBE_EXT_ZVFBFMIN (1 << 53)
104102#define RISCV_HWPROBE_EXT_ZVFBFWMA (1 << 54)
105103
106104#ifndef NR_riscv_hwprobe
@@ -174,7 +172,7 @@ static gotoblas_t* get_coretype(void) {
174172#if defined(BUILD_HFLOAT16 )
175173 vector_mask = (RISCV_HWPROBE_IMA_V | RISCV_HWPROBE_EXT_ZFH | RISCV_HWPROBE_EXT_ZVFH );
176174#elif defined(BUILD_BFLOAT16 )
177- vector_mask = (RISCV_HWPROBE_IMA_V | RISCV_HWPROBE_EXT_ZFBFMIN | RISCV_HWPROBE_EXT_ZVFBFMIN | RISCV_HWPROBE_EXT_ZVFBFWMA );
175+ vector_mask = (RISCV_HWPROBE_IMA_V | RISCV_HWPROBE_EXT_ZVFBFWMA );
178176#else
179177 vector_mask = RISCV_HWPROBE_IMA_V ;
180178#endif
You can’t perform that action at this time.
0 commit comments