Laurent Vivier | 591596b | 2018-02-24 21:18:00 +0100 | [diff] [blame] | 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 | |
| 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. |
| 19 | */ |
| 20 | |
| 21 | #ifndef TARGET_M68K_SOFTFLOAT_H |
| 22 | #define TARGET_M68K_SOFTFLOAT_H |
| 23 | #include "fpu/softfloat.h" |
| 24 | |
| 25 | floatx80 floatx80_mod(floatx80 a, floatx80 b, float_status *status); |
Laurent Vivier | 0d379c1 | 2018-02-24 21:18:02 +0100 | [diff] [blame] | 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); |
Laurent Vivier | 9a06977 | 2018-03-05 21:39:03 +0100 | [diff] [blame] | 29 | floatx80 floatx80_move(floatx80 a, float_status *status); |
Laurent Vivier | 4b5c65b | 2018-03-05 21:39:04 +0100 | [diff] [blame] | 30 | floatx80 floatx80_lognp1(floatx80 a, float_status *status); |
Laurent Vivier | 50067bd | 2018-03-05 21:39:05 +0100 | [diff] [blame] | 31 | floatx80 floatx80_logn(floatx80 a, float_status *status); |
Laurent Vivier | 248efb6 | 2018-03-05 21:39:06 +0100 | [diff] [blame] | 32 | floatx80 floatx80_log10(floatx80 a, float_status *status); |
Laurent Vivier | 67b453e | 2018-03-05 21:39:07 +0100 | [diff] [blame] | 33 | floatx80 floatx80_log2(floatx80 a, float_status *status); |
Laurent Vivier | 40ad087 | 2018-03-05 21:39:08 +0100 | [diff] [blame] | 34 | floatx80 floatx80_etox(floatx80 a, float_status *status); |
Laurent Vivier | 068f161 | 2018-03-05 21:39:09 +0100 | [diff] [blame] | 35 | floatx80 floatx80_twotox(floatx80 a, float_status *status); |
Laurent Vivier | 6c25be6 | 2018-03-05 21:39:10 +0100 | [diff] [blame] | 36 | floatx80 floatx80_tentox(floatx80 a, float_status *status); |
Laurent Vivier | 2734018 | 2018-03-12 21:27:18 +0100 | [diff] [blame] | 37 | floatx80 floatx80_tan(floatx80 a, float_status *status); |
Laurent Vivier | 5add1ac | 2018-03-12 21:27:19 +0100 | [diff] [blame] | 38 | floatx80 floatx80_sin(floatx80 a, float_status *status); |
Laurent Vivier | 68d0ed3 | 2018-03-12 21:27:20 +0100 | [diff] [blame] | 39 | floatx80 floatx80_cos(floatx80 a, float_status *status); |
Laurent Vivier | 8c992ab | 2018-03-12 21:27:22 +0100 | [diff] [blame] | 40 | floatx80 floatx80_atan(floatx80 a, float_status *status); |
Laurent Vivier | bc20b34 | 2018-03-12 21:27:23 +0100 | [diff] [blame] | 41 | floatx80 floatx80_asin(floatx80 a, float_status *status); |
Laurent Vivier | c84813b | 2018-03-12 21:27:24 +0100 | [diff] [blame] | 42 | floatx80 floatx80_acos(floatx80 a, float_status *status); |
Laurent Vivier | e3655af | 2018-03-12 21:27:25 +0100 | [diff] [blame] | 43 | floatx80 floatx80_atanh(floatx80 a, float_status *status); |
Laurent Vivier | 9937b02 | 2018-03-12 21:27:26 +0100 | [diff] [blame] | 44 | floatx80 floatx80_etoxm1(floatx80 a, float_status *status); |
| 45 | floatx80 floatx80_tanh(floatx80 a, float_status *status); |
Laurent Vivier | eee6b89 | 2018-03-12 21:27:27 +0100 | [diff] [blame] | 46 | floatx80 floatx80_sinh(floatx80 a, float_status *status); |
Laurent Vivier | 02f9124 | 2018-03-12 21:27:28 +0100 | [diff] [blame] | 47 | floatx80 floatx80_cosh(floatx80 a, float_status *status); |
Laurent Vivier | 591596b | 2018-02-24 21:18:00 +0100 | [diff] [blame] | 48 | #endif |