vyre-reference 0.4.1

Pure-Rust CPU reference interpreter for vyre IR — byte-identical oracle for backend conformance and small-data fallback
Documentation
//! Dual CPU references for `primitive.bitwise.and`.

use crate::dual::DualReference;

/// Operation ID for the AND primitive.
pub const OP_ID: &str = "primitive.bitwise.and";

/// docs
pub mod reference_a;
/// docs
pub mod reference_b;

/// Dual-reference marker for the AND primitive.
pub struct AndDualReference;

impl DualReference for AndDualReference {
    fn reference_a(input: &[u8]) -> Vec<u8> {
        reference_a::reference(input)
    }

    fn reference_b(input: &[u8]) -> Vec<u8> {
        reference_b::reference(input)
    }
}