hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/mips/math-emu/sp_fmax.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * IEEE754 floating point arithmetic
34 * single precision: MAX{,A}.f
....@@ -10,10 +11,6 @@
1011 * MIPS floating point support
1112 * Copyright (C) 2015 Imagination Technologies, Ltd.
1213 * Author: Markos Chandras <markos.chandras@imgtec.com>
13
- *
14
- * This program is free software; you can distribute it and/or modify it
15
- * under the terms of the GNU General Public License as published by the
16
- * Free Software Foundation; version 2 of the License.
1714 */
1815
1916 #include "ieee754sp.h"
....@@ -96,8 +93,7 @@
9693
9794 case CLPAIR(IEEE754_CLASS_DNORM, IEEE754_CLASS_DNORM):
9895 SPDNORMX;
99
- /* fall through */
100
-
96
+ fallthrough;
10197 case CLPAIR(IEEE754_CLASS_NORM, IEEE754_CLASS_DNORM):
10298 SPDNORMY;
10399 break;
....@@ -225,8 +221,7 @@
225221
226222 case CLPAIR(IEEE754_CLASS_DNORM, IEEE754_CLASS_DNORM):
227223 SPDNORMX;
228
- /* fall through */
229
-
224
+ fallthrough;
230225 case CLPAIR(IEEE754_CLASS_NORM, IEEE754_CLASS_DNORM):
231226 SPDNORMY;
232227 break;