Fix encodings for Thumb ASR and LSR immediate operands. They encode the range 1...
authorOwen Anderson <resistor@mac.com>
Mon, 8 Aug 2011 20:42:17 +0000 (20:42 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 8 Aug 2011 20:42:17 +0000 (20:42 +0000)
commit6d74631062e4464326eb5c680a4d62d340fa42eb
tree277be81c9b1be1fe1bf8b5add9e35991c81c544e
parent2cb1dfa4464c8dc551d93e0ce34d7a2f797304db
Fix encodings for Thumb ASR and LSR immediate operands.  They encode the range 1-32, with 32 encoded as 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137062 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCodeEmitter.cpp
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
utils/TableGen/EDEmitter.cpp