On 07/03/2017 12:11 PM, Richard Henderson wrote:
if (floatx80_to_ldouble(&d, val))) {
d = sinl(d);
val = ldouble_to_floatx80(d, status);
} else {
status->float_exception_flags |= float_flag_invalid;
val = floatx80_default_nan(status);
}
Blah. I didn't mean default_
On 07/03/2017 09:23 AM, Laurent Vivier wrote:
+long double floatx80_to_ldouble(floatx80 val)
+{
+long double mantissa;
+int32_t exp;
+uint8_t sign;
+
+if (floatx80_is_infinity(val)) {
+if (floatx80_is_neg(val)) {
+return -__builtin_infl();
+}
+r
Add fsinh, flognp1, ftanh, fatan, fasin, fatanh,
fsin, ftan, fetox, ftwotox, ftentox, flogn, flog10, facos,
fcos, fsincos.
As softfloat library does not provide these functions,
we use the libm of the host.
Signed-off-by: Laurent Vivier
---
target/m68k/cpu.h| 1 +
target/m68k/fpu_help