summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-06-27 23:54:06 +0000
committerJim Grosbach <grosbach@apple.com>2011-06-27 23:54:06 +0000
commit6b8f1e35eacba34a11e2a7d5f614efc47b43d2e3 (patch)
tree1677af0b565995e47b059513887c19ec039dad5c /utils
parent4db3748fcf39ac0001b9d02eb6bf803e309a5c19 (diff)
downloadllvm-6b8f1e35eacba34a11e2a7d5f614efc47b43d2e3.tar.gz
llvm-6b8f1e35eacba34a11e2a7d5f614efc47b43d2e3.tar.bz2
llvm-6b8f1e35eacba34a11e2a7d5f614efc47b43d2e3.tar.xz
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
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/EDEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp
index daf9617554..4c0d385670 100644
--- a/utils/TableGen/EDEmitter.cpp
+++ b/utils/TableGen/EDEmitter.cpp
@@ -588,6 +588,7 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type,
IMM("imm0_31");
IMM("imm0_31_m1");
IMM("nModImm");
+ IMM("imm0_255");
IMM("imm0_4095");
IMM("jt2block_operand");
IMM("t_imm_s4");