Enum cranelift_codegen::machinst::inst_common::AtomicRmwOp [−][src]
#[repr(u8)]
pub enum AtomicRmwOp {
Add,
Sub,
And,
Nand,
Or,
Xor,
Xchg,
Umin,
Umax,
Smin,
Smax,
}Expand description
Atomic memory update operations. As of 21 Aug 2020 these are used for the aarch64 and x64 targets.
Variants
Add
Sub
And
Nand
Or
Exclusive Or
Exchange (swap operands)
Unsigned min
Unsigned max
Signed min
Signed max
Implementations
Converts an ir::AtomicRmwOp to the corresponding inst_common::AtomicRmwOp.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AtomicRmwOpimpl Send for AtomicRmwOpimpl Sync for AtomicRmwOpimpl Unpin for AtomicRmwOpimpl UnwindSafe for AtomicRmwOpBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.