jon.recoil.org

Module Operand.Shift_by_element_width

Shift amount for vector shift instructions (SHL, SSHR, USHR). The valid range depends on element width:

type _ t =
  1. | For_B : int -> [ `B ] t
  2. | For_H : int -> [ `H ] t
  3. | For_S : int -> [ `S ] t
  4. | For_D : int -> [ `D ] t
val to_int : 'w t -> int