Rename getAddrModeImm12OpValue to getAddrModeImmOpValue and expand it to work
authorBill Wendling <isanbard@gmail.com>
Tue, 2 Nov 2010 22:31:46 +0000 (22:31 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 2 Nov 2010 22:31:46 +0000 (22:31 +0000)
commit5df0e0a61d6ac0e8dcf1a600bdc28d3e4a8db0ad
tree9eb8a3787a0a3f6b3f77b71cb5c8d287b95d1348
parenta2b50b300ec32dc223a82a256a3d93b8eaf41662
Rename getAddrModeImm12OpValue to getAddrModeImmOpValue and expand it to work
with immediates up to 16-bits in size. The same logic is applied to other LDR
encodings, e.g. VLDR, but which use a different immediate bit width (8-bits in
VLDR's case). Removing the "12" allows it to be more generic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118094 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCodeEmitter.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrVFP.td
lib/Target/ARM/ARMMCCodeEmitter.cpp
test/MC/ARM/arm_instructions.s
test/MC/ARM/simple-fp-encoding.s