summaryrefslogtreecommitdiffstats
path: root/lib/Headers
diff options
context:
space:
mode:
authorEkaterina Romanova <katya_romanova@playstation.sony.com>2016-12-08 23:32:07 +0000
committerEkaterina Romanova <katya_romanova@playstation.sony.com>2016-12-08 23:32:07 +0000
commitce61c6eb6b1b8b71ddc55d4fb5eb0c8226ece9d8 (patch)
tree870ae0e7823caf65bdb1a64684036c246c4644a6 /lib/Headers
parent6d02edb8e3891605db0f47c53deaef934e702e4e (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers')
-rw-r--r--lib/Headers/fxsrintrin.h16
-rw-r--r--lib/Headers/mmintrin.h16
2 files changed, 18 insertions, 14 deletions
diff --git a/lib/Headers/fxsrintrin.h b/lib/Headers/fxsrintrin.h
index 6b581c415c..7ddacf23db 100644
--- a/lib/Headers/fxsrintrin.h
+++ b/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 <x86intrin.h>
///
@@ -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 <x86intrin.h>
///
@@ -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 <x86intrin.h>
///
@@ -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 <x86intrin.h>
///
diff --git a/lib/Headers/mmintrin.h b/lib/Headers/mmintrin.h
index cefd6053aa..f239dc6b69 100644
--- a/lib/Headers/mmintrin.h
+++ b/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)
{