Add __always_inline to __ieee754_rem_pio2() and __ieee754_rem_pio2f(),

since some older versions of gcc refuse to inline these otherwise.

Requested by:	bde
MFC after:	1 week
This commit is contained in:
Dimitry Andric 2012-08-11 15:47:22 +00:00
parent bf89d544d0
commit f049a6cb4a
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ pio2_3 = 2.02226624871116645580e-21, /* 0x3BA3198A, 0x2E000000 */
pio2_3t = 8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */ pio2_3t = 8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */
#ifdef INLINE_REM_PIO2 #ifdef INLINE_REM_PIO2
static __inline static __inline __always_inline
#endif #endif
int int
__ieee754_rem_pio2(double x, double *y) __ieee754_rem_pio2(double x, double *y)

View File

@ -41,7 +41,7 @@ pio2_1 = 1.57079631090164184570e+00, /* 0x3FF921FB, 0x50000000 */
pio2_1t = 1.58932547735281966916e-08; /* 0x3E5110b4, 0x611A6263 */ pio2_1t = 1.58932547735281966916e-08; /* 0x3E5110b4, 0x611A6263 */
#ifdef INLINE_REM_PIO2F #ifdef INLINE_REM_PIO2F
static __inline static __inline __always_inline
#endif #endif
int int
__ieee754_rem_pio2f(float x, double *y) __ieee754_rem_pio2f(float x, double *y)