| 1 | /* Offsets for data table for vectorized function logf. |
| 2 | Copyright (C) 2014-2020 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_LOGF_DATA_H |
| 20 | #define S_LOGF_DATA_H |
| 21 | |
| 22 | #define _sPoly_1 0 |
| 23 | #define _sPoly_2 64 |
| 24 | #define _sPoly_3 128 |
| 25 | #define _sPoly_4 192 |
| 26 | #define _sPoly_5 256 |
| 27 | #define _sPoly_6 320 |
| 28 | #define _sPoly_7 384 |
| 29 | #define _iHiDelta 448 |
| 30 | #define _iLoRange 512 |
| 31 | #define _iBrkValue 576 |
| 32 | #define _iOffExpoMask 640 |
| 33 | #define _sOne 704 |
| 34 | #define _sLn2 768 |
| 35 | #define _sInfs 832 |
| 36 | #define _sOnes 896 |
| 37 | #define _sZeros 960 |
| 38 | |
| 39 | .macro float_vector offset value |
| 40 | .if .-__svml_slog_data != \offset |
| 41 | .err |
| 42 | .endif |
| 43 | .rept 16 |
| 44 | .long \value |
| 45 | .endr |
| 46 | .endm |
| 47 | |
| 48 | #endif |
| 49 | |