ghc-7.8.1: The GHC API

Safe HaskellNone
LanguageHaskell98

SPARC.Instr

Synopsis

Documentation

data RI Source

Register or immediate

Constructors

RIReg Reg 
RIImm Imm 

riZero :: RI -> Bool Source

Check if a RI represents a zero value. - a literal zero - register %g0, which is always zero.

fpRelEA :: Int -> Reg -> Instr Source

Calculate the effective address which would be used by the corresponding fpRel sequence.

moveSp :: Int -> Instr Source

Code to shift the stack pointer by n words.

isUnconditionalJump :: Instr -> Bool Source

An instruction that will cause the one after it never to be exectuted

maxSpillSlots :: DynFlags -> Int Source

The maximum number of spill slots available on the C stack. If we use up all of the slots, then we're screwed.

Why do we reserve 64 bytes, instead of using the whole thing?? -- BL 20090215