| 1 | /* Offsets for data table for function powf. |
| 2 | Copyright (C) 2014-2023 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. |
| 4 | |
| 5 | The GNU C Library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; either |
| 8 | version 2.1 of the License, or (at your option) any later version. |
| 9 | |
| 10 | The GNU C Library is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with the GNU C Library; if not, see |
| 17 | <https://www.gnu.org/licenses/>. */ |
| 18 | |
| 19 | #ifndef S_POWF_DATA_H |
| 20 | #define S_POWF_DATA_H |
| 21 | |
| 22 | #define _Log2Rcp_lookup -4218496 |
| 23 | #define _NMINNORM 0 |
| 24 | #define _NMAXVAL 64 |
| 25 | #define _INF 128 |
| 26 | #define _ABSMASK 192 |
| 27 | #define _DOMAINRANGE 256 |
| 28 | #define _Log_HA_table 320 |
| 29 | #define _Log_LA_table 8576 |
| 30 | #define _poly_coeff_1 12736 |
| 31 | #define _poly_coeff_2 12800 |
| 32 | #define _poly_coeff_3 12864 |
| 33 | #define _poly_coeff_4 12928 |
| 34 | #define _ExpMask 12992 |
| 35 | #define _Two10 13056 |
| 36 | #define _MinNorm 13120 |
| 37 | #define _MaxNorm 13184 |
| 38 | #define _HalfMask 13248 |
| 39 | #define _One 13312 |
| 40 | #define _L2H 13376 |
| 41 | #define _L2L 13440 |
| 42 | #define _Threshold 13504 |
| 43 | #define _Bias 13568 |
| 44 | #define _Bias1 13632 |
| 45 | #define _L2 13696 |
| 46 | #define _dInfs 13760 |
| 47 | #define _dOnes 13824 |
| 48 | #define _dZeros 13888 |
| 49 | #define __dbT 13952 |
| 50 | #define __dbInvLn2 30400 |
| 51 | #define __dbShifter 30464 |
| 52 | #define __dbHALF 30528 |
| 53 | #define __dbC1 30592 |
| 54 | #define __lbLOWKBITS 30656 |
| 55 | #define __iAbsMask 30720 |
| 56 | #define __iDomainRange 30784 |
| 57 | |
| 58 | .macro double_vector offset value |
| 59 | .if .-__svml_spow_data != \offset |
| 60 | .err |
| 61 | .endif |
| 62 | .rept 8 |
| 63 | .quad \value |
| 64 | .endr |
| 65 | .endm |
| 66 | |
| 67 | .macro float_vector offset value |
| 68 | .if .-__svml_spow_data != \offset |
| 69 | .err |
| 70 | .endif |
| 71 | .rept 16 |
| 72 | .long \value |
| 73 | .endr |
| 74 | .endm |
| 75 | |
| 76 | #endif |
| 77 | |