[PATCH 04/14] S390: Optimize 8bit-generic iconv modules.
Florian Weimer
fweimer@redhat.com
Fri Apr 15 13:05:00 GMT 2016
On 02/23/2016 10:21 AM, Stefan Liebler wrote:
> + to the 1 byte generic character. If this table contains only up
> + to 256 entry, then the highest UCS4 value can be stored in 1 byte
“256 entries”? (spelling)
Why don't you compute the required table at compile time? Then it can
live in .rodata and does not have to end up in .bss.
In the inline assembly, I would suggest to out-dent the labels. There
is a typo in a comment, “blcocks”. You could reduce the amount of
inline assembly by falling back on the C code for error handling, I think.
I can't comment on the technical accuracy of the inline assembly.
Florian
More information about the Libc-alpha
mailing list