vyre-conform 0.1.0

Conformance suite for vyre backends — proves byte-identical output to CPU reference
Documentation
1
2
3
4
5
6
7
8
9
pub(crate) fn bool_tweak(value: u32, mode: u8) -> u32 {
    match mode % 5 {
        0 => 1 - (value & 1),
        1 => 2,
        2 => u32::MAX,
        3 => value ^ 1,
        _ => 42,
    }
}