// x = (c + y) + z public static Tile EffectiveAddition_ConstRegReg2 <T>() { return(makeRegisterAssignmentTriop2Tile <AddOperatorNode, AddOperatorNode, ConstantNode <T>, RegisterNode, RegisterNode> ( (dst, l, m, r) => new [] { InstructionFactory.Lea_Add(dst, m, r, l) } )); }
// x = y + c public static Tile EffectiveAddition_RegConst <T>() { return(makeRegisterAssignmentBinopTile <AddOperatorNode, RegisterNode, ConstantNode <T> > ( (dst, l, r) => new [] { InstructionFactory.Lea_Add <T> (dst, l, r) } )); }