summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Headers/fxsrintrin.h16
-rw-r--r--clang/lib/Headers/mmintrin.h16
2 files changed, 18 insertions, 14 deletions
diff --git a/clang/lib/Headers/fxsrintrin.h b/clang/lib/Headers/fxsrintrin.h
index 6b581c415c1..7ddacf23db9 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 <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/clang/lib/Headers/mmintrin.h b/clang/lib/Headers/mmintrin.h
index cefd6053aa8..f239dc6b691 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)
{
OpenPOWER on IntegriCloud