2018-02-24 21:18:00 +01:00
|
|
|
/*
|
|
|
|
* Ported from a work by Andreas Grabher for Previous, NeXT Computer Emulator,
|
|
|
|
* derived from NetBSD M68040 FPSP functions,
|
|
|
|
* derived from release 2a of the SoftFloat IEC/IEEE Floating-point Arithmetic
|
|
|
|
* Package. Those parts of the code (and some later contributions) are
|
|
|
|
* provided under that license, as detailed below.
|
|
|
|
* It has subsequently been modified by contributors to the QEMU Project,
|
|
|
|
* so some portions are provided under:
|
|
|
|
* the SoftFloat-2a license
|
|
|
|
* the BSD license
|
|
|
|
* GPL-v2-or-later
|
|
|
|
*
|
|
|
|
* Any future contributions to this file will be taken to be licensed under
|
|
|
|
* the Softfloat-2a license unless specifically indicated otherwise.
|
|
|
|
*/
|
|
|
|
|
2019-06-07 01:41:25 +02:00
|
|
|
/*
|
|
|
|
* Portions of this work are licensed under the terms of the GNU GPL,
|
2018-02-24 21:18:00 +01:00
|
|
|
* version 2 or later. See the COPYING file in the top-level directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TARGET_M68K_SOFTFLOAT_H
|
|
|
|
#define TARGET_M68K_SOFTFLOAT_H
|
|
|
|
#include "fpu/softfloat.h"
|
|
|
|
|
2018-02-24 21:18:02 +01:00
|
|
|
floatx80 floatx80_getman(floatx80 a, float_status *status);
|
|
|
|
floatx80 floatx80_getexp(floatx80 a, float_status *status);
|
|
|
|
floatx80 floatx80_scale(floatx80 a, floatx80 b, float_status *status);
|
2018-03-05 21:39:03 +01:00
|
|
|
floatx80 floatx80_move(floatx80 a, float_status *status);
|
2018-03-05 21:39:04 +01:00
|
|
|
floatx80 floatx80_lognp1(floatx80 a, float_status *status);
|
2018-03-05 21:39:05 +01:00
|
|
|
floatx80 floatx80_logn(floatx80 a, float_status *status);
|
2018-03-05 21:39:06 +01:00
|
|
|
floatx80 floatx80_log10(floatx80 a, float_status *status);
|
2018-03-05 21:39:07 +01:00
|
|
|
floatx80 floatx80_log2(floatx80 a, float_status *status);
|
2018-03-05 21:39:08 +01:00
|
|
|
floatx80 floatx80_etox(floatx80 a, float_status *status);
|
2018-03-05 21:39:09 +01:00
|
|
|
floatx80 floatx80_twotox(floatx80 a, float_status *status);
|
2018-03-05 21:39:10 +01:00
|
|
|
floatx80 floatx80_tentox(floatx80 a, float_status *status);
|
2018-03-12 21:27:18 +01:00
|
|
|
floatx80 floatx80_tan(floatx80 a, float_status *status);
|
2018-03-12 21:27:19 +01:00
|
|
|
floatx80 floatx80_sin(floatx80 a, float_status *status);
|
2018-03-12 21:27:20 +01:00
|
|
|
floatx80 floatx80_cos(floatx80 a, float_status *status);
|
2018-03-12 21:27:22 +01:00
|
|
|
floatx80 floatx80_atan(floatx80 a, float_status *status);
|
2018-03-12 21:27:23 +01:00
|
|
|
floatx80 floatx80_asin(floatx80 a, float_status *status);
|
2018-03-12 21:27:24 +01:00
|
|
|
floatx80 floatx80_acos(floatx80 a, float_status *status);
|
2018-03-12 21:27:25 +01:00
|
|
|
floatx80 floatx80_atanh(floatx80 a, float_status *status);
|
2018-03-12 21:27:26 +01:00
|
|
|
floatx80 floatx80_etoxm1(floatx80 a, float_status *status);
|
|
|
|
floatx80 floatx80_tanh(floatx80 a, float_status *status);
|
2018-03-12 21:27:27 +01:00
|
|
|
floatx80 floatx80_sinh(floatx80 a, float_status *status);
|
2018-03-12 21:27:28 +01:00
|
|
|
floatx80 floatx80_cosh(floatx80 a, float_status *status);
|
2018-02-24 21:18:00 +01:00
|
|
|
#endif
|