scale.backend.ppc
Class FDrrccInstruction

java.lang.Object
  extended by scale.backend.Instruction
      extended by scale.backend.ppc.PPCInstruction
          extended by scale.backend.ppc.FDInstruction
              extended by scale.backend.ppc.FDrInstruction
                  extended by scale.backend.ppc.FDrrInstruction
                      extended by scale.backend.ppc.FDrrcInstruction
                          extended by scale.backend.ppc.FDrrccInstruction
All Implemented Interfaces:
java.lang.Cloneable

public class FDrrccInstruction
extends FDrrcInstruction

This is the base class for all PPC instructions that have a destination register and a source register.

$Id: FDrrccInstruction.java,v 1.5 2006-11-09 00:56:04 burrill Exp $

Copyright 2005 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Field Summary
protected  int cv2
          The constant value.
 
Fields inherited from class scale.backend.ppc.FDrrcInstruction
cv1
 
Fields inherited from class scale.backend.ppc.FDrrInstruction
rb
 
Fields inherited from class scale.backend.ppc.FDrInstruction
ra
 
Fields inherited from class scale.backend.ppc.FDInstruction
rd
 
Fields inherited from class scale.backend.ppc.PPCInstruction
opcode
 
Constructor Summary
FDrrccInstruction(int opcode, int rd, int ra, int rb, int cv1, int cv2)
           
 
Method Summary
 void assembler(Assembler asm, Emit emit)
          Insert the assembler representation of the instruction into the output stream.
 java.lang.String toString()
           
 
Methods inherited from class scale.backend.ppc.FDrrInstruction
getDestRegister, getSrcRegisters, independent, remapRegisters, remapSrcRegister, specifyRegisterUsage, uses
 
Methods inherited from class scale.backend.ppc.FDInstruction
defs, remapDestRegister
 
Methods inherited from class scale.backend.ppc.PPCInstruction
assembleDisp, canBeDeleted, getOpcode, instructionSize, isLoad, isStore, setOpcode
 
Methods inherited from class scale.backend.Instruction
clone, copy, ehash, getBBID, getCopyDest, getCopySrc, getExecutionCycles, getFunctionalUnit, getLoopNumber, getNext, getPredicate, getPredicates, getTag, isBranch, isCopy, isLabel, isMandatory, isMarker, isPhi, isPredicated, isPredicatedOnTrue, isPrefetch, isSpillInstruction, isSpillLoadPoint, isSpillStorePoint, markSpillInstruction, mods, nullified, nullify, numPredicates, removePredicates, setBBID, setLoopNumber, setMandatory, setNext, setPredicate, setPredicate, setPredicatedOnTrue, setPredicates, setsSpecialReg, setTag, specifyNotSpillLoadPoint, specifySpillStorePoint
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cv2

protected int cv2
The constant value.

Constructor Detail

FDrrccInstruction

public FDrrccInstruction(int opcode,
                         int rd,
                         int ra,
                         int rb,
                         int cv1,
                         int cv2)
Parameters:
opcode - is the instruction's opcode
rd - is the destination register
ra - is the left source register
rb - is the right source register
cv1 - is the first constant value.
cv2 - is the second constant value.
Method Detail

assembler

public void assembler(Assembler asm,
                      Emit emit)
Insert the assembler representation of the instruction into the output stream.

Overrides:
assembler in class FDrrcInstruction

toString

public java.lang.String toString()
Overrides:
toString in class FDrrcInstruction