This patch adds -mrdpid/-mno-rdpid and the rdpid intrinsic. The corresponding LLVM commit has already been made.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D42272  
[X86] Add rdpid command line option and intrinsics. ClosedPublic Authored by craig.topper on Jan 18 2018, 4:29 PM. 
Details Summary This patch adds -mrdpid/-mno-rdpid and the rdpid intrinsic. The corresponding LLVM commit has already been made. 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 20 2018, 4:42 AM Closed by commit rL323047: [X86] Add rdpid command line option and intrinsics. (authored by ctopper).  ·  Explain WhyJan 20 2018, 10:39 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 130670 include/clang/Basic/BuiltinsX86.def
 include/clang/Driver/Options.td
 lib/Basic/Targets/X86.h
 lib/Basic/Targets/X86.cpp
 lib/Headers/immintrin.h
 test/CodeGen/rdpid-builtins.c
 
 test/Driver/x86-target-features.c
 test/Preprocessor/predefined-arch-macros.c
 test/Preprocessor/x86_target_features.c
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Doxygen comment?