Revision 1e64e78d
b/target-sparc/op.c | ||
---|---|---|
1711 | 1711 |
/* Integer to float conversion. */ |
1712 | 1712 |
#ifdef USE_INT_TO_FLOAT_HELPERS |
1713 | 1713 |
F_HELPER(ito); |
1714 |
#ifdef TARGET_SPARC64 |
|
1715 |
F_HELPER(xto); |
|
1716 |
#endif |
|
1714 | 1717 |
#else |
1715 | 1718 |
F_OP(ito, s) |
1716 | 1719 |
{ |
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