From: Douglas Yung Date: Fri, 9 Mar 2018 00:38:51 +0000 (+0000) Subject: [DOXYGEN] Fix doxygen and content issues in mmintrin.h X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=260e84dc7cb143af34c0875e487fde18486f5b03;p=clang [DOXYGEN] Fix doxygen and content issues in mmintrin.h - Fix instruction mappings/listings for various intrinsics This patch was made by Craig Flores Differential Revision: https://reviews.llvm.org/D41517 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327090 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Headers/mmintrin.h b/lib/Headers/mmintrin.h index 4b38d51713..102c08fa00 100644 --- a/lib/Headers/mmintrin.h +++ b/lib/Headers/mmintrin.h @@ -52,7 +52,7 @@ _mm_empty(void) /// /// \headerfile /// -/// This intrinsic corresponds to the VMOVD / MOVD instruction. +/// This intrinsic corresponds to the MOVD instruction. /// /// \param __i /// A 32-bit integer value. @@ -69,7 +69,7 @@ _mm_cvtsi32_si64(int __i) /// /// \headerfile /// -/// This intrinsic corresponds to the VMOVD / MOVD instruction. +/// This intrinsic corresponds to the MOVD instruction. /// /// \param __m /// A 64-bit integer vector. @@ -85,7 +85,7 @@ _mm_cvtsi64_si32(__m64 __m) /// /// \headerfile /// -/// This intrinsic corresponds to the VMOVQ / MOVD instruction. +/// This intrinsic corresponds to the MOVQ instruction. /// /// \param __i /// A 64-bit signed integer. @@ -101,7 +101,7 @@ _mm_cvtsi64_m64(long long __i) /// /// \headerfile /// -/// This intrinsic corresponds to the VMOVQ / MOVD instruction. +/// This intrinsic corresponds to the MOVQ instruction. /// /// \param __m /// A 64-bit integer vector. @@ -1289,7 +1289,7 @@ _mm_cmpgt_pi32(__m64 __m1, __m64 __m2) /// /// \headerfile /// -/// This intrinsic corresponds to the VXORPS / XORPS instruction. +/// This intrinsic corresponds to the PXOR instruction. /// /// \returns An initialized 64-bit integer vector with all elements set to zero. static __inline__ __m64 __DEFAULT_FN_ATTRS @@ -1381,7 +1381,8 @@ _mm_set_pi8(char __b7, char __b6, char __b5, char __b4, char __b3, char __b2, /// /// \headerfile /// -/// This intrinsic corresponds to the VPSHUFD / PSHUFD instruction. +/// This intrinsic is a utility function and does not correspond to a specific +/// instruction. /// /// \param __i /// A 32-bit integer value used to initialize each vector element of the @@ -1399,7 +1400,8 @@ _mm_set1_pi32(int __i) /// /// \headerfile /// -/// This intrinsic corresponds to the VPSHUFLW / PSHUFLW instruction. +/// This intrinsic is a utility function and does not correspond to a specific +/// instruction. /// /// \param __w /// A 16-bit integer value used to initialize each vector element of the @@ -1416,8 +1418,8 @@ _mm_set1_pi16(short __w) /// /// \headerfile /// -/// This intrinsic corresponds to the VPUNPCKLBW + VPSHUFLW / PUNPCKLBW + -/// PSHUFLW instruction. +/// This intrinsic is a utility function and does not correspond to a specific +/// instruction. /// /// \param __b /// An 8-bit integer value used to initialize each vector element of the