Open Autoparallel opened 3 months ago
Last but not least, we have the maj() function which, essentially, picks out the majority of the bits from x, y, and z. It is implemented like so:
maj()
x
y
z
fn maj(x: u32, y: u32, z: u32) -> u32 { (x & y) ^ (x & z) ^ (y & z) }
Last but not least, we have the
maj()
function which, essentially, picks out the majority of the bits fromx
,y
, andz
. It is implemented like so: