forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/arch/mips/math-emu/ieee754.h
....@@ -1,19 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * MIPS floating point support
34 * Copyright (C) 1994-2000 Algorithmics Ltd.
4
- *
5
- * This program is free software; you can distribute it and/or modify it
6
- * under the terms of the GNU General Public License (Version 2) as
7
- * published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
- * for more details.
13
- *
14
- * You should have received a copy of the GNU General Public License along
15
- * with this program; if not, write to the Free Software Foundation, Inc.,
16
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
175 *
186 * Nov 7, 2000
197 * Modification to allow integration with Linux kernel
....@@ -80,6 +68,14 @@
8068 union ieee754sp y);
8169 union ieee754sp ieee754sp_msubf(union ieee754sp z, union ieee754sp x,
8270 union ieee754sp y);
71
+union ieee754sp ieee754sp_madd(union ieee754sp z, union ieee754sp x,
72
+ union ieee754sp y);
73
+union ieee754sp ieee754sp_msub(union ieee754sp z, union ieee754sp x,
74
+ union ieee754sp y);
75
+union ieee754sp ieee754sp_nmadd(union ieee754sp z, union ieee754sp x,
76
+ union ieee754sp y);
77
+union ieee754sp ieee754sp_nmsub(union ieee754sp z, union ieee754sp x,
78
+ union ieee754sp y);
8379 int ieee754sp_2008class(union ieee754sp x);
8480 union ieee754sp ieee754sp_fmin(union ieee754sp x, union ieee754sp y);
8581 union ieee754sp ieee754sp_fmina(union ieee754sp x, union ieee754sp y);
....@@ -115,6 +111,14 @@
115111 union ieee754dp y);
116112 union ieee754dp ieee754dp_msubf(union ieee754dp z, union ieee754dp x,
117113 union ieee754dp y);
114
+union ieee754dp ieee754dp_madd(union ieee754dp z, union ieee754dp x,
115
+ union ieee754dp y);
116
+union ieee754dp ieee754dp_msub(union ieee754dp z, union ieee754dp x,
117
+ union ieee754dp y);
118
+union ieee754dp ieee754dp_nmadd(union ieee754dp z, union ieee754dp x,
119
+ union ieee754dp y);
120
+union ieee754dp ieee754dp_nmsub(union ieee754dp z, union ieee754dp x,
121
+ union ieee754dp y);
118122 int ieee754dp_2008class(union ieee754dp x);
119123 union ieee754dp ieee754dp_fmin(union ieee754dp x, union ieee754dp y);
120124 union ieee754dp ieee754dp_fmina(union ieee754dp x, union ieee754dp y);