ARM Assembly support for Thumb mov-immediate.
authorJim Grosbach <grosbach@apple.com>
Mon, 27 Jun 2011 23:54:06 +0000 (23:54 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 27 Jun 2011 23:54:06 +0000 (23:54 +0000)
commit6b8f1e35eacba34a11e2a7d5f614efc47b43d2e3
tree1677af0b565995e47b059513887c19ec039dad5c
parent4db3748fcf39ac0001b9d02eb6bf803e309a5c19
ARM Assembly support for Thumb mov-immediate.

Correctly parse the forms of the Thumb mov-immediate instruction:
  1. 8-bit immediate 0-255.
  2. 12-bit shifted-immediate.

The 16-bit immediate "movw" form is also legal with just a "mov" mnemonic,
but is not yet supported. More parser logic necessary there due to fixups.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133966 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/thumb2.s
utils/TableGen/EDEmitter.cpp