aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/fpu
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/fpu')
-rw-r--r--sysdeps/s390/fpu/bits/mathinline.h6
-rw-r--r--sysdeps/s390/fpu/e_sqrt.c2
-rw-r--r--sysdeps/s390/fpu/e_sqrtf.c2
-rw-r--r--sysdeps/s390/fpu/e_sqrtl.c2
-rw-r--r--sysdeps/s390/fpu/fesetround.c6
-rw-r--r--sysdeps/s390/fpu/fpu_control.h4
-rw-r--r--sysdeps/s390/fpu/s_fma.c2
-rw-r--r--sysdeps/s390/fpu/s_fmaf.c2
8 files changed, 13 insertions, 13 deletions
diff --git a/sysdeps/s390/fpu/bits/mathinline.h b/sysdeps/s390/fpu/bits/mathinline.h
index 1d35746e8b..633bd0beb2 100644
--- a/sysdeps/s390/fpu/bits/mathinline.h
+++ b/sysdeps/s390/fpu/bits/mathinline.h
@@ -71,7 +71,7 @@ __NTH (__ieee754_sqrt (double x))
{
double res;
- asm ( "sqdbr %0,%1" : "=f" (res) : "f" (x) );
+ __asm__ ( "sqdbr %0,%1" : "=f" (res) : "f" (x) );
return res;
}
@@ -80,7 +80,7 @@ __NTH (__ieee754_sqrtf (float x))
{
float res;
- asm ( "sqebr %0,%1" : "=f" (res) : "f" (x) );
+ __asm__ ( "sqebr %0,%1" : "=f" (res) : "f" (x) );
return res;
}
@@ -90,7 +90,7 @@ __NTH (sqrtl (long double __x))
{
long double res;
- asm ( "sqxbr %0,%1" : "=f" (res) : "f" (__x) );
+ __asm__ ( "sqxbr %0,%1" : "=f" (res) : "f" (__x) );
return res;
}
# endif /* !__NO_LONG_DOUBLE_MATH */
diff --git a/sysdeps/s390/fpu/e_sqrt.c b/sysdeps/s390/fpu/e_sqrt.c
index 35675623c6..f8a8a65473 100644
--- a/sysdeps/s390/fpu/e_sqrt.c
+++ b/sysdeps/s390/fpu/e_sqrt.c
@@ -23,7 +23,7 @@ __ieee754_sqrt (double x)
{
double res;
- asm ( "sqdbr %0,%1" : "=f" (res) : "f" (x) );
+ __asm__ ( "sqdbr %0,%1" : "=f" (res) : "f" (x) );
return res;
}
strong_alias (__ieee754_sqrt, __sqrt_finite)
diff --git a/sysdeps/s390/fpu/e_sqrtf.c b/sysdeps/s390/fpu/e_sqrtf.c
index 3fdd74fa12..bf3a47bdb7 100644
--- a/sysdeps/s390/fpu/e_sqrtf.c
+++ b/sysdeps/s390/fpu/e_sqrtf.c
@@ -23,7 +23,7 @@ __ieee754_sqrtf (float x)
{
float res;
- asm ( "sqebr %0,%1" : "=f" (res) : "f" (x) );
+ __asm__ ( "sqebr %0,%1" : "=f" (res) : "f" (x) );
return res;
}
strong_alias (__ieee754_sqrtf, __sqrtf_finite)
diff --git a/sysdeps/s390/fpu/e_sqrtl.c b/sysdeps/s390/fpu/e_sqrtl.c
index b5215a92a6..06d92b4ef8 100644
--- a/sysdeps/s390/fpu/e_sqrtl.c
+++ b/sysdeps/s390/fpu/e_sqrtl.c
@@ -24,7 +24,7 @@ __ieee754_sqrtl (long double x)
{
long double res;
- asm ( "sqxbr %0,%1" : "=f" (res) : "f" (x) );
+ __asm__ ( "sqxbr %0,%1" : "=f" (res) : "f" (x) );
return res;
}
strong_alias (__ieee754_sqrtl, __sqrtl_finite)
diff --git a/sysdeps/s390/fpu/fesetround.c b/sysdeps/s390/fpu/fesetround.c
index d6eedcee00..5babb9ada5 100644
--- a/sysdeps/s390/fpu/fesetround.c
+++ b/sysdeps/s390/fpu/fesetround.c
@@ -28,9 +28,9 @@ __fesetround (int round)
/* ROUND is not a valid rounding mode. */
return 1;
}
- __asm__ volatile ("srnm 0(%0)"
- :
- : "a" (round));
+ __asm__ __volatile__ ("srnm 0(%0)"
+ :
+ : "a" (round));
return 0;
}
diff --git a/sysdeps/s390/fpu/fpu_control.h b/sysdeps/s390/fpu/fpu_control.h
index 1f663b37d1..f87c32e97b 100644
--- a/sysdeps/s390/fpu/fpu_control.h
+++ b/sysdeps/s390/fpu/fpu_control.h
@@ -34,8 +34,8 @@
typedef unsigned int fpu_control_t;
/* Macros for accessing the hardware control word. */
-#define _FPU_GETCW(cw) __asm__ volatile ("efpc %0,0" : "=d" (cw))
-#define _FPU_SETCW(cw) __asm__ volatile ("sfpc %0,0" : : "d" (cw))
+#define _FPU_GETCW(cw) __asm__ __volatile__ ("efpc %0,0" : "=d" (cw))
+#define _FPU_SETCW(cw) __asm__ __volatile__ ("sfpc %0,0" : : "d" (cw))
/* Default control word set at startup. */
extern fpu_control_t __fpu_control;
diff --git a/sysdeps/s390/fpu/s_fma.c b/sysdeps/s390/fpu/s_fma.c
index fbfeea4977..63d5e9a0db 100644
--- a/sysdeps/s390/fpu/s_fma.c
+++ b/sysdeps/s390/fpu/s_fma.c
@@ -23,7 +23,7 @@ double
__fma (double x, double y, double z)
{
double r;
- asm ("madbr %0,%1,%2" : "=f" (r) : "%f" (x), "fR" (y), "0" (z));
+ __asm__ ("madbr %0,%1,%2" : "=f" (r) : "%f" (x), "fR" (y), "0" (z));
return r;
}
#ifndef __fma
diff --git a/sysdeps/s390/fpu/s_fmaf.c b/sysdeps/s390/fpu/s_fmaf.c
index f65c73e389..8d158703a1 100644
--- a/sysdeps/s390/fpu/s_fmaf.c
+++ b/sysdeps/s390/fpu/s_fmaf.c
@@ -23,7 +23,7 @@ float
__fmaf (float x, float y, float z)
{
float r;
- asm ("maebr %0,%1,%2" : "=f" (r) : "%f" (x), "fR" (y), "0" (z));
+ __asm__ ("maebr %0,%1,%2" : "=f" (r) : "%f" (x), "fR" (y), "0" (z));
return r;
}
#ifndef __fmaf