net.sf.farrago.fennel.calc
Class CalcProgramBuilder.ExtInstrDef

java.lang.Object
  extended by net.sf.farrago.fennel.calc.CalcProgramBuilder.InstructionDef
      extended by net.sf.farrago.fennel.calc.CalcProgramBuilder.ExtInstrDef
Direct Known Subclasses:
CalcProgramBuilder.ExtInstrSizeDef
Enclosing class:
CalcProgramBuilder

public static class CalcProgramBuilder.ExtInstrDef
extends CalcProgramBuilder.InstructionDef

Defines an extended instruction.


Field Summary
 
Fields inherited from class net.sf.farrago.fennel.calc.CalcProgramBuilder.InstructionDef
name, regCount
 
Constructor Summary
CalcProgramBuilder.ExtInstrDef(String name, int regCount)
           
 
Method Summary
(package private)  void add(CalcProgramBuilder builder, CalcReg... regs)
          Adds this instruction to a program.
protected  void add(CalcProgramBuilder builder, CalcReg[] regs, String funName)
           
 
Methods inherited from class net.sf.farrago.fennel.calc.CalcProgramBuilder.InstructionDef
add, add, addInternal, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalcProgramBuilder.ExtInstrDef

public CalcProgramBuilder.ExtInstrDef(String name,
                                      int regCount)
Method Detail

add

void add(CalcProgramBuilder builder,
         CalcReg... regs)
Description copied from class: CalcProgramBuilder.InstructionDef
Adds this instruction to a program.

Overrides:
add in class CalcProgramBuilder.InstructionDef

add

protected void add(CalcProgramBuilder builder,
                   CalcReg[] regs,
                   String funName)