Enum cranelift_codegen::isa::x64::args::AluRmiROpcode
source · pub enum AluRmiROpcode {
Add,
Adc,
Sub,
Sbb,
And,
Or,
Xor,
Mul,
}
Expand description
Some basic ALU operations. TODO: maybe add Adc, Sbb.
Variants§
Add
Add operation.
Adc
Add with carry.
Sub
Integer subtraction.
Sbb
Integer subtraction with borrow.
And
Bitwise AND operation.
Or
Bitwise inclusive OR.
Xor
Bitwise exclusive OR.
Mul
The signless, non-extending (N x N -> N, for N in {32,64}) variant.
Trait Implementations§
source§impl Clone for AluRmiROpcode
impl Clone for AluRmiROpcode
source§fn clone(&self) -> AluRmiROpcode
fn clone(&self) -> AluRmiROpcode
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 AluRmiROpcode
impl Debug for AluRmiROpcode
source§impl Display for AluRmiROpcode
impl Display for AluRmiROpcode
source§impl PartialEq<AluRmiROpcode> for AluRmiROpcode
impl PartialEq<AluRmiROpcode> for AluRmiROpcode
source§fn eq(&self, other: &AluRmiROpcode) -> bool
fn eq(&self, other: &AluRmiROpcode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.