This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] S/390: HW accelerated iconv module for iso-8859-1/cp37 conversions
- From: Andreas Schwab <schwab at suse dot de>
- To: "Andreas Krebbel" <krebbel at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 13 Oct 2015 12:40:34 +0200
- Subject: Re: [PATCH] S/390: HW accelerated iconv module for iso-8859-1/cp37 conversions
- Authentication-results: sourceware.org; auth=none
- References: <20090223134953 dot GA1111 at bart> <49DB9D36 dot 2080200 at redhat dot com> <20090415141311 dot GA5673 at bart>
"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."