.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* IEEE754 floating point arithmetic |
---|
2 | 3 | * double precision square root |
---|
3 | 4 | */ |
---|
4 | 5 | /* |
---|
5 | 6 | * MIPS floating point support |
---|
6 | 7 | * 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. |
---|
20 | 8 | */ |
---|
21 | 9 | |
---|
22 | 10 | #include "ieee754dp.h" |
---|
.. | .. |
---|
64 | 52 | |
---|
65 | 53 | case IEEE754_CLASS_DNORM: |
---|
66 | 54 | DPDNORMX; |
---|
67 | | - /* fall through */ |
---|
68 | | - |
---|
| 55 | + fallthrough; |
---|
69 | 56 | case IEEE754_CLASS_NORM: |
---|
70 | 57 | if (xs) { |
---|
71 | 58 | /* sqrt(-x) = Nan */ |
---|
.. | .. |
---|
142 | 129 | switch (oldcsr.rm) { |
---|
143 | 130 | case FPU_CSR_RU: |
---|
144 | 131 | y.bits += 1; |
---|
145 | | - /* fall through */ |
---|
| 132 | + fallthrough; |
---|
146 | 133 | case FPU_CSR_RN: |
---|
147 | 134 | t.bits += 1; |
---|
148 | 135 | break; |
---|