Add 64-bit shift instructions.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Apr 2013 04:09:12 +0000 (04:09 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Apr 2013 04:09:12 +0000 (04:09 +0000)
commitc3ff3f42ee9a9fb755b0eb0718a31d701b93b3e0
tree6cf4216de4fa4a52e2158f227244497b9548a74b
parenta10fd6d3d1027b3903d27af701f876e36c1725c0
Add 64-bit shift instructions.

SPARC v9 defines new 64-bit shift instructions. The 32-bit shift right
instructions are still usable as zero and sign extensions.

This adds new F3_Sr and F3_Si instruction formats that probably should
be used for the 32-bit shifts as well. They don't really encode an
simm13 field.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178525 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcInstr64Bit.td [new file with mode: 0644]
lib/Target/Sparc/SparcInstrFormats.td
lib/Target/Sparc/SparcInstrInfo.td
test/CodeGen/SPARC/64bit.ll