[X86][LWP] Add llvm support for LWP instructions (reapplied).
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 May 2017 15:51:39 +0000 (15:51 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 May 2017 15:51:39 +0000 (15:51 +0000)
commit99b925bdf38840a43ed0f57c37fec389f0388148
tree1cb1f3fd745494a2a15ebe62667ea1b9269f6788
parentb339c6dcc07bbd3c60bb42f05566323b973107d9
[X86][LWP] Add llvm support for LWP instructions (reapplied).

This patch adds support for the the LightWeight Profiling (LWP) instructions which are available on all AMD Bulldozer class CPUs (bdver1 to bdver4).

Reapplied - this time without changing line endings of existing files.

Differential Revision: https://reviews.llvm.org/D32769

llvm-svn: 302041
15 files changed:
llvm/include/llvm/IR/IntrinsicsX86.td
llvm/lib/Support/Host.cpp
llvm/lib/Target/X86/X86.td
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86Schedule.td
llvm/lib/Target/X86/X86Subtarget.cpp
llvm/lib/Target/X86/X86Subtarget.h
llvm/test/CodeGen/X86/lwp-intrinsics-x86_64.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/lwp-intrinsics.ll [new file with mode: 0644]
llvm/test/MC/Disassembler/X86/x86-32.txt
llvm/test/MC/Disassembler/X86/x86-64.txt
llvm/test/MC/X86/lwp-x86_64.s [new file with mode: 0644]
llvm/test/MC/X86/lwp.s [new file with mode: 0644]