aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/fpu
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-09-26 13:29:01 +0200
committerAndreas Schwab <schwab@redhat.com>2011-09-26 14:01:30 +0200
commitbf972c9dfcda9f95e337c6d4586abcc3bdf46561 (patch)
tree7380ce8d753f2e9cbbd1adbdb8e991408a3fb14d /sysdeps/x86_64/fpu
parente057a1b5930ec538c2b8abbba700a436ef2c81d5 (diff)
downloadglibc-bf972c9dfcda9f95e337c6d4586abcc3bdf46561.zip
glibc-bf972c9dfcda9f95e337c6d4586abcc3bdf46561.tar.gz
glibc-bf972c9dfcda9f95e337c6d4586abcc3bdf46561.tar.bz2
Fix parse error in bits/mathinline.h with --std=c99
Diffstat (limited to 'sysdeps/x86_64/fpu')
-rw-r--r--sysdeps/x86_64/fpu/bits/mathinline.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/x86_64/fpu/bits/mathinline.h b/sysdeps/x86_64/fpu/bits/mathinline.h
index b63ab12..780f878 100644
--- a/sysdeps/x86_64/fpu/bits/mathinline.h
+++ b/sysdeps/x86_64/fpu/bits/mathinline.h
@@ -73,7 +73,7 @@ __MATH_INLINE long int
__NTH (lrintf (float __x))
{
long int __res;
- asm ("cvtss2si %1, %0" : "=r" (__res) : "xm" (__x));
+ __asm ("cvtss2si %1, %0" : "=r" (__res) : "xm" (__x));
return __res;
}
# endif
@@ -82,7 +82,7 @@ __MATH_INLINE long int
__NTH (lrint (double __x))
{
long int __res;
- asm ("cvtsd2si %1, %0" : "=r" (__res) : "xm" (__x));
+ __asm ("cvtsd2si %1, %0" : "=r" (__res) : "xm" (__x));
return __res;
}
# endif
@@ -91,14 +91,14 @@ __MATH_INLINE long long int
__NTH (llrintf (float __x))
{
long long int __res;
- asm ("cvtss2si %1, %0" : "=r" (__res) : "xm" (__x));
+ __asm ("cvtss2si %1, %0" : "=r" (__res) : "xm" (__x));
return __res;
}
__MATH_INLINE long long int
__NTH (llrint (double __x))
{
long long int __res;
- asm ("cvtsd2si %1, %0" : "=r" (__res) : "xm" (__x));
+ __asm ("cvtsd2si %1, %0" : "=r" (__res) : "xm" (__x));
return __res;
}
# endif
@@ -108,13 +108,13 @@ __NTH (llrint (double __x))
__MATH_INLINE float
__NTH (fmaxf (float __x, float __y))
{
- asm ("maxss %1, %0" : "+x" (__x) : "xm" (__y));
+ __asm ("maxss %1, %0" : "+x" (__x) : "xm" (__y));
return __x;
}
__MATH_INLINE double
__NTH (fmax (double __x, double __y))
{
- asm ("maxsd %1, %0" : "+x" (__x) : "xm" (__y));
+ __asm ("maxsd %1, %0" : "+x" (__x) : "xm" (__y));
return __x;
}
@@ -122,13 +122,13 @@ __NTH (fmax (double __x, double __y))
__MATH_INLINE float
__NTH (fminf (float __x, float __y))
{
- asm ("minss %1, %0" : "+x" (__x) : "xm" (__y));
+ __asm ("minss %1, %0" : "+x" (__x) : "xm" (__y));
return __x;
}
__MATH_INLINE double
__NTH (fmin (double __x, double __y))
{
- asm ("minsd %1, %0" : "+x" (__x) : "xm" (__y));
+ __asm ("minsd %1, %0" : "+x" (__x) : "xm" (__y));
return __x;
}
# endif