openvm_transpiler::util

Function from_i_type_shamt

Source
pub fn from_i_type_shamt<F: PrimeField32>(
    opcode: usize,
    dec_insn: &ITypeShamt,
) -> Instruction<F>
Expand description

Create a new Instruction from an I-type instruction with a shamt. It seems that shamt can only occur in SLLI, SRLI, SRAI.