mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-19 14:52:57 +00:00
A64: Add ExceptionRaised IR instruction
The purpose of this instruction is to raise exceptions when certain decode-time issues happen, instead of asserting at translate time. This allows us to use the translator for code analysis without worrying about unnecessary asserts, but also provides flexibility for the library user to perform custom behaviour when one of these states are raised.
This commit is contained in:
@@ -229,7 +229,8 @@ bool Inst::WritesToFPSCR() const {
|
||||
bool Inst::CausesCPUException() const {
|
||||
return op == Opcode::Breakpoint ||
|
||||
op == Opcode::A32CallSupervisor ||
|
||||
op == Opcode::A64CallSupervisor;
|
||||
op == Opcode::A64CallSupervisor ||
|
||||
op == Opcode::A64ExceptionRaised;
|
||||
}
|
||||
|
||||
bool Inst::AltersExclusiveState() const {
|
||||
|
||||
Reference in New Issue
Block a user