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 ==
.