#[repr(u8)]pub enum ScalarOpcode {
Show 14 variants
NOP = 0,
MOV = 1,
RCP = 2,
RCC = 3,
RSQ = 4,
EXP = 5,
LOG = 6,
LIT = 7,
LG2 = 13,
EX2 = 14,
SIN = 15,
COS = 16,
PUSHA = 19,
POPA = 20,
}Expand description
A scalar operation: one source, its result replicated to the lanes the write mask names.
Variants§
NOP = 0
NOP, opcode 0x00.
MOV = 1
MOV, opcode 0x01.
RCP = 2
RCP, opcode 0x02.
RCC = 3
RCC, opcode 0x03.
RSQ = 4
RSQ, opcode 0x04.
EXP = 5
EXP, opcode 0x05.
LOG = 6
LOG, opcode 0x06.
LIT = 7
LIT, opcode 0x07.
LG2 = 13
LG2, opcode 0x0d.
EX2 = 14
EX2, opcode 0x0e.
SIN = 15
SIN, opcode 0x0f.
COS = 16
COS, opcode 0x10.
PUSHA = 19
PUSHA, opcode 0x13.
POPA = 20
POPA, opcode 0x14.
Implementations§
Trait Implementations§
Source§impl Clone for ScalarOpcode
impl Clone for ScalarOpcode
impl Copy for ScalarOpcode
Source§impl Debug for ScalarOpcode
impl Debug for ScalarOpcode
impl Eq for ScalarOpcode
Source§impl PartialEq for ScalarOpcode
impl PartialEq for ScalarOpcode
impl StructuralPartialEq for ScalarOpcode
Auto Trait Implementations§
impl Forget for ScalarOpcode
impl Freeze for ScalarOpcode
impl RefUnwindSafe for ScalarOpcode
impl Send for ScalarOpcode
impl Sync for ScalarOpcode
impl Unpin for ScalarOpcode
impl UnsafeUnpin for ScalarOpcode
impl UnwindSafe for ScalarOpcode
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