Enum hazardflow_designs::cpu::alu::BaseAluOp
source · pub enum BaseAluOp {
Show 13 variants
Add,
Sub,
Sll,
Srl,
Sra,
And,
Or,
Xor,
Slt,
Sltu,
CopyOp1,
CopyOp2,
Zero,
}
Expand description
Base ALU.
Variants§
Add
Addition
Sub
Subtraction
Sll
Logical left shift
Srl
Logical right shift
Sra
Arithmetic right shift
And
And
Or
Or
Xor
Xor
Slt
Set less than
Sltu
Set less than unsigned
CopyOp1
Copy op1
CopyOp2
Copy op2
Zero
Zero
Trait Implementations§
source§impl PartialEq for BaseAluOp
impl PartialEq for BaseAluOp
impl Copy for BaseAluOp
impl Eq for BaseAluOp
impl StructuralEq for BaseAluOp
impl StructuralPartialEq for BaseAluOp
Auto Trait Implementations§
impl RefUnwindSafe for BaseAluOp
impl Send for BaseAluOp
impl Sync for BaseAluOp
impl Unpin for BaseAluOp
impl UnwindSafe for BaseAluOp
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