This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.14-314-gbf972c9
- From: schwab at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Sep 2011 12:03:22 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.14-314-gbf972c9
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via bf972c9dfcda9f95e337c6d4586abcc3bdf46561 (commit)
from e057a1b5930ec538c2b8abbba700a436ef2c81d5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=bf972c9dfcda9f95e337c6d4586abcc3bdf46561
commit bf972c9dfcda9f95e337c6d4586abcc3bdf46561
Author: Andreas Schwab <schwab@redhat.com>
Date: Mon Sep 26 13:29:01 2011 +0200
Fix parse error in bits/mathinline.h with --std=c99
diff --git a/ChangeLog b/ChangeLog
index 693745f..1047cce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-26 Andreas Schwab <schwab@redhat.com>
+
+ * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
+
2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
Maxim Kuvyrkov <maxim@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
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
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
sysdeps/x86_64/fpu/bits/mathinline.h | 16 ++++++++--------
2 files changed, 12 insertions(+), 8 deletions(-)
hooks/post-receive
--
GNU C Library master sources