Skip to main content

decode_load_miss

Function decode_load_miss 

Source
pub fn decode_load_miss(ring_bytes: &[u8], slot: u32) -> Option<(u32, bool)>
Expand description

Decode a load-miss slot from ring-buffer bytes.

Returns Some((resource_id, prefetch)) if the slot contains the opcode::LOAD_MISS opcode. Returns None if the byte slice is too short or the opcode does not match.