pub fn cpu_ref(lhs: &[u32], rhs: &[u32]) -> u32
CPU reference: returns 1 iff every word matches, 0 otherwise.