From a737ef56ab3eb980f15326ed09b11a96b7c20f1c Mon Sep 17 00:00:00 2001 From: Steve Kargl Date: Sun, 1 Mar 2015 20:32:47 +0000 Subject: 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). --- lib/msun/src/e_j0.c | 6 ++++-- lib/msun/src/e_j0f.c | 6 ++++-- lib/msun/src/e_j1.c | 6 ++++-- lib/msun/src/e_j1f.c | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) (limited to 'lib/msun') diff --git a/lib/msun/src/e_j0.c b/lib/msun/src/e_j0.c index d1198cf5d445..9e269e79cf1c 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 4a9e45709907..0479957c9dbf 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 39b087d11e93..2dc0ba1c7f2b 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 965480bfea12..6077a6924d39 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; -- cgit v1.2.3