|
@@ -342,6 +342,7 @@ decode_fpu(unsigned int Fpu_register[], unsigned int trap_counts[])
|
|
|
return SIGNALCODE(SIGFPE, FPE_FLTINV);
|
|
|
case DIVISIONBYZEROEXCEPTION:
|
|
|
update_trap_counts(Fpu_register, aflags, bflags, trap_counts);
|
|
|
+ Clear_excp_register(exception_index);
|
|
|
return SIGNALCODE(SIGFPE, FPE_FLTDIV);
|
|
|
case INEXACTEXCEPTION:
|
|
|
update_trap_counts(Fpu_register, aflags, bflags, trap_counts);
|