Enum cranelift_codegen::isa::x64::args::UnaryRmROpcode
source · pub enum UnaryRmROpcode {
Bsr,
Bsf,
Lzcnt,
Tzcnt,
Popcnt,
}
Expand description
Unary operations requiring register or memory and register operands.
Variants§
Bsr
Bit-scan reverse.
Bsf
Bit-scan forward.
Lzcnt
Counts leading zeroes (Leading Zero CouNT).
Tzcnt
Counts trailing zeroes (Trailing Zero CouNT).
Popcnt
Counts the number of ones (POPulation CouNT).
Trait Implementations§
source§impl Clone for UnaryRmROpcode
impl Clone for UnaryRmROpcode
source§fn clone(&self) -> UnaryRmROpcode
fn clone(&self) -> UnaryRmROpcode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnaryRmROpcode
impl Debug for UnaryRmROpcode
source§impl Display for UnaryRmROpcode
impl Display for UnaryRmROpcode
source§impl PartialEq<UnaryRmROpcode> for UnaryRmROpcode
impl PartialEq<UnaryRmROpcode> for UnaryRmROpcode
source§fn eq(&self, other: &UnaryRmROpcode) -> bool
fn eq(&self, other: &UnaryRmROpcode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnaryRmROpcode
Auto Trait Implementations§
impl RefUnwindSafe for UnaryRmROpcode
impl Send for UnaryRmROpcode
impl Sync for UnaryRmROpcode
impl Unpin for UnaryRmROpcode
impl UnwindSafe for UnaryRmROpcode
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