Skip to main content

read_element_0_u64

Function read_element_0_u64 

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

Read element 0 of register base_reg as u64, zero-extended.

ยงSafety

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