conditional_state: Break from translation when invalid NV instruction is hit
This commit is contained in:
parent
7946868af4
commit
ea02a7d05d
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ bool IsConditionPassed(TranslatorVisitor& v, IR::Cond cond) {
|
||||||
|
|
||||||
if (cond == IR::Cond::NV) {
|
if (cond == IR::Cond::NV) {
|
||||||
// NV conditional is obsolete
|
// NV conditional is obsolete
|
||||||
|
v.cond_state = ConditionalState::Break;
|
||||||
v.RaiseException(Exception::UnpredictableInstruction);
|
v.RaiseException(Exception::UnpredictableInstruction);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue