#[repr(u8)]pub enum VRegGroupSize {
R1 = 1,
R2 = 2,
R4 = 4,
R8 = 8,
}Expand description
Number of vector registers in a register group.
Register groups always consist of a power of two number of registers, whether from
LMUL, EMUL of a memory operand or a whole-register move.
Variants§
Implementations§
Source§impl VRegGroupSize
impl VRegGroupSize
Sourcepub const fn divide_by_factor(self, factor: VsewFactor) -> Self
pub const fn divide_by_factor(self, factor: VsewFactor) -> Self
Size of a group with factor times fewer registers, at least one.
This is the source group of a vzext/vsext, whose EMUL = LMUL / factor.
Trait Implementations§
Source§impl Clone for VRegGroupSize
impl Clone for VRegGroupSize
Source§fn clone(&self) -> VRegGroupSize
fn clone(&self) -> VRegGroupSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VRegGroupSize
Source§impl Debug for VRegGroupSize
impl Debug for VRegGroupSize
Source§impl Display for VRegGroupSize
impl Display for VRegGroupSize
impl Eq for VRegGroupSize
Source§impl PartialEq for VRegGroupSize
impl PartialEq for VRegGroupSize
impl StructuralPartialEq for VRegGroupSize
Auto Trait Implementations§
impl Freeze for VRegGroupSize
impl RefUnwindSafe for VRegGroupSize
impl Send for VRegGroupSize
impl Sync for VRegGroupSize
impl Unpin for VRegGroupSize
impl UnsafeUnpin for VRegGroupSize
impl UnwindSafe for VRegGroupSize
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more