Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 21 Jan 2022 19:51:22 +0100
From: Joerg Sonnenberger <>
Cc: GNU C Library <>,
	Richard Biener via Gcc <>
Subject: Re: Add new ABIs '__strcmpeq', '__strncmpeq',
 '__wcscmpeq' and '__wcsncmpeq' to libc

On Thu, Jan 20, 2022 at 04:56:59PM -0600, Noah Goldstein wrote:
> The goal is that the new interfaces will be usable as an optimization
> by compilers if a program uses the return value of the non "eq"
> variant as a boolean.

So I'm curious, but can you demonstrate that it can be implemented
notacibly faster than regular strcmp? Unlike for memcmp, I don't see an
obvious way to save any operations.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.