86a87,113
>
> def format Thumb16CondBranchAndSvc() {{
> decode_block = '''
> if (bits(machInst, 11, 9) != 0x7) {
> return new B(machInst, sext<9>(bits(machInst, 7, 0) << 1),
> (ConditionCode)(uint32_t)bits(machInst, 11, 8));
> } else if (bits(machInst, 8)) {
> return new WarnUnimplemented("svc", machInst);
> } else {
> // This space will not be allocated in the future.
> return new WarnUnimplemented("unimplemented", machInst);
> }
> '''
> }};
>
> def format Thumb16UncondBranch() {{
> decode_block = '''
> return new B(machInst, sext<12>(bits(machInst, 10, 0) << 1), COND_UC);
> '''
> }};
>
> def format Thumb32 BranchesAndMiscCtrl() {{
> decode_block = '''
> return new WarnUnimplemented("Branches_and_miscellaneous_control",
> machInst);
> '''
> }};