From 0f5504179a2e37a20e409c48dcc8d640393cd16d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 25 May 2000 06:15:25 +0000 Subject: Update. 2000-05-23 Jakub Jelinek * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf, __sincosl): Guard with __USE_GNU. --- sysdeps/i386/fpu/bits/mathinline.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sysdeps/i386/fpu') diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h index 33fd5a9c59..a1d9532083 100644 --- a/sysdeps/i386/fpu/bits/mathinline.h +++ b/sysdeps/i386/fpu/bits/mathinline.h @@ -305,7 +305,8 @@ __inline_mathcode (__pow2, __x, \ : "=t" (__value) : "0" (__value), "u" (__exponent)); \ return __value) -#define __sincos_code \ +#ifdef __USE_GNU +# define __sincos_code \ register long double __cosr; \ register long double __sinr; \ __asm __volatile__ \ @@ -344,6 +345,7 @@ __sincosl (long double __x, long double *__sinx, long double *__cosx) { __sincos_code; } +#endif /* Optimized inline implementation, sometimes with reduced precision -- cgit 1.4.1