Revision 9c2b428e target-sparc/op_helper.c
b/target-sparc/op_helper.c | ||
---|---|---|
70 | 70 |
{ |
71 | 71 |
DT0 = int32_to_float64(*((int32_t *)&FT1), &env->fp_status); |
72 | 72 |
} |
73 |
|
|
74 |
#if defined(CONFIG_USER_ONLY) |
|
75 |
void do_fitoq(void) |
|
76 |
{ |
|
77 |
QT0 = int32_to_float128(*((int32_t *)&FT1), &env->fp_status); |
|
78 |
} |
|
79 |
#endif |
|
80 |
|
|
73 | 81 |
#ifdef TARGET_SPARC64 |
74 | 82 |
void do_fxtos(void) |
75 | 83 |
{ |
... | ... | |
84 | 92 |
DT0 = int64_to_float64(*((int64_t *)&DT1), &env->fp_status); |
85 | 93 |
check_ieee_exceptions(); |
86 | 94 |
} |
95 |
|
|
96 |
#if defined(CONFIG_USER_ONLY) |
|
97 |
void do_fxtoq(void) |
|
98 |
{ |
|
99 |
set_float_exception_flags(0, &env->fp_status); |
|
100 |
QT0 = int64_to_float128(*((int32_t *)&DT1), &env->fp_status); |
|
101 |
check_ieee_exceptions(); |
|
102 |
} |
|
103 |
#endif |
|
87 | 104 |
#endif |
88 | 105 |
#endif |
89 | 106 |
|
Also available in: Unified diff