[PATCH] D121586: [Clang][VE] Add the rest of intrinsics to clang

Simon Moll via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 14 06:09:39 PDT 2022


simoll added inline comments.


================
Comment at: clang/include/clang/Basic/BuiltinsVEVL.gen.def:1242
+#if 0
+BUILTIN(__builtin_ve_vl_andm_mmm, "V256bV256bV256b", "n")
+BUILTIN(__builtin_ve_vl_andm_MMM, "V512bV512bV512b", "n")
----------------
Could you comment at the top of this file (i know, again) that the `#if 0`-ed and commented-out parts are because of the missing mask vector type?


================
Comment at: clang/lib/Headers/velintrin.h:65
+
+static inline unsigned long int _vel_pack_i32(int a, int b) {
+  return (((unsigned long int)a) << 32) | (unsigned int)b;
----------------
Is there any particular reason the parameters are signed?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121586



More information about the cfe-commits mailing list