]> git.ipfire.org Git - thirdparty/gcc.git/blame - libquadmath/quadmath_weak.h
rs6000: Improve the load/store-with-update patterns (PR17108)
[thirdparty/gcc.git] / libquadmath / quadmath_weak.h
CommitLineData
e08ec256 1/* GCC Quad-Precision Math Library
8316a8d1 2 Copyright (C) 2010-2018 Free Software Foundation, Inc.
e08ec256 3 Written by Tobias Burnus <burnus@net-b.de>
4
657c8e78 5This file is part of the libquadmath library.
6Libquadmath is free software; you can redistribute it and/or
e08ec256 7modify it under the terms of the GNU Library General Public
8License as published by the Free Software Foundation; either
9version 2 of the License, or (at your option) any later version.
10
657c8e78 11Libquadmath is distributed in the hope that it will be useful,
e08ec256 12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14Library General Public License for more details.
15
16You should have received a copy of the GNU Library General Public
657c8e78 17License along with libquadmath; see the file COPYING.LIB. If
e08ec256 18not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
19Boston, MA 02110-1301, USA. */
20
87969c8c 21#ifndef QUADMATH_WEAK_H
22#define QUADMATH_WEAK_H
23
24#include "quadmath.h"
25
26#if SUPPORTS_WEAK
27# define __qmath2(name,name2,type) \
8316a8d1 28 static __typeof(type) name __attribute__ ((__weakref__(#name2))) \
29 __quadmath_throw;
87969c8c 30# define __qmath_(name) __qmath_ ## name
31#else
32# define __qmath2(name,name2,type)
33# define __qmath_(name) name
34#endif
35
36/* __qmath_foo is a weak reference to symbol foo. */
37#define __qmath3(name) __qmath2(__qmath_ ## name,name,name)
38
657c8e78 39/* Prototypes for real functions. */
87969c8c 40__qmath3 (acosq)
41__qmath3 (acoshq)
42__qmath3 (asinq)
43__qmath3 (asinhq)
44__qmath3 (atanq)
45__qmath3 (atanhq)
46__qmath3 (atan2q)
47__qmath3 (cbrtq)
48__qmath3 (ceilq)
49__qmath3 (copysignq)
50__qmath3 (coshq)
51__qmath3 (cosq)
52__qmath3 (erfq)
53__qmath3 (erfcq)
e409716d 54__qmath3 (exp2q)
87969c8c 55__qmath3 (expq)
56__qmath3 (expm1q)
57__qmath3 (fabsq)
e7b8ec29 58__qmath3 (fdimq)
87969c8c 59__qmath3 (finiteq)
60__qmath3 (floorq)
bcaa791f 61__qmath3 (fmaq)
e7b8ec29 62__qmath3 (fmaxq)
63__qmath3 (fminq)
87969c8c 64__qmath3 (fmodq)
65__qmath3 (frexpq)
66__qmath3 (hypotq)
e7b8ec29 67__qmath3 (ilogbq)
87969c8c 68__qmath3 (isinfq)
69__qmath3 (isnanq)
e409716d 70__qmath3 (issignalingq)
87969c8c 71__qmath3 (j0q)
72__qmath3 (j1q)
73__qmath3 (jnq)
74__qmath3 (ldexpq)
75__qmath3 (lgammaq)
e7b8ec29 76__qmath3 (llrintq)
87969c8c 77__qmath3 (llroundq)
03cb8c1e 78__qmath3 (logbq)
87969c8c 79__qmath3 (logq)
80__qmath3 (log10q)
81__qmath3 (log1pq)
e7b8ec29 82__qmath3 (log2q)
83__qmath3 (lrintq)
87969c8c 84__qmath3 (lroundq)
85__qmath3 (modfq)
86__qmath3 (nanq)
e7b8ec29 87__qmath3 (nearbyintq)
87969c8c 88__qmath3 (nextafterq)
89__qmath3 (powq)
90__qmath3 (remainderq)
e7b8ec29 91__qmath3 (remquoq)
87969c8c 92__qmath3 (rintq)
93__qmath3 (roundq)
94__qmath3 (scalblnq)
95__qmath3 (scalbnq)
96__qmath3 (signbitq)
97__qmath3 (sincosq)
98__qmath3 (sinhq)
99__qmath3 (sinq)
100__qmath3 (sqrtq)
101__qmath3 (tanq)
102__qmath3 (tanhq)
103__qmath3 (tgammaq)
104__qmath3 (truncq)
105__qmath3 (y0q)
106__qmath3 (y1q)
107__qmath3 (ynq)
108
109
657c8e78 110/* Prototypes for complex functions. */
87969c8c 111__qmath3 (cabsq)
112__qmath3 (cargq)
e7b8ec29 113__qmath3 (cimagq)
114__qmath3 (crealq)
b12676a5 115__qmath3 (cacosq)
116__qmath3 (cacoshq)
117__qmath3 (casinq)
118__qmath3 (casinhq)
119__qmath3 (catanq)
120__qmath3 (catanhq)
87969c8c 121__qmath3 (ccosq)
122__qmath3 (ccoshq)
123__qmath3 (cexpq)
124__qmath3 (cexpiq)
125__qmath3 (clogq)
126__qmath3 (clog10q)
e7b8ec29 127__qmath3 (conjq)
87969c8c 128__qmath3 (cpowq)
e7b8ec29 129__qmath3 (cprojq)
87969c8c 130__qmath3 (csinq)
131__qmath3 (csinhq)
132__qmath3 (csqrtq)
133__qmath3 (ctanq)
134__qmath3 (ctanhq)
135
136
657c8e78 137/* Prototypes for string <-> flt128 conversion functions. */
ff44adf2 138__qmath3 (strtoflt128)
0c0fb0a6 139__qmath3 (quadmath_snprintf)
87969c8c 140
141#endif