Skip to main content

read_element_0_u64

Function read_element_0_u64 

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

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

ยงSafety

sew.bytes() <= VLENB