git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137787
91177308-0d34-0410-b5e6-
96231b3b80d8
let Pattern = pattern;
let thumbArithFlagSetting = 1;
list<Predicate> Predicates = [IsThumb, IsThumb1Only];
+ let DecoderNamespace = "ThumbSBit";
}
class T1sI<dag oops, dag iops, InstrItinClass itin,
uint16_t insn16 = (bytes[1] << 8) | bytes[0];
bool result = decodeThumbInstruction16(MI, insn16, Address, this);
+ if (result) {
+ Size = 2;
+ AddThumbPredicate(MI);
+ return true;
+ }
+
+ MI.clear();
+ result = decodeThumbSBitInstruction16(MI, insn16, Address, this);
if (result) {
Size = 2;
bool InITBlock = !ITBlock.empty();