Skip to content

Commit 65e41ba

Browse files
authored
Merge pull request #2160 from chihminchao/fix-zvfbfmin-with-zvfbfa
zvfbfmin: fix contraint with zvfbfa
2 parents 88edb8b + 12f13d0 commit 65e41ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

riscv/insns/vfncvtbf16_f_f_w.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ VI_VFP_NCVT_FP_BF16_OFP8(
55
}, // BODY16
66
{ vd = f32_to_bf16(vs2); }, // BODY32
77
{ require(p->extension_enabled(EXT_ZVFOFP8MIN)); }, // CHECK16
8-
{ require_zvfbfa; require(p->extension_enabled(EXT_ZVFBFMIN)); } // CHECK32
8+
{ require_extension(EXT_ZVFBFMIN); } // CHECK32
99
)

riscv/insns/vfwcvtbf16_f_f_v.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ VI_VFP_WCVT_OFP8_BF16_FP(
33
{ vd = P.VU.altfmt ? e5m2_to_bf16(vs2) : e4m3_to_bf16(vs2); }, // BODY8
44
{ vd = bf16_to_f32(vs2); }, // BODY16
55
{ require(p->extension_enabled(EXT_ZVFOFP8MIN)); }, // CHECK8
6-
{ require_zvfbfa_or_zvfhmin; } // CHECK16
6+
{ require_extension(EXT_ZVFBFMIN); } // CHECK16
77
)

0 commit comments

Comments
 (0)