HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Moduleghc-10.0.0.20260917GHC2024

GHC.CmmToAsm.RV64.Cond

  • 1 type
datadata Cond
#

Condition codes.

Used in conditional branches and bit setters. According to the available instruction set, some conditions are encoded as their negated opposites. I.e. these are logical things that don't necessarily map 1:1 to hardware/ISA.

Constructors

  • EQ

    int and float

  • NE

    int and float

  • SLT

    signed less than

  • SLE

    signed less than or equal

  • SGE

    signed greater than or equal

  • SGT

    signed greater than

  • ULT

    unsigned less than

  • ULE

    unsigned less than or equal

  • UGE

    unsigned greater than or equal

  • UGT

    unsigned greater than

  • FLT

    floating point instruction flt

  • FLE

    floating point instruction fle

  • FGE

    floating point instruction fge

  • FGT

    floating point instruction fgt

Instances2Eq, Show
  • Eq CondDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.RV64.Cond
  • Show CondDefined in ghc-10.0.0.20260917 · GHC.CmmToAsm.RV64.Cond