2015-06-17 13:22:26 +00:00
|
|
|
/* Offsets for data table for function pow.
|
2020-01-01 00:14:33 +00:00
|
|
|
Copyright (C) 2014-2020 Free Software Foundation, Inc.
|
2015-06-17 13:22:26 +00:00
|
|
|
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
|
Prefer https to http for gnu.org and fsf.org URLs
Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:
sed -ri '
s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
$(find $(git ls-files) -prune -type f \
! -name '*.po' \
! -name 'ChangeLog*' \
! -path COPYING ! -path COPYING.LIB \
! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
! -path manual/texinfo.tex ! -path scripts/config.guess \
! -path scripts/config.sub ! -path scripts/install-sh \
! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
! -path INSTALL ! -path locale/programs/charmap-kw.h \
! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
! '(' -name configure \
-execdir test -f configure.ac -o -f configure.in ';' ')' \
! '(' -name preconfigure \
-execdir test -f preconfigure.ac ';' ')' \
-print)
and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:
chmod a+x sysdeps/unix/sysv/linux/riscv/configure
# Omit irrelevant whitespace and comment-only changes,
# perhaps from a slightly-different Autoconf version.
git checkout -f \
sysdeps/csky/configure \
sysdeps/hppa/configure \
sysdeps/riscv/configure \
sysdeps/unix/sysv/linux/csky/configure
# Omit changes that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
git checkout -f \
sysdeps/powerpc/powerpc64/ppc-mcount.S \
sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
# Omit change that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
2019-09-07 05:40:42 +00:00
|
|
|
<https://www.gnu.org/licenses/>. */
|
2015-06-17 13:22:26 +00:00
|
|
|
|
|
|
|
#ifndef D_POW_DATA_H
|
|
|
|
#define D_POW_DATA_H
|
|
|
|
|
|
|
|
#define _hsw_log2_table 0
|
|
|
|
#define _hsw_dTe 8256
|
|
|
|
#define _hsw_dMantMask 10304
|
|
|
|
#define _hsw_dOne 10368
|
|
|
|
#define _hsw_dCvtMask 10432
|
|
|
|
#define _hsw_dMinNorm 10496
|
|
|
|
#define _hsw_dMaxNorm 10560
|
|
|
|
#define _hsw_lRndBit 10624
|
|
|
|
#define _hsw_lRndMask 10688
|
|
|
|
#define _hsw_dc6 10752
|
|
|
|
#define _hsw_dc5 10816
|
|
|
|
#define _hsw_dc4 10880
|
|
|
|
#define _hsw_dc3 10944
|
|
|
|
#define _hsw_dc1 11008
|
|
|
|
#define _hsw_dc1h 11072
|
|
|
|
#define _hsw_dc2 11136
|
|
|
|
#define _hsw_dAbsMask 11200
|
|
|
|
#define _hsw_dDomainRange 11264
|
|
|
|
#define _hsw_dShifter 11328
|
|
|
|
#define _hsw_dIndexMask 11392
|
|
|
|
#define _hsw_dce4 11456
|
|
|
|
#define _hsw_dce3 11520
|
|
|
|
#define _hsw_dce2 11584
|
|
|
|
#define _hsw_dce1 11648
|
|
|
|
#define _rcp_t1 11712
|
|
|
|
#define _log2_t1 19968
|
|
|
|
#define _exp2_tbl 36416
|
|
|
|
#define _clv_1 38464
|
|
|
|
#define _clv_2 38528
|
|
|
|
#define _clv_3 38592
|
|
|
|
#define _clv_4 38656
|
|
|
|
#define _clv_5 38720
|
|
|
|
#define _clv_6 38784
|
|
|
|
#define _clv_7 38848
|
|
|
|
#define _cev_1 38912
|
|
|
|
#define _cev_2 38976
|
|
|
|
#define _cev_3 39040
|
|
|
|
#define _cev_4 39104
|
|
|
|
#define _cev_5 39168
|
|
|
|
#define _iMantissaMask 39232
|
|
|
|
#define _i3fe7fe0000000000 39296
|
|
|
|
#define _dbOne 39360
|
|
|
|
#define _iffffffff00000000 39424
|
|
|
|
#define _db2p20_2p19 39488
|
|
|
|
#define _iHighMask 39552
|
|
|
|
#define _LHN 39616
|
|
|
|
#define _ifff0000000000000 39680
|
|
|
|
#define _db2p45_2p44 39744
|
|
|
|
#define _NEG_INF 39808
|
|
|
|
#define _NEG_ZERO 39872
|
|
|
|
#define _d2pow52 39936
|
|
|
|
#define _d1div2pow111 40000
|
|
|
|
#define _HIDELTA 40064
|
|
|
|
#define _LORANGE 40128
|
|
|
|
#define _ABSMASK 40192
|
|
|
|
#define _INF 40256
|
|
|
|
#define _DOMAINRANGE 40320
|
|
|
|
#define _iIndexMask 40384
|
|
|
|
#define _iIndexAdd 40448
|
|
|
|
#define _i3fe7fe00 40512
|
|
|
|
#define _i2p20_2p19 40576
|
|
|
|
#define _iOne 40640
|
|
|
|
#define _jIndexMask 40704
|
|
|
|
|
|
|
|
.macro double_vector offset value
|
|
|
|
.if .-__svml_dpow_data != \offset
|
|
|
|
.err
|
|
|
|
.endif
|
|
|
|
.rept 8
|
|
|
|
.quad \value
|
|
|
|
.endr
|
|
|
|
.endm
|
|
|
|
|
|
|
|
.macro float_vector offset value
|
|
|
|
.if .-__svml_dpow_data != \offset
|
|
|
|
.err
|
|
|
|
.endif
|
|
|
|
.rept 16
|
|
|
|
.long \value
|
|
|
|
.endr
|
|
|
|
.endm
|
|
|
|
|
|
|
|
#endif
|