scale.backend.ppc
Class FcInstruction

java.lang.Object
  extended by scale.backend.Instruction
      extended by scale.backend.ppc.PPCInstruction
          extended by scale.backend.ppc.FcInstruction
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
FccInstruction

public class FcInstruction
extends PPCInstruction

This is the base class for all PPC instructions that have a constant value.

$Id: FcInstruction.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 constant value.
 
Fields inherited from class scale.backend.ppc.PPCInstruction
opcode
 
Constructor Summary
FcInstruction(int opcode, int cv1)
           
 
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.PPCInstruction
assembleDisp, canBeDeleted, defs, getOpcode, independent, instructionSize, isLoad, isStore, remapDestRegister, remapRegisters, remapSrcRegister, setOpcode, specifyRegisterUsage, uses
 
Methods inherited from class scale.backend.Instruction
clone, copy, ehash, getBBID, getCopyDest, getCopySrc, getDestRegister, getExecutionCycles, getFunctionalUnit, getLoopNumber, getNext, getPredicate, getPredicates, getSrcRegisters, 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 constant value.

Constructor Detail

FcInstruction

public FcInstruction(int opcode,
                     int cv1)
Parameters:
opcode - is the instruction's opcode
cv1 - is the 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 PPCInstruction

toString

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