]> git.proxmox.com Git - mirror_qemu.git/blame - target/m68k/softfloat.h
Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
[mirror_qemu.git] / target / m68k / softfloat.h
CommitLineData
591596b7
LV
1/*
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
10 * the BSD license
11 * GPL-v2-or-later
12 *
13 * Any future contributions to this file will be taken to be licensed under
14 * the Softfloat-2a license unless specifically indicated otherwise.
15 */
16
808d77bc
LMP
17/*
18 * Portions of this work are licensed under the terms of the GNU GPL,
591596b7
LV
19 * version 2 or later. See the COPYING file in the top-level directory.
20 */
21
22#ifndef TARGET_M68K_SOFTFLOAT_H
23#define TARGET_M68K_SOFTFLOAT_H
24#include "fpu/softfloat.h"
25
0d379c17
LV
26floatx80 floatx80_getman(floatx80 a, float_status *status);
27floatx80 floatx80_getexp(floatx80 a, float_status *status);
28floatx80 floatx80_scale(floatx80 a, floatx80 b, float_status *status);
9a069775 29floatx80 floatx80_move(floatx80 a, float_status *status);
4b5c65b8 30floatx80 floatx80_lognp1(floatx80 a, float_status *status);
50067bd1 31floatx80 floatx80_logn(floatx80 a, float_status *status);
248efb66 32floatx80 floatx80_log10(floatx80 a, float_status *status);
67b453ed 33floatx80 floatx80_log2(floatx80 a, float_status *status);
40ad0873 34floatx80 floatx80_etox(floatx80 a, float_status *status);
068f1615 35floatx80 floatx80_twotox(floatx80 a, float_status *status);
6c25be6e 36floatx80 floatx80_tentox(floatx80 a, float_status *status);
27340180 37floatx80 floatx80_tan(floatx80 a, float_status *status);
5add1ac4 38floatx80 floatx80_sin(floatx80 a, float_status *status);
68d0ed37 39floatx80 floatx80_cos(floatx80 a, float_status *status);
8c992abc 40floatx80 floatx80_atan(floatx80 a, float_status *status);
bc20b34e 41floatx80 floatx80_asin(floatx80 a, float_status *status);
c84813b8 42floatx80 floatx80_acos(floatx80 a, float_status *status);
e3655afa 43floatx80 floatx80_atanh(floatx80 a, float_status *status);
9937b029
LV
44floatx80 floatx80_etoxm1(floatx80 a, float_status *status);
45floatx80 floatx80_tanh(floatx80 a, float_status *status);
eee6b892 46floatx80 floatx80_sinh(floatx80 a, float_status *status);
02f9124e 47floatx80 floatx80_cosh(floatx80 a, float_status *status);
591596b7 48#endif