OSDN Git Service

[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)
commit9226f723649729e0f2b46ca8f4f7dcc9a12f3285
treeb2bab6102bc0d6f37665c5ad9b64d6db1c745eda
parent52bc9d91024320864fc986029b0aa2d3c35d4e02
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302041 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/llvm/IR/IntrinsicsX86.td
lib/Support/Host.cpp
lib/Target/X86/X86.td
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86Schedule.td
lib/Target/X86/X86Subtarget.cpp
lib/Target/X86/X86Subtarget.h
test/CodeGen/X86/lwp-intrinsics-x86_64.ll [new file with mode: 0644]
test/CodeGen/X86/lwp-intrinsics.ll [new file with mode: 0644]
test/MC/Disassembler/X86/x86-32.txt
test/MC/Disassembler/X86/x86-64.txt
test/MC/X86/lwp-x86_64.s [new file with mode: 0644]
test/MC/X86/lwp.s [new file with mode: 0644]