Struct hazardflow_designs::cpu::branch_predictor::BpResult
source · pub struct BpResult {
pub pre_decode: PreDecodeResp,
pub bht: bool,
pub btb: u32,
}
Expand description
Branch prediction results.
Fields§
§pre_decode: PreDecodeResp
Pre-decode result.
bht: bool
Predicted branch direction (used for branch instructions).
btb: u32
Predicted target address (used for JALR instruction).
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BpResult
impl Send for BpResult
impl Sync for BpResult
impl Unpin for BpResult
impl UnwindSafe for BpResult
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