scale.backend.ppc
Class FDdrInstruction
java.lang.Object
scale.backend.Instruction
scale.backend.ppc.PPCInstruction
scale.backend.ppc.FDInstruction
scale.backend.ppc.FDrInstruction
scale.backend.ppc.FDdrInstruction
- All Implemented Interfaces:
- java.lang.Cloneable
public class FDdrInstruction
- extends FDrInstruction
This is the base class for all PPC instructions that have a destination register,
a source register, and a displacement.
$Id: FDdrInstruction.java,v 1.6 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.
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.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 |
disp
protected Displacement disp
- The displacement.
dftn
protected int dftn
FDdrInstruction
public FDdrInstruction(int opcode,
int rd,
int ra,
Displacement disp,
int dftn,
boolean macosx)
- Parameters:
opcode
- is the instruction's opcoderd
- is the destination registerra
- is the source registerdisp
- is the displacementdftn
- specifies the loader operation on the displacementmacosx
- boolean specifies macosx when true and linux when false
assembler
public void assembler(Assembler asm,
Emit emit)
- Insert the assembler representation of the instruction into the output stream.
- Overrides:
assembler
in class FDrInstruction
toString
public java.lang.String toString()
- Overrides:
toString
in class FDrInstruction