diff options
author | Owen Anderson <resistor@mac.com> | 2011-09-12 18:56:30 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-09-12 18:56:30 +0000 |
commit | a3157b402695ef9d5f6a03e8e3afc5bddf3a3df7 (patch) | |
tree | 6c6b9871ee2ca2800e81b35daf812c40494d8018 /lib/Target/ARM/ARMInstrFormats.td | |
parent | 29da5e6855c59cb34e757790b88c4b309db2920a (diff) | |
download | llvm-a3157b402695ef9d5f6a03e8e3afc5bddf3a3df7.tar.gz llvm-a3157b402695ef9d5f6a03e8e3afc5bddf3a3df7.tar.bz2 llvm-a3157b402695ef9d5f6a03e8e3afc5bddf3a3df7.tar.xz |
Port more encoding tests to decoding tests, and correct an improper Thumb2 pre-indexed load decoding this uncovered.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrFormats.td')
-rw-r--r-- | lib/Target/ARM/ARMInstrFormats.td | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td index 67a74e04b1..08a9ebdf08 100644 --- a/lib/Target/ARM/ARMInstrFormats.td +++ b/lib/Target/ARM/ARMInstrFormats.td @@ -1189,6 +1189,8 @@ class T2Ipreldst<bit signed, bits<2> opcod, bit load, bit pre, let Inst{9} = addr{8}; // Sign bit let Inst{8} = 1; // The W bit. let Inst{7-0} = addr{7-0}; + + let DecoderMethod = "DecodeT2LdStPre"; } // T2Ipostldst - Thumb2 post-indexed load / store instructions. @@ -1221,6 +1223,8 @@ class T2Ipostldst<bit signed, bits<2> opcod, bit load, bit pre, let Inst{9} = offset{8}; // Sign bit let Inst{8} = 1; // The W bit. let Inst{7-0} = offset{7-0}; + + let DecoderMethod = "DecodeT2LdStPre"; } // Tv5Pat - Same as Pat<>, but requires V5T Thumb mode. |