scale.backend.ppc
Class FrrcccInstruction

java.lang.Object
  extended by scale.backend.Instruction
      extended by scale.backend.ppc.PPCInstruction
          extended by scale.backend.ppc.FrInstruction
              extended by scale.backend.ppc.FrrInstruction
                  extended by scale.backend.ppc.FrrcccInstruction
All Implemented Interfaces:
java.lang.Cloneable

public class FrrcccInstruction
extends FrrInstruction

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

$Id: FrrcccInstruction.java,v 1.5 2006-11-09 00:56:05 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 cv1
          The first constant value.
protected  int cv2
          The second constant value.
protected  int cv3
          The third constant value.
 
Fields inherited from class scale.backend.ppc.FrrInstruction
rb
 
Fields inherited from class scale.backend.ppc.FrInstruction
ra
 
Fields inherited from class scale.backend.ppc.PPCInstruction
opcode
 
Constructor Summary
FrrcccInstruction(int opcode, int ra, int rb, int cv1, int cv2, int cv3)
           
 
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.FrrInstruction
getDestRegister, getSrcRegisters, independent, remapRegisters, remapSrcRegister, specifyRegisterUsage, uses
 
Methods inherited from class scale.backend.ppc.PPCInstruction
assembleDisp, canBeDeleted, defs, getOpcode, instructionSize, isLoad, isStore, remapDestRegister, 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

cv1

protected int cv1
The first constant value.


cv2

protected int cv2
The second constant value.


cv3

protected int cv3
The third constant value.

Constructor Detail

FrrcccInstruction

public FrrcccInstruction(int opcode,
                         int ra,
                         int rb,
                         int cv1,
                         int cv2,
                         int cv3)
Parameters:
opcode - is the instruction's opcode
ra - is the left source register
rb - is the right source register
cv1 - is the first constant value.
cv2 - is the second constant value.
cv3 - is the third 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 FrrInstruction

toString

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