Add definition of DSBH (Double Swap Bytes within Halfwords) and
authorAkira Hatanaka <ahatanaka@mips.com>
Tue, 20 Dec 2011 23:56:43 +0000 (23:56 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Tue, 20 Dec 2011 23:56:43 +0000 (23:56 +0000)
commitc0ea04389c9fc0b73d0cbd90ec3a5bc076d25d7b
treeab59ff01925c24f27eba2a658f62d4158e643db6
parent4d2b0f3ce79cafca3b9aafd420da10a25e444f0d
Add definition of DSBH (Double Swap Bytes within Halfwords) and
DSHD (Double Swap Halfwords within Doublewords). Add a pattern which replaces
64-bit bswap with a DSBH and DSHD pair.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147017 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips64InstrInfo.td
lib/Target/Mips/MipsISelLowering.cpp