2 * Ported from a work by Andreas Grabher for Previous, NeXT Computer Emulator,
3 * derived from NetBSD M68040 FPSP functions,
4 * derived from release 2a of the SoftFloat IEC/IEEE Floating-point Arithmetic
5 * Package. Those parts of the code (and some later contributions) are
6 * provided under that license, as detailed below.
7 * It has subsequently been modified by contributors to the QEMU Project,
8 * so some portions are provided under:
9 * the SoftFloat-2a license
13 * Any future contributions to this file will be taken to be licensed under
14 * the Softfloat-2a license unless specifically indicated otherwise.
17 /* Portions of this work are licensed under the terms of the GNU GPL,
18 * version 2 or later. See the COPYING file in the top-level directory.
21 #ifndef TARGET_M68K_SOFTFLOAT_H
22 #define TARGET_M68K_SOFTFLOAT_H
23 #include "fpu/softfloat.h"
25 floatx80
floatx80_mod(floatx80 a
, floatx80 b
, float_status
*status
);
26 floatx80
floatx80_getman(floatx80 a
, float_status
*status
);
27 floatx80
floatx80_getexp(floatx80 a
, float_status
*status
);
28 floatx80
floatx80_scale(floatx80 a
, floatx80 b
, float_status
*status
);
29 floatx80
floatx80_move(floatx80 a
, float_status
*status
);
30 floatx80
floatx80_lognp1(floatx80 a
, float_status
*status
);
31 floatx80
floatx80_logn(floatx80 a
, float_status
*status
);
32 floatx80
floatx80_log10(floatx80 a
, float_status
*status
);
33 floatx80
floatx80_log2(floatx80 a
, float_status
*status
);
34 floatx80
floatx80_etox(floatx80 a
, float_status
*status
);
35 floatx80
floatx80_twotox(floatx80 a
, float_status
*status
);
36 floatx80
floatx80_tentox(floatx80 a
, float_status
*status
);