forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/arch/mips/math-emu/sp_sub.c
....@@ -1,22 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* IEEE754 floating point arithmetic
23 * single precision
34 */
45 /*
56 * MIPS floating point support
67 * Copyright (C) 1994-2000 Algorithmics Ltd.
7
- *
8
- * This program is free software; you can distribute it and/or modify it
9
- * under the terms of the GNU General Public License (Version 2) as
10
- * published by the Free Software Foundation.
11
- *
12
- * This program is distributed in the hope it will be useful, but WITHOUT
13
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15
- * for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License along
18
- * with this program; if not, write to the Free Software Foundation, Inc.,
19
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
208 */
219
2210 #include "ieee754sp.h"
....@@ -106,8 +94,7 @@
10694
10795 case CLPAIR(IEEE754_CLASS_DNORM, IEEE754_CLASS_DNORM):
10896 SPDNORMX;
109
- /* fall through */
110
-
97
+ fallthrough;
11198 case CLPAIR(IEEE754_CLASS_NORM, IEEE754_CLASS_DNORM):
11299 SPDNORMY;
113100 break;