aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/fpu
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-10 20:19:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-10 20:19:45 +0000
commit828beb132ddf5664cf9971329e8cdcb93dce43af (patch)
treef5ef78a87d896199d8b35b42ee0cb4917b9a3d15 /sysdeps/x86/fpu
parent034ed64b2cd0aeb4cccd40fb8e7e754e41f2d889 (diff)
downloadglibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar
glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.gz
glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.bz2
glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.zip
Use __extension__ with long long in installed headers.
Diffstat (limited to 'sysdeps/x86/fpu')
-rw-r--r--sysdeps/x86/fpu/bits/mathinline.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/x86/fpu/bits/mathinline.h b/sysdeps/x86/fpu/bits/mathinline.h
index 838c13cd8d..fed64149fc 100644
--- a/sysdeps/x86/fpu/bits/mathinline.h
+++ b/sysdeps/x86/fpu/bits/mathinline.h
@@ -198,6 +198,7 @@ __NTH (lrint (double __x))
}
# endif
# ifdef __x86_64__
+__extension__
__MATH_INLINE long long int
__NTH (llrintf (float __x))
{
@@ -209,6 +210,7 @@ __NTH (llrintf (float __x))
__asm __volatile__ ("cvtss2si %1, %0" : "=r" (__res) : "xm" (__x));
return __res;
}
+__extension__
__MATH_INLINE long long int
__NTH (llrint (double __x))
{
@@ -896,16 +898,19 @@ __NTH (lrintl (long double __x))
("fistpll %0" \
: "=m" (__llrintres) : "t" (__x) : "st"); \
return __llrintres
+__extension__
__MATH_INLINE long long int
__NTH (llrintf (float __x))
{
__llrint_code;
}
+__extension__
__MATH_INLINE long long int
__NTH (llrint (double __x))
{
__llrint_code;
}
+__extension__
__MATH_INLINE long long int
__NTH (llrintl (long double __x))
{