We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e6d6f2 commit 793e636Copy full SHA for 793e636
clang/lib/Headers/immintrin.h
@@ -291,11 +291,13 @@
291
292
#if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) || \
293
defined(__RDPID__)
294
-/// Returns the value of the IA32_TSC_AUX MSR (0xc0000103).
+/// Reads the value of the IA32_TSC_AUX MSR (0xc0000103).
295
///
296
/// \headerfile <immintrin.h>
297
298
/// This intrinsic corresponds to the <c> RDPID </c> instruction.
299
+///
300
+/// \returns The 32-bit contents of the MSR.
301
static __inline__ unsigned int __attribute__((__always_inline__, __nodebug__, __target__("rdpid")))
302
_rdpid_u32(void) {
303
return __builtin_ia32_rdpid();
0 commit comments