This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 04/14] S390: Optimize 8bit-generic iconv modules.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]