Skip to content

Commit 793e636

Browse files
authored
[Headers] Add \returns to _rdpid_u32 (#70481)
Our doc tooling complained about this missing directive.
1 parent 3e6d6f2 commit 793e636

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/lib/Headers/immintrin.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,13 @@
291291

292292
#if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
293293
defined(__RDPID__)
294-
/// Returns the value of the IA32_TSC_AUX MSR (0xc0000103).
294+
/// Reads the value of the IA32_TSC_AUX MSR (0xc0000103).
295295
///
296296
/// \headerfile <immintrin.h>
297297
///
298298
/// This intrinsic corresponds to the <c> RDPID </c> instruction.
299+
///
300+
/// \returns The 32-bit contents of the MSR.
299301
static __inline__ unsigned int __attribute__((__always_inline__, __nodebug__, __target__("rdpid")))
300302
_rdpid_u32(void) {
301303
return __builtin_ia32_rdpid();

0 commit comments

Comments
 (0)