[PATCH] S/390: HW accelerated iconv module for iso-8859-1/cp37 conversions
Andreas Schwab
schwab@suse.de
Tue Oct 13 10:40:00 GMT 2015
"Andreas Krebbel" <krebbel@linux.vnet.ibm.com> writes:
> + asm volatile ("0: \n\t" \
> + " troo %0,%1 \n\t" \
> + " jz 1f \n\t" \
> + " jo 0b \n\t" \
> + " llgc %3,0(%1) \n\t" \
> + " la %3,0(%3,%4) \n\t" \
> + " mvc 0(1,%0),0(%3) \n\t" \
> + " aghi %1,1 \n\t" \
> + " aghi %0,1 \n\t" \
> + " aghi %2,-1 \n\t" \
> + " j 0b \n\t" \
> + "1: \n" \
> + \
> + : "+a" (pOutput), "+a" (pInput), "+d" (length), "=&a" (tmp) \
That doesn't force %1 to be an even numbered register.
../iconv/loop.c: Assembler messages:
../iconv/loop.c:326: Fatal error: odd numbered general purpose register specified as register pair
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list