Skip to main content

selected_accesses

Function selected_accesses 

Source
pub fn selected_accesses(
    t: &MacsimRecord,
    rec: &InstructionRecord,
) -> (Vec<usize>, Option<usize>, bool)
Expand description

Which of rec.accesses a MacSim record with this template holds: the first num_ld reads (ld_vaddr1, ld_vaddr2) and, if has_st, the first write (st_vaddr), in that order. Instruction fetches and suppressed accesses are never in a record. The second value is true if some data access did not fit.