On Tue, Aug 22, 2023 at 02:33:39PM +0200, Peter J. Philipp wrote:
> Hi,
> 
> I have an outstanding bug report that I send to deraadt and claudio, in
> reading the code I came across these macros:
> 
> https://github.com/openbsd/src/blame/master/sys/sys/cdefs.h
> 
> lines 195 and 196.  Now my question, does this not sorta look wrong?
> 
> Shouldn't these values be a little more unique?  As in not the same?

No. Think about how exp is is expanded.

if (_predict_false(x == 0)) -> if ((x == 0) != 0)

The _predict_xyz do not alter the outcome of the if statement, they are
just a hint.

-- 
:wq Claudio

Reply via email to