Struct hazardflow_designs::cpu::branch_predictor::pre_decode::PreDecodeResp
source · pub struct PreDecodeResp {
pub is_branch: bool,
pub is_jalr: bool,
pub is_jal: bool,
pub imm: U<32>,
}
Expand description
Pre-decode response.
Fields§
§is_branch: bool
Is branch instruction?
is_jalr: bool
Is JALR instruction?
is_jal: bool
Is JAL instruction?
imm: U<32>
Immediate.
Trait Implementations§
source§impl Clone for PreDecodeResp
impl Clone for PreDecodeResp
source§fn clone(&self) -> PreDecodeResp
fn clone(&self) -> PreDecodeResp
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 PreDecodeResp
impl Debug for PreDecodeResp
impl Copy for PreDecodeResp
Auto Trait Implementations§
impl RefUnwindSafe for PreDecodeResp
impl Send for PreDecodeResp
impl Sync for PreDecodeResp
impl Unpin for PreDecodeResp
impl UnwindSafe for PreDecodeResp
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