about summary refs log tree commit diff
path: root/sysdeps/s390/s390-64/utf16-utf32-z9.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/s390-64/utf16-utf32-z9.c')
-rw-r--r--sysdeps/s390/s390-64/utf16-utf32-z9.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/sysdeps/s390/s390-64/utf16-utf32-z9.c b/sysdeps/s390/s390-64/utf16-utf32-z9.c
index f887c34e61..d9177bff18 100644
--- a/sysdeps/s390/s390-64/utf16-utf32-z9.c
+++ b/sysdeps/s390/s390-64/utf16-utf32-z9.c
@@ -163,22 +163,22 @@ gconv_end (struct __gconv_step *data)
    directions.  */
 #define HARDWARE_CONVERT(INSTRUCTION)					\
   {									\
-    register const unsigned char* pInput asm ("8") = inptr;		\
-    register unsigned long long inlen asm ("9") = inend - inptr;	\
-    register unsigned char* pOutput asm ("10") = outptr;		\
-    register unsigned long long outlen asm("11") = outend - outptr;	\
+    register const unsigned char* pInput __asm__ ("8") = inptr;		\
+    register unsigned long long inlen __asm__ ("9") = inend - inptr;	\
+    register unsigned char* pOutput __asm__ ("10") = outptr;		\
+    register unsigned long long outlen __asm__("11") = outend - outptr;	\
     uint64_t cc = 0;							\
 									\
-    asm volatile (".machine push       \n\t"				\
-                  ".machine \"z9-109\" \n\t"				\
-		  "0: " INSTRUCTION "  \n\t"				\
-                  ".machine pop        \n\t"				\
-                  "   jo     0b        \n\t"				\
-		  "   ipm    %2        \n"			        \
-		  : "+a" (pOutput), "+a" (pInput), "+d" (cc),		\
-		    "+d" (outlen), "+d" (inlen)				\
-		  :							\
-		  : "cc", "memory");					\
+    __asm__ volatile (".machine push       \n\t"			\
+		      ".machine \"z9-109\" \n\t"			\
+		      "0: " INSTRUCTION "  \n\t"			\
+		      ".machine pop        \n\t"			\
+		      "   jo     0b        \n\t"			\
+		      "   ipm    %2        \n"				\
+		      : "+a" (pOutput), "+a" (pInput), "+d" (cc),	\
+		      "+d" (outlen), "+d" (inlen)			\
+		      :							\
+		      : "cc", "memory");				\
 									\
     inptr = pInput;							\
     outptr = pOutput;							\