[clang] [RISCV][clang] Add Zvfbfmin C intrinsics support (PR #79618)

Jim Lin via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 29 19:38:46 PST 2024


================
@@ -1883,6 +1883,12 @@ let Log2LMUL = [-3, -2, -1, 0, 1, 2] in {
   def vfncvt_rtz_x_f_w : RVVConvToNarrowingSignedBuiltin<"vfncvt_rtz_x">;
   def vfncvt_rod_f_f_w : RVVConvBuiltin<"v", "vw", "xf", "vfncvt_rod_f">;
 }
+
+// Zvfbfmin - Vector convert BF16 to FP32
+let Log2LMUL = [-2, -1, 0, 1, 2],
----------------
tclin914 wrote:

Ok, It can't declare a bfloat16 vector without Zvfbfmin extension. Thanks for explanation.

https://github.com/llvm/llvm-project/pull/79618


More information about the cfe-commits mailing list