mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-05 22:18:16 +01:00
microinstruction: Implement HasAssociatedPseudoOperation
This commit is contained in:
parent
c6c980dfd7
commit
523ae542f4
2 changed files with 6 additions and 0 deletions
|
|
@ -251,6 +251,10 @@ void Inst::DecrementRemainingUses() {
|
|||
use_count--;
|
||||
}
|
||||
|
||||
bool Inst::HasAssociatedPseudoOperation() const {
|
||||
return carry_inst || overflow_inst || ge_inst;
|
||||
}
|
||||
|
||||
Inst* Inst::GetAssociatedPseudoOperation(Opcode opcode) {
|
||||
// This is faster than doing a search through the block.
|
||||
switch (opcode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue