mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
Use .machine to prevent AS from complaining about z9-109 instructions in iconv modules
This commit is contained in:
parent
1044270502
commit
2739047682
@ -1,3 +1,10 @@
|
|||||||
|
2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||||
|
|
||||||
|
* sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
|
||||||
|
instructions into .machine "z9-109".
|
||||||
|
* sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
|
||||||
|
* sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
|
||||||
|
|
||||||
2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||||
|
|
||||||
* sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
|
* sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
|
||||||
|
@ -169,7 +169,10 @@ gconv_end (struct __gconv_step *data)
|
|||||||
register unsigned long long outlen asm("11") = outend - outptr; \
|
register unsigned long long outlen asm("11") = outend - outptr; \
|
||||||
uint64_t cc = 0; \
|
uint64_t cc = 0; \
|
||||||
\
|
\
|
||||||
asm volatile ("0: " INSTRUCTION " \n\t" \
|
asm volatile (".machine push \n\t" \
|
||||||
|
".machine \"z9-109\" \n\t" \
|
||||||
|
"0: " INSTRUCTION " \n\t" \
|
||||||
|
".machine pop \n\t" \
|
||||||
" jo 0b \n\t" \
|
" jo 0b \n\t" \
|
||||||
" ipm %2 \n" \
|
" ipm %2 \n" \
|
||||||
: "+a" (pOutput), "+a" (pInput), "+d" (cc), \
|
: "+a" (pOutput), "+a" (pInput), "+d" (cc), \
|
||||||
|
@ -151,7 +151,10 @@ gconv_end (struct __gconv_step *data)
|
|||||||
register unsigned long long outlen asm("11") = outend - outptr; \
|
register unsigned long long outlen asm("11") = outend - outptr; \
|
||||||
uint64_t cc = 0; \
|
uint64_t cc = 0; \
|
||||||
\
|
\
|
||||||
asm volatile ("0: " INSTRUCTION " \n\t" \
|
asm volatile (".machine push \n\t" \
|
||||||
|
".machine \"z9-109\" \n\t" \
|
||||||
|
"0: " INSTRUCTION " \n\t" \
|
||||||
|
".machine pop \n\t" \
|
||||||
" jo 0b \n\t" \
|
" jo 0b \n\t" \
|
||||||
" ipm %2 \n" \
|
" ipm %2 \n" \
|
||||||
: "+a" (pOutput), "+a" (pInput), "+d" (cc), \
|
: "+a" (pOutput), "+a" (pInput), "+d" (cc), \
|
||||||
|
@ -155,7 +155,10 @@ gconv_end (struct __gconv_step *data)
|
|||||||
register unsigned long long outlen asm("11") = outend - outptr; \
|
register unsigned long long outlen asm("11") = outend - outptr; \
|
||||||
uint64_t cc = 0; \
|
uint64_t cc = 0; \
|
||||||
\
|
\
|
||||||
asm volatile ("0: " INSTRUCTION " \n\t" \
|
asm volatile (".machine push \n\t" \
|
||||||
|
".machine \"z9-109\" \n\t" \
|
||||||
|
"0: " INSTRUCTION " \n\t" \
|
||||||
|
".machine pop \n\t" \
|
||||||
" jo 0b \n\t" \
|
" jo 0b \n\t" \
|
||||||
" ipm %2 \n" \
|
" ipm %2 \n" \
|
||||||
: "+a" (pOutput), "+a" (pInput), "+d" (cc), \
|
: "+a" (pOutput), "+a" (pInput), "+d" (cc), \
|
||||||
|
Loading…
Reference in New Issue
Block a user