summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/bits/mathinline.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 10:59:18 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 10:59:18 +0000
commitd35b0bc119816825a657f7c9c2a1f062e7048c39 (patch)
tree92094ee13ffb04d81a4f34674bb09da5f4b5b8ec /libc/sysdeps/linux/powerpc/bits/mathinline.h
parent40ee4cb9496ed037957db9790e5bd87604d45fe5 (diff)
- fix asm and volatile keywords
Diffstat (limited to 'libc/sysdeps/linux/powerpc/bits/mathinline.h')
-rw-r--r--libc/sysdeps/linux/powerpc/bits/mathinline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/powerpc/bits/mathinline.h b/libc/sysdeps/linux/powerpc/bits/mathinline.h
index e2536a3cc..d1b05f388 100644
--- a/libc/sysdeps/linux/powerpc/bits/mathinline.h
+++ b/libc/sysdeps/linux/powerpc/bits/mathinline.h
@@ -148,7 +148,7 @@ __NTH (__ieee754_sqrt (double __x))
{
/* Volatile is required to prevent the compiler from moving the
fsqrt instruction above the branch. */
- __asm __volatile (
+ __asm__ __volatile__ (
" fsqrt %0,%1\n"
: "=f" (__z)
: "f" (__x));
@@ -170,7 +170,7 @@ __NTH (__ieee754_sqrtf (float __x))
{
/* Volatile is required to prevent the compiler from moving the
fsqrts instruction above the branch. */
- __asm __volatile (
+ __asm__ __volatile__ (
" fsqrts %0,%1\n"
: "=f" (__z)
: "f" (__x));