[PATCH] Fix parse error in bits/mathinline.h with --std=c99
Andreas Schwab
schwab@redhat.com
Mon Aug 31 14:33:00 GMT 2009
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."
More information about the Libc-alpha
mailing list