Revision 1e64e78d target-sparc/op_helper.c

b/target-sparc/op_helper.c
69 69
{
70 70
    DT0 = int32_to_float64(*((int32_t *)&FT1), &env->fp_status);
71 71
}
72
#ifdef TARGET_SPARC64
73
void do_fxtos(void)
74
{
75
    set_float_exception_flags(0, &env->fp_status);
76
    FT0 = int64_to_float32(*((int64_t *)&DT1), &env->fp_status);
77
    check_ieee_exceptions();
78
}
79

  
80
void do_fxtod(void)
81
{
82
    set_float_exception_flags(0, &env->fp_status);
83
    DT0 = int64_to_float64(*((int64_t *)&DT1), &env->fp_status);
84
    check_ieee_exceptions();
85
}
86
#endif
72 87
#endif
73 88

  
74 89
void do_fabss(void)

Also available in: Unified diff