Revision 13822781 target-i386/op_helper.c

b/target-i386/op_helper.c
3440 3440

  
3441 3441
static inline CPU86_LDouble helper_fdiv(CPU86_LDouble a, CPU86_LDouble b)
3442 3442
{
3443
    if (b == 0.0)
3443
    if (floatx_is_zero(b)) {
3444 3444
        fpu_set_exception(FPUS_ZE);
3445
    return a / b;
3445
    }
3446
    return floatx_div(a, b, &env->fp_status);
3446 3447
}
3447 3448

  
3448 3449
static void fpu_raise_exception(void)

Also available in: Unified diff