[PATCH] D42272: [X86] Add rdpid command line option and intrinsics.

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 16:30:10 PST 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel, zvi, AndreiGrischenko.

This patch adds -mrdpid/-mno-rdpid and the rdpid intrinsic. The corresponding LLVM commit has already been made.


https://reviews.llvm.org/D42272

Files:
  include/clang/Basic/BuiltinsX86.def
  include/clang/Driver/Options.td
  lib/Basic/Targets/X86.cpp
  lib/Basic/Targets/X86.h
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42272.130520.patch
Type: text/x-patch
Size: 6203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180119/e41a3aa9/attachment.bin>


More information about the cfe-commits mailing list