1 | /* Offsets for data table for function pow. |
2 | Copyright (C) 2014-2021 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 D_POW_DATA_H |
20 | #define D_POW_DATA_H |
21 | |
22 | #define _hsw_log2_table 0 |
23 | #define _hsw_dTe 8256 |
24 | #define _hsw_dMantMask 10304 |
25 | #define _hsw_dOne 10368 |
26 | #define _hsw_dCvtMask 10432 |
27 | #define _hsw_dMinNorm 10496 |
28 | #define _hsw_dMaxNorm 10560 |
29 | #define _hsw_lRndBit 10624 |
30 | #define _hsw_lRndMask 10688 |
31 | #define _hsw_dc6 10752 |
32 | #define _hsw_dc5 10816 |
33 | #define _hsw_dc4 10880 |
34 | #define _hsw_dc3 10944 |
35 | #define _hsw_dc1 11008 |
36 | #define _hsw_dc1h 11072 |
37 | #define _hsw_dc2 11136 |
38 | #define _hsw_dAbsMask 11200 |
39 | #define _hsw_dDomainRange 11264 |
40 | #define _hsw_dShifter 11328 |
41 | #define _hsw_dIndexMask 11392 |
42 | #define _hsw_dce4 11456 |
43 | #define _hsw_dce3 11520 |
44 | #define _hsw_dce2 11584 |
45 | #define _hsw_dce1 11648 |
46 | #define _rcp_t1 11712 |
47 | #define _log2_t1 19968 |
48 | #define _exp2_tbl 36416 |
49 | #define _clv_1 38464 |
50 | #define _clv_2 38528 |
51 | #define _clv_3 38592 |
52 | #define _clv_4 38656 |
53 | #define _clv_5 38720 |
54 | #define _clv_6 38784 |
55 | #define _clv_7 38848 |
56 | #define _cev_1 38912 |
57 | #define _cev_2 38976 |
58 | #define _cev_3 39040 |
59 | #define _cev_4 39104 |
60 | #define _cev_5 39168 |
61 | #define _iMantissaMask 39232 |
62 | #define _i3fe7fe0000000000 39296 |
63 | #define _dbOne 39360 |
64 | #define _iffffffff00000000 39424 |
65 | #define _db2p20_2p19 39488 |
66 | #define _iHighMask 39552 |
67 | #define _LHN 39616 |
68 | #define _ifff0000000000000 39680 |
69 | #define _db2p45_2p44 39744 |
70 | #define _NEG_INF 39808 |
71 | #define _NEG_ZERO 39872 |
72 | #define _d2pow52 39936 |
73 | #define _d1div2pow111 40000 |
74 | #define _HIDELTA 40064 |
75 | #define _LORANGE 40128 |
76 | #define _ABSMASK 40192 |
77 | #define _INF 40256 |
78 | #define _DOMAINRANGE 40320 |
79 | #define _iIndexMask 40384 |
80 | #define _iIndexAdd 40448 |
81 | #define _i3fe7fe00 40512 |
82 | #define _i2p20_2p19 40576 |
83 | #define _iOne 40640 |
84 | #define _jIndexMask 40704 |
85 | |
86 | .macro double_vector offset value |
87 | .if .-__svml_dpow_data != \offset |
88 | .err |
89 | .endif |
90 | .rept 8 |
91 | .quad \value |
92 | .endr |
93 | .endm |
94 | |
95 | .macro float_vector offset value |
96 | .if .-__svml_dpow_data != \offset |
97 | .err |
98 | .endif |
99 | .rept 16 |
100 | .long \value |
101 | .endr |
102 | .endm |
103 | |
104 | #endif |
105 | |