[U-Boot] [PATCH] Introduce a global bool type

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Jan 22 08:41:03 CET 2013


Hi Måns,

> In other words, boolifying on use rather than on assignment is generally
> safer and usually at least as efficient.

Except when assigning a C = A & B where A and B happen to have
no common bit set. Which is why I think 'boolifying' as soon as
possible -- on assignment -- is way safer than on use.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list