scale.backend.x86
Class X86DInstruction
java.lang.Object
scale.backend.Instruction
scale.backend.x86.X86Instruction
scale.backend.x86.X86DInstruction
- All Implemented Interfaces:
- java.lang.Cloneable
public class X86DInstruction
- extends X86Instruction
This is the base class for all X86 instructions except branches
that reference just a displacement.
$Id$
Copyright 2008 by James H. Burrill
All Rights Reserved.
Methods inherited from class scale.backend.x86.X86Instruction |
assembleDisp, buildAddress, canBeDeleted, defs, getDisplacement2, getOpcode, getOperandSize, getOperandSizeLabel, getReg, getReg2, getReg3, getScale, independent, independentCC, instructionSize, isReversed, remapDestRegister, remapRegisters, remapSrcRegister, setDisplacement2, setOpcode, setOperandSize, setReg, setReg2, setReg3, setScale, setsCC, setSetCC, setsSpecialReg, setUseCC, specifyRegisterUsage, uses, usesCC |
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, isLoad, isMandatory, isMarker, isPhi, isPredicated, isPredicatedOnTrue, isPrefetch, isSpillInstruction, isSpillLoadPoint, isSpillStorePoint, isStore, markSpillInstruction, mods, nullified, nullify, numPredicates, removePredicates, setBBID, setLoopNumber, setMandatory, setNext, setPredicate, setPredicate, setPredicatedOnTrue, setPredicates, setTag, specifyNotSpillLoadPoint, specifySpillStorePoint |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
disp
protected Displacement disp
X86DInstruction
public X86DInstruction(int opcode,
Displacement disp)
checkForm
protected boolean checkForm(int opcode)
- Description copied from class:
X86Instruction
- Return true if the specified form is valid for this instruction
opcode.
- Overrides:
checkForm
in class X86Instruction
getDisplacement
public Displacement getDisplacement()
- Overrides:
getDisplacement
in class X86Instruction
setDisplacement
public void setDisplacement(Displacement disp)
- Overrides:
setDisplacement
in class X86Instruction
assembler
public void assembler(Assembler asm,
Emit emit)
- Insert the assembler representation of the instruction into the
output stream.
- Overrides:
assembler
in class X86Instruction
toString
public java.lang.String toString()
- Overrides:
toString
in class X86Instruction