ITState: Handle not-in-IT-block case in Cond
This commit is contained in:
parent
946dbb5818
commit
5e75bd41a4
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
IR::Cond Cond() const {
|
IR::Cond Cond() const {
|
||||||
|
if (value == 0b00000000) {
|
||||||
|
return IR::Cond::AL;
|
||||||
|
}
|
||||||
return static_cast<IR::Cond>(Common::Bits<4, 7>(value));
|
return static_cast<IR::Cond>(Common::Bits<4, 7>(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue