Skip to main content

dsra

Function dsra 

Source
pub const fn dsra(v: u64, sa: u32) -> u64
Expand description

DSRA — 64-bit shift right arithmetic. sa is the effective 0..64 amount; see dsll on the DSRA/DSRA32 encoding split.

Not affected by the SRA erratum: it is already a 64-bit shift, so there is no truncation for the bug to manifest through.