diff --git a/target-sparc/op.c b/target-sparc/op.c index 31bf5dd513831d16f2fbeabe090bdb680846fd87..f2168af9ab89c2e42bd835319984eba4af4c1f32 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;