jon.recoil.org

Module Ast.Simd_int_cmp

Condition codes for AdvSIMD integer compare instructions. These map to CMEQ, CMGE, CMGT, CMLE, CMLT, CMHI, CMHS instructions. Unlike Cond.t, this excludes conditions that don't have corresponding SIMD compare instructions (NE, CS, CC, MI, PL, VS, VC, LS).

type t =
  1. | EQ
    (*

    equal

    *)
  2. | GE
    (*

    greater or equal, signed

    *)
  3. | GT
    (*

    greater than, signed

    *)
  4. | LE
    (*

    less or equal, signed

    *)
  5. | LT
    (*

    less than, signed

    *)
  6. | HI
    (*

    higher, unsigned

    *)
  7. | HS
    (*

    higher or same, unsigned

    *)
val to_string : t -> string