blob: 5437d7e261099a307a8928978cbe3bdaa48e2340 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
/* Offsets for data table for vectorized sin, cos, sincos.
Copyright (C) 2014-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
#ifndef D_TRIG_DATA_H
#define D_TRIG_DATA_H
#define __dAbsMask 0
#define __dRangeVal 64
#define __dRangeVal_sin 64*2
#define __dHalfPI 64*3
#define __dInvPI 64*4
#define __dRShifter 64*5
#define __dZero 64*6
#define __lNZero 64*7
#define __dOneHalf 64*8
#define __dPI1 64*9
#define __dPI2 64*10
#define __dPI3 64*11
#define __dPI4 64*12
#define __dPI1_FMA 64*13
#define __dPI2_FMA 64*14
#define __dPI3_FMA 64*15
#define __dHalfPI1 64*16
#define __dHalfPI2 64*17
#define __dHalfPI3 64*18
#define __dHalfPI4 64*19
#define __dC1 64*20
#define __dC2 64*21
#define __dC3 64*22
#define __dC4 64*23
#define __dC5 64*24
#define __dC6 64*25
#define __dC7 64*26
#define __dC1_sin 64*27
#define __dC2_sin 64*28
#define __dC3_sin 64*29
#define __dC4_sin 64*30
#define __dC5_sin 64*31
#define __dC6_sin 64*32
#define __dC7_sin 64*33
#define __dRShifter_la 64*34
#define __dRShifterm5_la 64*35
#define __dRXmax_la 64*36
#define __dAbsMask_la __dAbsMask
#define __dInvPI_la __dInvPI
#define __dSignMask __lNZero
.macro double_vector offset value
.if .-__svml_d_trig_data != \offset
.err
.endif
.rept 8
.quad \value
.endr
.endm
#endif
|