Vector logf for x86_64 and tests.
[glibc.git] / sysdeps / x86_64 / fpu / svml_s_logf_data.h
blobd42411a84934620ae0a178af23621e3e3087c3f6
1 /* Offsets for data table for vectorized function logf.
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_LOGF_DATA_H
20 #define S_LOGF_DATA_H
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
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
48 #endif