diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-19 19:13:28 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-19 19:13:28 +0000 |
commit | ffa3225e26cc1977d20f0d9649fcd6f38a3c4815 (patch) | |
tree | 7b83654a0b53c5d927f8cac24d17cfb4882b79bf /utils | |
parent | 0ec2aa21d0286339961a5c331ca289751ab1396c (diff) |
ARM assembly parsing for MOV (immediate).
Add range checking for the immediate operand and handle the "mov" mnemonic
choosing between encodings based on the value of the immediate. Add tests
for fixups, encoding choice and values, and diagnostic for out of range values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/EDEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index 2f9814aee4..7cfca93e7a 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -593,6 +593,7 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type, IMM("imm0_255"); IMM("imm0_4095"); IMM("imm0_65535"); + IMM("imm0_65535_expr"); IMM("jt2block_operand"); IMM("t_imm_s4"); IMM("pclabel"); |