summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authorkargl <kargl@FreeBSD.org>2015-03-01 20:32:47 +0000
committerkargl <kargl@FreeBSD.org>2015-03-01 20:32:47 +0000
commit780272dc118b1b7e6606343e08d25a130d3be1bb (patch)
treee051774483345261ce3f4fa5cc66bc031971c715 /lib/msun
parentf847122d9d26b5ad3b215818f2967c59aa7c9237 (diff)
downloadFreeBSD-src-780272dc118b1b7e6606343e08d25a130d3be1bb.zip
FreeBSD-src-780272dc118b1b7e6606343e08d25a130d3be1bb.tar.gz
Give compilers a stronger hint to inline the functions
pzero[f], qzero[f], pone[f], and qone[f]. While here fix the function declarations in accordance with style(9).
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/src/e_j0.c6
-rw-r--r--lib/msun/src/e_j0f.c6
-rw-r--r--lib/msun/src/e_j1.c6
-rw-r--r--lib/msun/src/e_j1f.c6
4 files changed, 16 insertions, 8 deletions
diff --git a/lib/msun/src/e_j0.c b/lib/msun/src/e_j0.c
index d1198cf..9e269e7 100644
--- a/lib/msun/src/e_j0.c
+++ b/lib/msun/src/e_j0.c
@@ -268,7 +268,8 @@ static const double pS2[5] = {
1.46576176948256193810e+01, /* 0x402D50B3, 0x44391809 */
};
- static double pzero(double x)
+static __inline double
+pzero(double x)
{
const double *p,*q;
double z,r,s;
@@ -363,7 +364,8 @@ static const double qS2[6] = {
-5.31095493882666946917e+00, /* 0xC0153E6A, 0xF8B32931 */
};
- static double qzero(double x)
+static __inline double
+qzero(double x)
{
const double *p,*q;
double s,r,z;
diff --git a/lib/msun/src/e_j0f.c b/lib/msun/src/e_j0f.c
index 4a9e457..0479957 100644
--- a/lib/msun/src/e_j0f.c
+++ b/lib/msun/src/e_j0f.c
@@ -224,7 +224,8 @@ static const float pS2[5] = {
1.4657617569e+01, /* 0x416a859a */
};
- static float pzerof(float x)
+static __inline float
+pzerof(float x)
{
const float *p,*q;
float z,r,s;
@@ -319,7 +320,8 @@ static const float qS2[6] = {
-5.3109550476e+00, /* 0xc0a9f358 */
};
- static float qzerof(float x)
+static __inline float
+qzerof(float x)
{
const float *p,*q;
float s,r,z;
diff --git a/lib/msun/src/e_j1.c b/lib/msun/src/e_j1.c
index 39b087d1..2dc0ba1 100644
--- a/lib/msun/src/e_j1.c
+++ b/lib/msun/src/e_j1.c
@@ -262,7 +262,8 @@ static const double ps2[5] = {
8.36463893371618283368e+00, /* 0x4020BAB1, 0xF44E5192 */
};
- static double pone(double x)
+static __inline double
+pone(double x)
{
const double *p,*q;
double z,r,s;
@@ -358,7 +359,8 @@ static const double qs2[6] = {
-4.95949898822628210127e+00, /* 0xC013D686, 0xE71BE86B */
};
- static double qone(double x)
+static __inline double
+qone(double x)
{
const double *p,*q;
double s,r,z;
diff --git a/lib/msun/src/e_j1f.c b/lib/msun/src/e_j1f.c
index 965480b..6077a69 100644
--- a/lib/msun/src/e_j1f.c
+++ b/lib/msun/src/e_j1f.c
@@ -219,7 +219,8 @@ static const float ps2[5] = {
8.3646392822e+00, /* 0x4105d590 */
};
- static float ponef(float x)
+static __inline float
+ponef(float x)
{
const float *p,*q;
float z,r,s;
@@ -315,7 +316,8 @@ static const float qs2[6] = {
-4.9594988823e+00, /* 0xc09eb437 */
};
- static float qonef(float x)
+static __inline float
+qonef(float x)
{
const float *p,*q;
float s,r,z;
OpenPOWER on IntegriCloud