Fix sin, sincos missing underflows (bug 16526, bug 16538).
[glibc.git] / sysdeps / x86_64 / fpu / svml_s_cosf_data.h
blob1e25c5a56d31062026fdab4e95104cfffa1dcbe3
1 /* Offsets for data table for vectorized cosf.
2 Copyright (C) 2014-2015 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
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.
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.
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 <http://www.gnu.org/licenses/>. */
19 #ifndef S_COSF_DATA_H
20 #define S_COSF_DATA_H
22 .macro float_vector offset value
23 .if .-__svml_scos_data != \offset
24 .err
25 .endif
26 .rept 16
27 .long \value
28 .endr
29 .endm
31 #define __dT 0
32 #define __sAbsMask 4096
33 #define __sRangeReductionVal 4160
34 #define __sRangeVal 4224
35 #define __sS1 4288
36 #define __sS2 4352
37 #define __sC1 4416
38 #define __sC2 4480
39 #define __sPI1 4544
40 #define __sPI2 4608
41 #define __sPI3 4672
42 #define __sPI4 4736
43 #define __sPI1_FMA 4800
44 #define __sPI2_FMA 4864
45 #define __sPI3_FMA 4928
46 #define __sA3 4992
47 #define __sA5 5056
48 #define __sA7 5120
49 #define __sA9 5184
50 #define __sA5_FMA 5248
51 #define __sA7_FMA 5312
52 #define __sA9_FMA 5376
53 #define __sInvPI 5440
54 #define __sRShifter 5504
55 #define __sHalfPI 5568
56 #define __sOneHalf 5632
58 #endif