Shift

sail-arm's definition a32.sail

val Shift : forall 'N 'amount, 'N >= 0.
  (bits('N), SRType, int('amount), bits(1)) -> bits('N)

function Shift (value_name, srtype, amount, carry_in) = {
    result : bits('N) = undefined;
    let (__tup_0 : bits('N), _) = Shift_C(value_name, srtype, amount, carry_in)
    in
      {
          result = __tup_0
      };
    return(result)
}

Used by


Made from ScarletNX's Sail at 166ad3910f80. sail-arm's definitions are Arm's ASL in Sail (BSD 3-Clause Clear, license); ScarletNX's fixups are GPL-3.0-or-later.