ghc-9.13: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.CmmToAsm.LA64.Cond

Synopsis

Documentation

data Cond Source #

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. TODO: Maybe need to simplify or expand?

Constructors

EQ 
NE 
LT 
GE 
LTU 
GEU 
EQZ 
NEZ 
SLT 
SLE 
SGE 
SGT 
ULT 
ULE 
UGE 
UGT 
FLT 
FLE 
FGE 
FGT 

Instances

Instances details
Eq Cond Source # 
Instance details

Defined in GHC.CmmToAsm.LA64.Cond

Methods

(==) :: Cond -> Cond -> Bool #

(/=) :: Cond -> Cond -> Bool #

Show Cond Source # 
Instance details

Defined in GHC.CmmToAsm.LA64.Cond

Methods

showsPrec :: Int -> Cond -> ShowS #

show :: Cond -> String #

showList :: [Cond] -> ShowS #