[all-commits] [llvm/llvm-project] 08e4fe: [X86] Add RDPRU instruction
Paul T Robinson via All-commits
all-commits at lists.llvm.org
Wed Jul 6 07:18:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 08e4fe6c61967d5c6c16ef7a4cc63d51c4992b55
https://github.com/llvm/llvm-project/commit/08e4fe6c61967d5c6c16ef7a4cc63d51c4992b55
Author: Paul Robinson <paul.robinson at sony.com>
Date: 2022-07-06 (Wed, 06 Jul 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/BuiltinsX86.def
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/Headers/CMakeLists.txt
A clang/lib/Headers/rdpruintrin.h
M clang/lib/Headers/x86intrin.h
A clang/test/CodeGen/rdpru-builtins.c
M clang/test/Driver/x86-target-features.c
M clang/test/Preprocessor/x86_target_features.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/IR/IntrinsicsX86.td
M llvm/include/llvm/Support/X86TargetParser.def
M llvm/lib/Support/X86TargetParser.cpp
M llvm/lib/Target/X86/X86.td
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InstrInfo.td
M llvm/lib/Target/X86/X86InstrSystem.td
M llvm/lib/Target/X86/X86IntrinsicsInfo.h
A llvm/test/CodeGen/X86/rdpru.ll
M llvm/test/MC/Disassembler/X86/x86-32.txt
M llvm/test/MC/Disassembler/X86/x86-64.txt
A llvm/test/MC/X86/RDPRU.s
Log Message:
-----------
[X86] Add RDPRU instruction
Add support for the RDPRU instruction on Zen2 processors.
User-facing features:
- Clang option -m[no-]rdpru to enable/disable the feature
- Support is implicit for znver2/znver3 processors
- Preprocessor symbol __RDPRU__ to indicate support
- Header rdpruintrin.h to define intrinsics
- "rdpru" mnemonic supported for assembler code
Internal features:
- Clang builtin __builtin_ia32_rdpru
- IR intrinsic @llvm.x86.rdpru
Differential Revision: https://reviews.llvm.org/D128934
More information about the All-commits
mailing list