pub struct FastCost {
pub cycles: u8,
pub decode_slots: u8,
pub exec_unit: u8,
pub src_mask: u16,
pub dst_mask: u16,
pub is_terminator: bool,
pub is_move_reg: bool,
}Expand description
Compact instruction cost for the fast simulator.
Fields§
§cycles: u8§decode_slots: u8§exec_unit: u80=none, 1=alu, 2=load(+alu), 3=store(+alu), 4=mul(+alu), 5=div(+alu)
src_mask: u16§dst_mask: u16§is_terminator: bool§is_move_reg: boolTrait Implementations§
impl Copy for FastCost
Auto Trait Implementations§
impl Freeze for FastCost
impl RefUnwindSafe for FastCost
impl Send for FastCost
impl Sync for FastCost
impl Unpin for FastCost
impl UnsafeUnpin for FastCost
impl UnwindSafe for FastCost
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