[X86] Add xgetbv/xsetbv intrinsics
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D21958  
[X86] Add xgetbv/xsetbv intrinsics ClosedPublic Authored by guyblank on Jul 3 2016, 6:26 AM. 
Details Summary [X86] Add xgetbv/xsetbv intrinsics 
Diff Detail Event Timelineguyblank updated this object. guyblank added reviewers: aaboud, delena, craig.topper, AsafBadouh, m_zuckerman, igorb.Jul 3 2016, 6:32 AM 
 
 This revision is now accepted and ready to land.Jul 13 2016, 6:10 AM Closed by commit rL278782: [X86] Add xgetbv/xsetbv intrinsics to non-windows platforms (authored by guyblank).  ·  Explain WhyAug 15 2016, 11:49 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 62626 include/llvm/IR/IntrinsicsX86.td
 
 lib/Target/X86/X86ISelLowering.h
 lib/Target/X86/X86ISelLowering.cpp
 
 lib/Target/X86/X86InstrInfo.td
 lib/Target/X86/X86InstrSystem.td
 lib/Target/X86/X86IntrinsicsInfo.h
 test/CodeGen/X86/system-intrinsics-xgetbv.ll
 test/CodeGen/X86/system-intrinsics-xsetbv.ll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The code should be aligned according to the LLVM style. Please copy-paste getReadPerformanceCounter() with original alignment.