diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-08-11 16:07:28 +0100 |
---|---|---|
committer | Tobias Hieta <tobias@hieta.se> | 2022-08-15 09:31:26 +0200 |
commit | 804e4538577fe667454285c88f212abfe58516d5 (patch) | |
tree | 56b9cb8c5e5bee998287675b123e03612921cbb2 /clang/lib | |
parent | 76522bf130996b9abe0029310d41e491832bced3 (diff) | |
download | llvm-804e4538577fe667454285c88f212abfe58516d5.zip llvm-804e4538577fe667454285c88f212abfe58516d5.tar.gz llvm-804e4538577fe667454285c88f212abfe58516d5.tar.bz2 |
[X86] Add RDPRU instruction CPUID bit masks
As mentioned on D128934 - we weren't including the CPUID bit handling for the RDPRU instruction
AMD's APMv3 (24594) lists it as CPUID Fn8000_0008_EBX Bit#4
(cherry picked from commit 08a880509e4f7ca8d346dce42fe7528c3a33f22c)
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Headers/cpuid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Headers/cpuid.h b/clang/lib/Headers/cpuid.h index 5d262a6..caa0069 100644 --- a/clang/lib/Headers/cpuid.h +++ b/clang/lib/Headers/cpuid.h @@ -232,6 +232,7 @@ /* Features in %ebx for leaf 0x80000008 */ #define bit_CLZERO 0x00000001 +#define bit_RDPRU 0x00000010 #define bit_WBNOINVD 0x00000200 |