mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 10:50:01 +00:00
DSPAnalyzer: Clarify CODE_CHECK_EXC
This commit is contained in:
parent
662cfa38c2
commit
949ca7756b
1 changed files with 4 additions and 2 deletions
|
@ -133,8 +133,10 @@ void Analyzer::FindInstructionStarts(const SDSP& dsp, u16 start_addr, u16 end_ad
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// If an instruction potentially raises exceptions, mark the following
|
// If an instruction potentially raises exceptions, mark the following instruction as needing to
|
||||||
// instruction as needing to check for exceptions
|
// check for exceptions. This code is only looking for the accelerator address overflow
|
||||||
|
// exception, so the following instructions are checked: LR, LRR/LRRD/LRRI/LRRN, LRS, and
|
||||||
|
// extended opcodes.
|
||||||
if (opcode->opcode == 0x00c0 || opcode->opcode == 0x1800 || opcode->opcode == 0x1880 ||
|
if (opcode->opcode == 0x00c0 || opcode->opcode == 0x1800 || opcode->opcode == 0x1880 ||
|
||||||
opcode->opcode == 0x1900 || opcode->opcode == 0x1980 || opcode->opcode == 0x2000 ||
|
opcode->opcode == 0x1900 || opcode->opcode == 0x1980 || opcode->opcode == 0x2000 ||
|
||||||
opcode->extended)
|
opcode->extended)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue