[PATCH] D99669: [RISCV][Clang] Add more RVV Floating-Point intrinsic functions.

Hsiangkai Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 6 00:21:22 PDT 2021


HsiangKai added inline comments.


================
Comment at: clang/include/clang/Basic/riscv_vector.td:315
+multiclass RVVFloatingWidenTerBuiltinSet {
+  let HasMaskedOffOperand = false, Log2LMUL = [-2, -1, 0, 1, 2] in {
+    defm "" : RVVOutOp1Op2BuiltinSet<NAME, "f",
----------------
why is there not -3 in Log2LMUL?


================
Comment at: clang/include/clang/Basic/riscv_vector.td:809
 // 14.5. Vector Widening Floating-Point Multiply
-// TODO
+let Log2LMUL = [-2, -1, 0, 1, 2] in {
+  defm vfwmul : RVVOutOp0Op1BuiltinSet<"vfwmul", "f",
----------------
ditto.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99669/new/

https://reviews.llvm.org/D99669



More information about the cfe-commits mailing list