Re: [PATCH v2] kbuild: treat char as always unsigned

From: Geert Uytterhoeven
Date: Mon Jan 02 2023 - 03:30:18 EST


Hi David,

On Fri, Dec 30, 2022 at 12:39 PM David Laight <David.Laight@xxxxxxxxxx> wrote:
> Thinking further the fastest strcmp() probably uses big-endian word compares
> with a check for a zero byte.
> Especially on 64 bit systems that support misaligned loads.
> But I'd need to think hard about the actual details.

arch/arc/lib/strcmp-archs.S
arch/csky/abiv2/strcmp.S

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds