Skip to main content

write_element_0_u64

Function write_element_0_u64 

Source
pub unsafe fn write_element_0_u64<const VLENB: usize>(
    vreg: &mut [[u8; VLENB]; 32],
    base_reg: u8,
    sew: Vsew,
    value: u64,
)
Expand description

Write element 0 of register base_reg from the low sew_bytes of value.

ยงSafety

base_reg < 32 and sew.bytes() <= VLENB must hold.