[clang] [llvm] [WebAssembly] Add intrinsics to wasm_simd128.h for all FP16 instructions (PR #106465)

Brendan Dahl via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 28 16:01:57 PDT 2024


================
@@ -165,8 +165,9 @@ def F16x8 : Vec {
  let prefix = "f16x8";
 }
 
-// TODO: Include F16x8 here when half precision is better supported.
-defvar AllVecs = [I8x16, I16x8, I32x4, I64x2, F32x4, F64x2];
+// TODO: Remove StdVecs when the F16x8 works every where StdVecs is used.
----------------
brendandahl wrote:

It's not obvious from this patch, but now `AllVecs` is only used in one place for bitcast (which means it now works for f16x8 vectors too).

Alternatively, I can leave `AllVecs` alone and just concat F16x8 down where bitcast is supported.

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


More information about the cfe-commits mailing list