From ccbf6c7f63920094920029212bbe5e80c8bd6905 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sat, 25 Aug 2018 22:56:15 +0100 Subject: [PATCH] microinstruction: A32ExceptionRaised causes CPU exception --- src/frontend/ir/microinstruction.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/frontend/ir/microinstruction.cpp b/src/frontend/ir/microinstruction.cpp index 0d56248f..fffd6f42 100644 --- a/src/frontend/ir/microinstruction.cpp +++ b/src/frontend/ir/microinstruction.cpp @@ -364,9 +364,10 @@ bool Inst::WritesToFPSRCumulativeSaturationBit() const { } bool Inst::CausesCPUException() const { - return op == Opcode::Breakpoint || - op == Opcode::A32CallSupervisor || - op == Opcode::A64CallSupervisor || + return op == Opcode::Breakpoint || + op == Opcode::A32CallSupervisor || + op == Opcode::A32ExceptionRaised || + op == Opcode::A64CallSupervisor || op == Opcode::A64ExceptionRaised; }