Skip to main content

var_sra

Function var_sra 

Source
pub fn var_sra(b: &CircuitBuilder, x: Wire, shift: Wire) -> Wire
Expand description

Variable-amount arithmetic right shift.

Returns x SAR shift (sign-extending), reading the low 6 bits of shift as the shift amount.