This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Fix parse error in bits/mathinline.h with --std=c99
- From: Andreas Schwab <schwab at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 31 Aug 2009 11:56:08 +0200
- Subject: [PATCH] Fix parse error in bits/mathinline.h with --std=c99
2009-08-31 Andreas Schwab <schwab@redhat.com>
* sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
diff --git a/sysdeps/x86_64/fpu/bits/mathinline.h b/sysdeps/x86_64/fpu/bits/mathinline.h
index 8d4850d..ece0f02 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
--
1.6.4
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."