mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-30 05:24:22 +00:00
ARM: fix VCVT decoding
UNPRED was reported instead of UNDEF git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -4441,7 +4441,7 @@ static DecodeStatus DecodeVCVTD(MCInst &Inst, unsigned Insn,
|
||||
return DecodeNEONModImmInstruction(Inst, Insn, Address, Decoder);
|
||||
}
|
||||
|
||||
if (!(imm & 0x20)) Check(S, MCDisassembler::SoftFail);
|
||||
if (!(imm & 0x20)) return MCDisassembler::Fail;
|
||||
|
||||
if (!Check(S, DecodeDPRRegisterClass(Inst, Vd, Address, Decoder)))
|
||||
return MCDisassembler::Fail;
|
||||
@ -4469,7 +4469,7 @@ static DecodeStatus DecodeVCVTQ(MCInst &Inst, unsigned Insn,
|
||||
return DecodeNEONModImmInstruction(Inst, Insn, Address, Decoder);
|
||||
}
|
||||
|
||||
if (!(imm & 0x20)) Check(S, MCDisassembler::SoftFail);
|
||||
if (!(imm & 0x20)) return MCDisassembler::Fail;
|
||||
|
||||
if (!Check(S, DecodeQPRRegisterClass(Inst, Vd, Address, Decoder)))
|
||||
return MCDisassembler::Fail;
|
||||
|
Reference in New Issue
Block a user