forked from OSchip/llvm-project
parent
231ca2bdc3
commit
bd2b610eba
|
@ -2104,7 +2104,7 @@ DecodeT2BInstruction(MCInst &Inst, unsigned Insn,
|
|||
unsigned imm10 = fieldFromInstruction(Insn, 16, 10);
|
||||
unsigned imm11 = fieldFromInstruction(Insn, 0, 11);
|
||||
unsigned tmp = (S << 23) | (I1 << 22) | (I2 << 21) | (imm10 << 11) | imm11;
|
||||
int imm32 = SignExtend32<24>(tmp << 1);
|
||||
int imm32 = SignExtend32<25>(tmp << 1);
|
||||
if (!tryAddingSymbolicOperand(Address, Address + imm32 + 4,
|
||||
true, 4, Inst, Decoder))
|
||||
Inst.addOperand(MCOperand::CreateImm(imm32));
|
||||
|
|
|
@ -170,8 +170,10 @@
|
|||
0x13 0xf5 0xce 0xa9
|
||||
|
||||
# CHECK: b.w #208962
|
||||
# CHECK: b.w #-16777216
|
||||
|
||||
0x33 0xf0 0x21 0xb8 # rdar://12585795
|
||||
0x00 0xf4 0x00 0x90
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# BFC
|
||||
|
|
Loading…
Reference in New Issue