com.cmpware.cmp.models
Class PowerPC_fp

java.lang.Object
  extended by com.cmpware.cmp.models.PowerPC_fp

public class PowerPC_fp
extends java.lang.Object

This is an implementation of the PowerPC floating point instructions using the AutoModel approach. It is used as an optional component of the PowerPC processor and makes assumptions based on this fact. Not that this is not a processor model; it only contains instructions used to build other processor models. This information is taken from the IBM document "The PowerPC User Instruction Set Architecture: Book 1" version 2.02, January 28, 2005. Implementation notes: The document specifies Big Endian, but uses bit 0 as the MSB. Field numbers in this model will be (31-n) compared to the IBM document.

Copyright (c) 2007 Cmpware, Inc. All Rights Reserved.

Author:
SAG

Nested Class Summary
static class PowerPC_fp.FCR0
          This class defines the fields in the CR Special Register
static class PowerPC_fp.FPSCR
          This class defines the fields in the FPSCR Special Register
 
Field Summary
static java.lang.String copyright
          Copyright string
static AutoModel.Symbol[] crSymbols
          The Condition Register field (CRn) Symbols
 double[] fr
          The floating point registers (shadow)
static java.lang.String[] fregNames
          The IDE names for the 32-bit half registers (two per FP register)
static AutoModel.Symbol[] fregSymbols
          The Floating Point Register Symbols
 int[] fsr
          The floating point special registers (shadow)
static AutoModel.Symbol[] fsregSymbols
          The Floating Point Special Register Symbols
 AutoModel.Instruction[] instructions
           
static AutoModel.Symbol[] regSymbols
          The General Purpose Register Symbols
 
Constructor Summary
PowerPC_fp()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright
Copyright string

See Also:
Constant Field Values

fregSymbols

public static final AutoModel.Symbol[] fregSymbols
The Floating Point Register Symbols


fregNames

public static final java.lang.String[] fregNames
The IDE names for the 32-bit half registers (two per FP register)


fsregSymbols

public static final AutoModel.Symbol[] fsregSymbols
The Floating Point Special Register Symbols


crSymbols

public static final AutoModel.Symbol[] crSymbols
The Condition Register field (CRn) Symbols


regSymbols

public static final AutoModel.Symbol[] regSymbols
The General Purpose Register Symbols


fr

public double[] fr
The floating point registers (shadow)


fsr

public int[] fsr
The floating point special registers (shadow)


instructions

public final AutoModel.Instruction[] instructions
Constructor Detail

PowerPC_fp

public PowerPC_fp()