A32/Thumb: Correct behaviour for UDF and Unpredictable instructions

Raise an exception instead of calling the interpreter and ASSERT-ing respectively.
This commit is contained in:
MerryMage
2019-07-27 19:56:18 +01:00
parent c7d20f3f2f
commit 1aa7b62e92
4 changed files with 12 additions and 4 deletions

View File

@@ -885,7 +885,7 @@ bool ThumbTranslatorVisitor::thumb16_CBZ_CBNZ(bool nonzero, Imm<1> i, Imm<5> imm
}
bool ThumbTranslatorVisitor::thumb16_UDF() {
return InterpretThisInstruction();
return UndefinedInstruction();
}
// BX <Rm>