From: Ekaterina Romanova Date: Thu, 8 Dec 2016 23:32:07 +0000 (+0000) Subject: [DOXYGEN] Improved doxygen comments. X-Git-Tag: llvmorg-4.0.0-rc1~2575 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3494a597e9b617cfe676c4a9aae3c88387ede42e;p=platform%2Fupstream%2Fllvm.git [DOXYGEN] Improved doxygen comments. Improved doxygen comments for fxsrintrin.h and mmintrin.h intrinsics by taagging parameter names with \a doxygen command to display parameters in italics. Formatted comments to fit into 80 chars. llvm-svn: 289154 --- diff --git a/clang/lib/Headers/fxsrintrin.h b/clang/lib/Headers/fxsrintrin.h index 6b581c4..7ddacf2 100644 --- a/clang/lib/Headers/fxsrintrin.h +++ b/clang/lib/Headers/fxsrintrin.h @@ -31,7 +31,7 @@ #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("fxsr"))) /// \brief Saves the XMM, MMX, MXCSR and x87 FPU registers into a 512-byte -/// memory region pointed to by the input parameter __p. +/// memory region pointed to by the input parameter \a __p. /// /// \headerfile /// @@ -47,9 +47,9 @@ _fxsave(void *__p) } /// \brief Restores the XMM, MMX, MXCSR and x87 FPU registers from the 512-byte -/// memory region pointed to by the input parameter __p. The contents of this -/// memory region should have been written to by a previous _fxsave or -/// _fxsave64 intrinsic. +/// memory region pointed to by the input parameter \a __p. The contents of +/// this memory region should have been written to by a previous \c _fxsave +/// or \c _fxsave64 intrinsic. /// /// \headerfile /// @@ -66,7 +66,7 @@ _fxrstor(void *__p) #ifdef __x86_64__ /// \brief Saves the XMM, MMX, MXCSR and x87 FPU registers into a 512-byte -/// memory region pointed to by the input parameter__p. +/// memory region pointed to by the input parameter \a __p. /// /// \headerfile /// @@ -82,9 +82,9 @@ _fxsave64(void *__p) } /// \brief Restores the XMM, MMX, MXCSR and x87 FPU registers from the 512-byte -/// memory region pointed to by the input parameter __p. The contents of this -/// memory region should have been written to by a previous _fxsave or -/// _fxsave64 intrinsic. +/// memory region pointed to by the input parameter \a __p. The contents of +/// this memory region should have been written to by a previous \c _fxsave +/// or \c _fxsave64 intrinsic. /// /// \headerfile /// diff --git a/clang/lib/Headers/mmintrin.h b/clang/lib/Headers/mmintrin.h index cefd605..f239dc6 100644 --- a/clang/lib/Headers/mmintrin.h +++ b/clang/lib/Headers/mmintrin.h @@ -734,7 +734,8 @@ _mm_mullo_pi16(__m64 __m1, __m64 __m2) /// \param __count /// A 64-bit integer vector interpreted as a single 64-bit integer. /// \returns A 64-bit integer vector of [4 x i16] containing the left-shifted -/// values. If __count is greater or equal to 16, the result is set to all 0. +/// values. If \a __count is greater or equal to 16, the result is set to all +/// 0. static __inline__ __m64 __DEFAULT_FN_ATTRS _mm_sll_pi16(__m64 __m, __m64 __count) { @@ -755,7 +756,8 @@ _mm_sll_pi16(__m64 __m, __m64 __count) /// \param __count /// A 32-bit integer value. /// \returns A 64-bit integer vector of [4 x i16] containing the left-shifted -/// values. If __count is greater or equal to 16, the result is set to all 0. +/// values. If \a __count is greater or equal to 16, the result is set to all +/// 0. static __inline__ __m64 __DEFAULT_FN_ATTRS _mm_slli_pi16(__m64 __m, int __count) { @@ -777,7 +779,8 @@ _mm_slli_pi16(__m64 __m, int __count) /// \param __count /// A 64-bit integer vector interpreted as a single 64-bit integer. /// \returns A 64-bit integer vector of [2 x i32] containing the left-shifted -/// values. If __count is greater or equal to 32, the result is set to all 0. +/// values. If \a __count is greater or equal to 32, the result is set to all +/// 0. static __inline__ __m64 __DEFAULT_FN_ATTRS _mm_sll_pi32(__m64 __m, __m64 __count) { @@ -798,7 +801,8 @@ _mm_sll_pi32(__m64 __m, __m64 __count) /// \param __count /// A 32-bit integer value. /// \returns A 64-bit integer vector of [2 x i32] containing the left-shifted -/// values. If __count is greater or equal to 32, the result is set to all 0. +/// values. If \a __count is greater or equal to 32, the result is set to all +/// 0. static __inline__ __m64 __DEFAULT_FN_ATTRS _mm_slli_pi32(__m64 __m, int __count) { @@ -818,7 +822,7 @@ _mm_slli_pi32(__m64 __m, int __count) /// \param __count /// A 64-bit integer vector interpreted as a single 64-bit integer. /// \returns A 64-bit integer vector containing the left-shifted value. If -/// __count is greater or equal to 64, the result is set to 0. +/// \a __count is greater or equal to 64, the result is set to 0. static __inline__ __m64 __DEFAULT_FN_ATTRS _mm_sll_si64(__m64 __m, __m64 __count) { @@ -838,7 +842,7 @@ _mm_sll_si64(__m64 __m, __m64 __count) /// \param __count /// A 32-bit integer value. /// \returns A 64-bit integer vector containing the left-shifted value. If -/// __count is greater or equal to 64, the result is set to 0. +/// \a __count is greater or equal to 64, the result is set to 0. static __inline__ __m64 __DEFAULT_FN_ATTRS _mm_slli_si64(__m64 __m, int __count) {