diff --git a/target-sparc/op.c b/target-sparc/op.c index 31bf5dd513..f2168af9ab 100644 --- a/target-sparc/op.c +++ b/target-sparc/op.c @@ -520,8 +520,11 @@ void OPPROTO op_tadd_T1_T0_ccTV(void) { target_ulong src1; - if ((T0 & 0x03) || (T1 & 0x03)) + if ((T0 & 0x03) || (T1 & 0x03)) { raise_exception(TT_TOVF); + FORCE_RET(); + return; + } src1 = T0; T0 += T1;