Port more assembler tests over to disassembler tests, and fix a minor logic error that exposed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2011-09-07 17:55:19 +00:00
parent b950585cc5
commit 6de3c6f1a9
2 changed files with 159 additions and 1 deletions

View File

@ -2786,7 +2786,7 @@ DecodeThumb2BCCInstruction(llvm::MCInst &Inst, unsigned Insn,
break;
case 0xf3bf8f6:
Inst.setOpcode(ARM::t2ISB);
return MCDisassembler::Success;
break;
}
unsigned imm = fieldFromInstruction32(Insn, 0, 4);