[PATCH] D150114: [Headers][doc] Add "add/sub/mul" intrinsic descriptions to avx2intrin.h

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 15 17:12:46 PDT 2023


craig.topper added inline comments.


================
Comment at: clang/lib/Headers/avx2intrin.h:156
+///    A 256-bit vector containing one of the source operands.
+/// \returns A 256-bit vector containing the sums.
 static __inline__ __m256i __DEFAULT_FN_ATTRS256
----------------
Why do some return descriptions include the type like [4 x i64] but some don't?


================
Comment at: clang/lib/Headers/avx2intrin.h:1050
+/// \param __a
+///    A 256-bit vector containing the subtrahends.
+/// \param __b
----------------
I think minuend and subtrahend are swapped here.


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

https://reviews.llvm.org/D150114



More information about the cfe-commits mailing list