summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-08-31 11:52:17 +0200
committerAndreas Schwab <schwab@redhat.com>2009-08-31 17:26:14 +0200
commitc2735e958acc6a69daab71fdc463564860f20794 (patch)
treef4dd928c469b312808017111df7ae36b1b9bfa24
parentb5c03e105cb445a7dc08289e7e6751434c3262ce (diff)
Fix parse error in bits/mathinline.h with --std=c99
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/x86_64/fpu/bits/mathinline.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f6de8b9d7..d230db7ad8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-31 Andreas Schwab <schwab@redhat.com>
+
+ * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
+
2009-08-31 Ulrich Drepper <drepper@redhat.com>
[BZ #10560]
diff --git a/sysdeps/x86_64/fpu/bits/mathinline.h b/sysdeps/x86_64/fpu/bits/mathinline.h
index 8d4850dfc0..ece0f02678 100644
--- a/sysdeps/x86_64/fpu/bits/mathinline.h
+++ b/sysdeps/x86_64/fpu/bits/mathinline.h
@@ -36,14 +36,14 @@ __MATH_INLINE int
__NTH (__signbitf (float __x))
{
int __m;
- asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x));
+ __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x));
return __m & 0x8;
}
__MATH_INLINE int
__NTH (__signbit (double __x))
{
int __m;
- asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x));
+ __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x));
return __m & 0x80;
}
__MATH_INLINE int