Skip to main content

write_element_0_u64

Function write_element_0_u64 

Source
pub unsafe fn write_element_0_u64<const VLENB: usize>(
    vregs: &mut VectorRegisterFile<VLENB>,
    base_reg: VReg,
    sew: Vsew,
    value: u64,
)
Expand description

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

ยงSafety

sew.bytes() <= VLENB