diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-07 20:58:57 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-07 20:58:57 +0000 |
commit | a8307dd1c9279cbde1f3497e530d2ed9d014a0c5 (patch) | |
tree | 5151b4b3e69d16dda98df393fa6a95b11dbbbe48 /utils/TableGen/EDEmitter.cpp | |
parent | 94f914e3fd4b040edd81abb5f455ed2b99e2572a (diff) | |
download | external_llvm-a8307dd1c9279cbde1f3497e530d2ed9d014a0c5.zip external_llvm-a8307dd1c9279cbde1f3497e530d2ed9d014a0c5.tar.gz external_llvm-a8307dd1c9279cbde1f3497e530d2ed9d014a0c5.tar.bz2 |
Thumb2 parsing and encoding for LDR(immediate).
The immediate offset of the non-writeback i8 form (encoding T4) allows
negative offsets only. The positive offset form of the encoding is the
LDRT instruction. Immediate offsets in the range [0,255] use encoding T3
instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/EDEmitter.cpp')
-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 dafa732..0a1e4af 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -666,6 +666,7 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type, MISC("spr_reglist", "kOperandTypeARMSPRRegisterList"); // I, R, ... MISC("it_mask", "kOperandTypeThumbITMask"); // I MISC("t2addrmode_reg", "kOperandTypeThumb2AddrModeReg"); // R + MISC("t2addrmode_negimm8", "kOperandTypeThumb2AddrModeImm8"); // R, I MISC("t2addrmode_imm8", "kOperandTypeThumb2AddrModeImm8"); // R, I MISC("t2am_imm8_offset", "kOperandTypeThumb2AddrModeImm8Offset");//I MISC("t2addrmode_imm12", "kOperandTypeThumb2AddrModeImm12"); // R, I |