Struct rsim::processor::isa_mods::vector::VectorElem [−][src]
A struct describing an element of a vector register group
Fields
base_reg: u8The first register of the group. Should be a multiple of emul.num_registers_consumed()
eew: SewThe element width,
elem_within_group: u32The index of the element within the group
Implementations
impl VectorElem[src]
impl VectorElem[src]pub fn check_with_lmul(
base_reg: u8,
eew: Sew,
emul: Lmul,
elem_within_group: u32
) -> VectorElem[src]
base_reg: u8,
eew: Sew,
emul: Lmul,
elem_within_group: u32
) -> VectorElem
pub fn check_with_num_regs(
base_reg: u8,
eew: Sew,
num_regs: u8,
elem_within_group: u32
) -> VectorElem[src]
base_reg: u8,
eew: Sew,
num_regs: u8,
elem_within_group: u32
) -> VectorElem