Add the PPC64 ldbrx/stdbrx instructions
authorHal Finkel <hfinkel@anl.gov>
Thu, 28 Mar 2013 19:25:55 +0000 (19:25 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 28 Mar 2013 19:25:55 +0000 (19:25 +0000)
commitefdd4673d6e78f3d406c5d1f44316aef8a5a9a48
tree6d6e532e630ed03daa8341a3baeb4bb73d60f1ac
parentce888351106a72825e2a107cb08d7130f3dce0ee
Add the PPC64 ldbrx/stdbrx instructions

These are 64-bit load/store with byte-swap, and available on the P7 and the A2.
Like the similar instructions for 16- and 32-bit words, these are matched in the
target DAG-combine phase against load/store-bswap pairs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178276 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPC.td
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/PowerPC/PPCSubtarget.cpp
lib/Target/PowerPC/PPCSubtarget.h
test/CodeGen/PowerPC/bswap-load-store.ll