Skip to content

Commit

Permalink
Fix parse error in bits/mathinline.h with --std=c99
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Aug 31, 2009
1 parent b5c03e1 commit c2735e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/x86_64/fpu/bits/mathinline.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2735e9

Please sign in to comment.