scale.backend.mips
Class Opcodes

java.lang.Object
  extended by scale.backend.mips.Opcodes

public class Opcodes
extends java.lang.Object

This class provides Mips instruction information.

$Id: Opcodes.java,v 1.9 2007-01-04 16:48:47 burrill Exp $

Copyright 2006 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.

MIPS opcodes come in three formats:

  1. R (register) format: Bits <31:26> are the opcode, bits <5:0> are the function
  2. I (immediate) format: Bits <31:26> are the opcode
  3. J (jump) format: Bits <31:26> are the opcode


    Field Summary
    static int ABS_D
               
    static int ABS_S
               
    static int ADD
               
    static int ADD_D
               
    static int ADD_S
               
    static int ADDI
               
    static int ADDIU
               
    static int ADDU
               
    static int AND
               
    static int ANDI
               
    static int BC1F
               
    static int BC1FL
               
    static int BC1T
               
    static int BC1TL
               
    static int BEQ
               
    static int BEQL
               
    static int BGEZ
               
    static int BGEZAL
               
    static int BGEZALL
               
    static int BGEZL
               
    static int BGTZ
               
    static int BGTZL
               
    static int BLEZ
               
    static int BLEZL
               
    static int BLTZ
               
    static int BLTZAL
               
    static int BLTZALL
               
    static int BLTZL
               
    static int BNE
               
    static int BNEL
               
    static int BREAK
               
    static int C_EQ_D
               
    static int C_EQ_S
               
    static int C_F_D
               
    static int C_F_S
               
    static int C_LE_D
               
    static int C_LE_S
               
    static int C_LT_D
               
    static int C_LT_S
               
    static int C_NGE_D
               
    static int C_NGE_S
               
    static int C_NGL_D
               
    static int C_NGL_S
               
    static int C_NGLE_D
               
    static int C_NGLE_S
               
    static int C_NGT_D
               
    static int C_NGT_S
               
    static int C_OLE_D
               
    static int C_OLE_S
               
    static int C_OLT_D
               
    static int C_OLT_S
               
    static int C_SEQ_D
               
    static int C_SEQ_S
               
    static int C_SF_D
               
    static int C_SF_S
               
    static int C_UEQ_D
               
    static int C_UEQ_S
               
    static int C_ULE_D
               
    static int C_ULE_S
               
    static int C_ULT_D
               
    static int C_ULT_S
               
    static int C_UN_D
               
    static int C_UN_S
               
    static int CEIL_L_D
               
    static int CEIL_L_S
               
    static int CEIL_W_D
               
    static int CEIL_W_S
               
    static int CFC1
               
    static int CTC1
               
    static int CVT_D_L
               
    static int CVT_D_S
               
    static int CVT_D_W
               
    static int CVT_L_D
               
    static int CVT_L_S
               
    static int CVT_S_D
               
    static int CVT_S_L
               
    static int CVT_S_W
               
    static int CVT_W_D
               
    static int CVT_W_S
               
    static int DADD
               
    static int DADDI
               
    static int DADDIU
               
    static int DADDU
               
    static int DDIV
               
    static int DDIVU
               
    static int DIV
               
    static int DIV_D
               
    static int DIV_S
               
    static int DIVU
               
    static int DMFC1
               
    static int DMTC1
               
    static int DMULT
               
    static int DMULTU
               
    static int DSLL
               
    static int DSLL32
               
    static int DSLLV
               
    static int DSRA
               
    static int DSRA32
               
    static int DSRAV
               
    static int DSRL
               
    static int DSRL32
               
    static int DSRLV
               
    static int DSUB
               
    static int DSUBU
               
    static int FLOOR_L_D
               
    static int FLOOR_L_S
               
    static int FLOOR_W_D
               
    static int FLOOR_W_S
               
    static int J
               
    static int JAL
               
    static int JALR
               
    static int JR
               
    static int LB
               
    static int LBU
               
    static int LD
               
    static int LDC1
               
    static int LDL
               
    static int LDR
               
    static int LDXC1
               
    static int LH
               
    static int LHU
               
    static int LL
               
    static int LLD
               
    static int LUI
               
    static int LW
               
    static int LWC1
               
    static int LWL
               
    static int LWR
               
    static int LWU
               
    static int LWXC1
               
    static int MADD_D
               
    static int MADD_S
               
    static int MFC1
               
    static int MFHI
               
    static int MFLO
               
    static int MOV_D
               
    static int MOV_S
               
    static int MOVF
               
    static int MOVF_D
               
    static int MOVF_S
               
    static int MOVN
               
    static int MOVN_D
               
    static int MOVN_S
               
    static int MOVT
               
    static int MOVT_D
               
    static int MOVT_S
               
    static int MOVZ
               
    static int MOVZ_D
               
    static int MOVZ_S
               
    static int MSUB_D
               
    static int MSUB_S
               
    static int MTC1
               
    static int MTHI
               
    static int MTLO
               
    static int MUL_D
               
    static int MUL_S
               
    static int MULT
               
    static int MULTU
               
    static int NEG_D
               
    static int NEG_S
               
    static int NMADD_D
               
    static int NMADD_S
               
    static int NMSUB_D
               
    static int NMSUB_S
               
    static int NOP
              NOP is SLL $0, $0, $0
    static int NOR
               
    static int OR
               
    static int ORI
               
    static int PREF
               
    static int PREFX
               
    static int RECIP_D
               
    static int RECIP_S
               
    static int ROUND_L_D
               
    static int ROUND_L_S
               
    static int ROUND_W_D
               
    static int ROUND_W_S
               
    static int RSQRT_D
               
    static int RSQRT_S
               
    static int SB
               
    static int SC
               
    static int SCD
               
    static int SD
               
    static int SDC1
               
    static int SDL
               
    static int SDR
               
    static int SDXC1
               
    static int SH
               
    static int SLL
               
    static int SLLV
               
    static int SLT
               
    static int SLTI
               
    static int SLTIU
               
    static int SLTU
               
    static int SQRT_D
               
    static int SQRT_S
               
    static int SRA
               
    static int SRAV
               
    static int SRL
               
    static int SRLV
               
    static int SUB
               
    static int SUB_D
               
    static int SUB_S
               
    static int SUBU
               
    static int SW
               
    static int SWC1
               
    static int SWL
               
    static int SWR
               
    static int SWXC1
               
    static int SYNC
               
    static int SYSCALL
               
    static int TEQ
               
    static int TEQI
               
    static int TGE
               
    static int TGEI
               
    static int TGEIU
               
    static int TGEU
               
    static int TLT
               
    static int TLTI
               
    static int TLTIU
               
    static int TLTU
               
    static int TNE
               
    static int TNEI
               
    static int TRUNC_L_D
               
    static int TRUNC_L_S
               
    static int TRUNC_W_D
               
    static int TRUNC_W_S
               
    static int XOR
               
    static int XORI
               
     
    Constructor Summary
    Opcodes()
               
     
    Method Summary
    static java.lang.String getOp(Branch inst)
              Return the opcode mnemonic for the instruction.
    static java.lang.String getOp(Instruction inst)
              Return the opcode mnemonic for the instruction.
    static java.lang.String getOp(int opcode)
              Return the opcode mnemonic for the instruction opcode.
    static int lookupFltBranch(int size, int which)
               
    static int lookupFltCompare(int size, int which)
              Return the appropriate opcode for a float compare
    static boolean lookupFltCompareOrder(int size, int which)
               
    static int lookupFltMovGP(int size, int which)
               
    static boolean reversedOperands(int Opcode)
              Return true if the instruction modifies the last operand instead of the first
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    NOP

    public static final int NOP
    NOP is SLL $0, $0, $0

    See Also:
    Constant Field Values

    ADD

    public static final int ADD
    See Also:
    Constant Field Values

    ADDI

    public static final int ADDI
    See Also:
    Constant Field Values

    ADDIU

    public static final int ADDIU
    See Also:
    Constant Field Values

    ADDU

    public static final int ADDU
    See Also:
    Constant Field Values

    AND

    public static final int AND
    See Also:
    Constant Field Values

    ANDI

    public static final int ANDI
    See Also:
    Constant Field Values

    BEQ

    public static final int BEQ
    See Also:
    Constant Field Values

    BEQL

    public static final int BEQL
    See Also:
    Constant Field Values

    BGEZ

    public static final int BGEZ
    See Also:
    Constant Field Values

    BGEZAL

    public static final int BGEZAL
    See Also:
    Constant Field Values

    BGEZALL

    public static final int BGEZALL
    See Also:
    Constant Field Values

    BGEZL

    public static final int BGEZL
    See Also:
    Constant Field Values

    BGTZ

    public static final int BGTZ
    See Also:
    Constant Field Values

    BGTZL

    public static final int BGTZL
    See Also:
    Constant Field Values

    BLEZ

    public static final int BLEZ
    See Also:
    Constant Field Values

    BLEZL

    public static final int BLEZL
    See Also:
    Constant Field Values

    BLTZ

    public static final int BLTZ
    See Also:
    Constant Field Values

    BLTZAL

    public static final int BLTZAL
    See Also:
    Constant Field Values

    BLTZALL

    public static final int BLTZALL
    See Also:
    Constant Field Values

    BLTZL

    public static final int BLTZL
    See Also:
    Constant Field Values

    BNE

    public static final int BNE
    See Also:
    Constant Field Values

    BNEL

    public static final int BNEL
    See Also:
    Constant Field Values

    BREAK

    public static final int BREAK
    See Also:
    Constant Field Values

    DADD

    public static final int DADD
    See Also:
    Constant Field Values

    DADDI

    public static final int DADDI
    See Also:
    Constant Field Values

    DADDIU

    public static final int DADDIU
    See Also:
    Constant Field Values

    DADDU

    public static final int DADDU
    See Also:
    Constant Field Values

    DDIV

    public static final int DDIV
    See Also:
    Constant Field Values

    DDIVU

    public static final int DDIVU
    See Also:
    Constant Field Values

    DIV

    public static final int DIV
    See Also:
    Constant Field Values

    DIVU

    public static final int DIVU
    See Also:
    Constant Field Values

    DMULT

    public static final int DMULT
    See Also:
    Constant Field Values

    DMULTU

    public static final int DMULTU
    See Also:
    Constant Field Values

    DSLL

    public static final int DSLL
    See Also:
    Constant Field Values

    DSLL32

    public static final int DSLL32
    See Also:
    Constant Field Values

    DSLLV

    public static final int DSLLV
    See Also:
    Constant Field Values

    DSRA

    public static final int DSRA
    See Also:
    Constant Field Values

    DSRA32

    public static final int DSRA32
    See Also:
    Constant Field Values

    DSRAV

    public static final int DSRAV
    See Also:
    Constant Field Values

    DSRL

    public static final int DSRL
    See Also:
    Constant Field Values

    DSRL32

    public static final int DSRL32
    See Also:
    Constant Field Values

    DSRLV

    public static final int DSRLV
    See Also:
    Constant Field Values

    DSUB

    public static final int DSUB
    See Also:
    Constant Field Values

    DSUBU

    public static final int DSUBU
    See Also:
    Constant Field Values

    J

    public static final int J
    See Also:
    Constant Field Values

    JAL

    public static final int JAL
    See Also:
    Constant Field Values

    JALR

    public static final int JALR
    See Also:
    Constant Field Values

    JR

    public static final int JR
    See Also:
    Constant Field Values

    LB

    public static final int LB
    See Also:
    Constant Field Values

    LBU

    public static final int LBU
    See Also:
    Constant Field Values

    LD

    public static final int LD
    See Also:
    Constant Field Values

    LDL

    public static final int LDL
    See Also:
    Constant Field Values

    LDR

    public static final int LDR
    See Also:
    Constant Field Values

    LH

    public static final int LH
    See Also:
    Constant Field Values

    LHU

    public static final int LHU
    See Also:
    Constant Field Values

    LL

    public static final int LL
    See Also:
    Constant Field Values

    LLD

    public static final int LLD
    See Also:
    Constant Field Values

    LUI

    public static final int LUI
    See Also:
    Constant Field Values

    LW

    public static final int LW
    See Also:
    Constant Field Values

    LWL

    public static final int LWL
    See Also:
    Constant Field Values

    LWR

    public static final int LWR
    See Also:
    Constant Field Values

    LWU

    public static final int LWU
    See Also:
    Constant Field Values

    MFHI

    public static final int MFHI
    See Also:
    Constant Field Values

    MFLO

    public static final int MFLO
    See Also:
    Constant Field Values

    MOVN

    public static final int MOVN
    See Also:
    Constant Field Values

    MOVZ

    public static final int MOVZ
    See Also:
    Constant Field Values

    MTHI

    public static final int MTHI
    See Also:
    Constant Field Values

    MTLO

    public static final int MTLO
    See Also:
    Constant Field Values

    MULT

    public static final int MULT
    See Also:
    Constant Field Values

    MULTU

    public static final int MULTU
    See Also:
    Constant Field Values

    NOR

    public static final int NOR
    See Also:
    Constant Field Values

    OR

    public static final int OR
    See Also:
    Constant Field Values

    ORI

    public static final int ORI
    See Also:
    Constant Field Values

    PREF

    public static final int PREF
    See Also:
    Constant Field Values

    SB

    public static final int SB
    See Also:
    Constant Field Values

    SC

    public static final int SC
    See Also:
    Constant Field Values

    SCD

    public static final int SCD
    See Also:
    Constant Field Values

    SD

    public static final int SD
    See Also:
    Constant Field Values

    SDL

    public static final int SDL
    See Also:
    Constant Field Values

    SDR

    public static final int SDR
    See Also:
    Constant Field Values

    SH

    public static final int SH
    See Also:
    Constant Field Values

    SLL

    public static final int SLL
    See Also:
    Constant Field Values

    SLLV

    public static final int SLLV
    See Also:
    Constant Field Values

    SLT

    public static final int SLT
    See Also:
    Constant Field Values

    SLTI

    public static final int SLTI
    See Also:
    Constant Field Values

    SLTIU

    public static final int SLTIU
    See Also:
    Constant Field Values

    SLTU

    public static final int SLTU
    See Also:
    Constant Field Values

    SRA

    public static final int SRA
    See Also:
    Constant Field Values

    SRAV

    public static final int SRAV
    See Also:
    Constant Field Values

    SRL

    public static final int SRL
    See Also:
    Constant Field Values

    SRLV

    public static final int SRLV
    See Also:
    Constant Field Values

    SUB

    public static final int SUB
    See Also:
    Constant Field Values

    SUBU

    public static final int SUBU
    See Also:
    Constant Field Values

    SW

    public static final int SW
    See Also:
    Constant Field Values

    SWL

    public static final int SWL
    See Also:
    Constant Field Values

    SWR

    public static final int SWR
    See Also:
    Constant Field Values

    SYNC

    public static final int SYNC
    See Also:
    Constant Field Values

    SYSCALL

    public static final int SYSCALL
    See Also:
    Constant Field Values

    TEQ

    public static final int TEQ
    See Also:
    Constant Field Values

    TEQI

    public static final int TEQI
    See Also:
    Constant Field Values

    TGE

    public static final int TGE
    See Also:
    Constant Field Values

    TGEI

    public static final int TGEI
    See Also:
    Constant Field Values

    TGEIU

    public static final int TGEIU
    See Also:
    Constant Field Values

    TGEU

    public static final int TGEU
    See Also:
    Constant Field Values

    TLT

    public static final int TLT
    See Also:
    Constant Field Values

    TLTI

    public static final int TLTI
    See Also:
    Constant Field Values

    TLTIU

    public static final int TLTIU
    See Also:
    Constant Field Values

    TLTU

    public static final int TLTU
    See Also:
    Constant Field Values

    TNE

    public static final int TNE
    See Also:
    Constant Field Values

    TNEI

    public static final int TNEI
    See Also:
    Constant Field Values

    XOR

    public static final int XOR
    See Also:
    Constant Field Values

    XORI

    public static final int XORI
    See Also:
    Constant Field Values

    ABS_S

    public static final int ABS_S
    See Also:
    Constant Field Values

    ABS_D

    public static final int ABS_D
    See Also:
    Constant Field Values

    ADD_S

    public static final int ADD_S
    See Also:
    Constant Field Values

    ADD_D

    public static final int ADD_D
    See Also:
    Constant Field Values

    BC1F

    public static final int BC1F
    See Also:
    Constant Field Values

    BC1FL

    public static final int BC1FL
    See Also:
    Constant Field Values

    BC1T

    public static final int BC1T
    See Also:
    Constant Field Values

    BC1TL

    public static final int BC1TL
    See Also:
    Constant Field Values

    C_F_S

    public static final int C_F_S
    See Also:
    Constant Field Values

    C_F_D

    public static final int C_F_D
    See Also:
    Constant Field Values

    C_UN_S

    public static final int C_UN_S
    See Also:
    Constant Field Values

    C_UN_D

    public static final int C_UN_D
    See Also:
    Constant Field Values

    C_EQ_S

    public static final int C_EQ_S
    See Also:
    Constant Field Values

    C_EQ_D

    public static final int C_EQ_D
    See Also:
    Constant Field Values

    C_UEQ_S

    public static final int C_UEQ_S
    See Also:
    Constant Field Values

    C_UEQ_D

    public static final int C_UEQ_D
    See Also:
    Constant Field Values

    C_OLT_S

    public static final int C_OLT_S
    See Also:
    Constant Field Values

    C_OLT_D

    public static final int C_OLT_D
    See Also:
    Constant Field Values

    C_ULT_S

    public static final int C_ULT_S
    See Also:
    Constant Field Values

    C_ULT_D

    public static final int C_ULT_D
    See Also:
    Constant Field Values

    C_OLE_S

    public static final int C_OLE_S
    See Also:
    Constant Field Values

    C_OLE_D

    public static final int C_OLE_D
    See Also:
    Constant Field Values

    C_ULE_S

    public static final int C_ULE_S
    See Also:
    Constant Field Values

    C_ULE_D

    public static final int C_ULE_D
    See Also:
    Constant Field Values

    C_SF_S

    public static final int C_SF_S
    See Also:
    Constant Field Values

    C_SF_D

    public static final int C_SF_D
    See Also:
    Constant Field Values

    C_NGLE_S

    public static final int C_NGLE_S
    See Also:
    Constant Field Values

    C_NGLE_D

    public static final int C_NGLE_D
    See Also:
    Constant Field Values

    C_SEQ_S

    public static final int C_SEQ_S
    See Also:
    Constant Field Values

    C_SEQ_D

    public static final int C_SEQ_D
    See Also:
    Constant Field Values

    C_NGL_S

    public static final int C_NGL_S
    See Also:
    Constant Field Values

    C_NGL_D

    public static final int C_NGL_D
    See Also:
    Constant Field Values

    C_LT_S

    public static final int C_LT_S
    See Also:
    Constant Field Values

    C_LT_D

    public static final int C_LT_D
    See Also:
    Constant Field Values

    C_NGE_S

    public static final int C_NGE_S
    See Also:
    Constant Field Values

    C_NGE_D

    public static final int C_NGE_D
    See Also:
    Constant Field Values

    C_LE_S

    public static final int C_LE_S
    See Also:
    Constant Field Values

    C_LE_D

    public static final int C_LE_D
    See Also:
    Constant Field Values

    C_NGT_S

    public static final int C_NGT_S
    See Also:
    Constant Field Values

    C_NGT_D

    public static final int C_NGT_D
    See Also:
    Constant Field Values

    CEIL_L_S

    public static final int CEIL_L_S
    See Also:
    Constant Field Values

    CEIL_L_D

    public static final int CEIL_L_D
    See Also:
    Constant Field Values

    CEIL_W_S

    public static final int CEIL_W_S
    See Also:
    Constant Field Values

    CEIL_W_D

    public static final int CEIL_W_D
    See Also:
    Constant Field Values

    CFC1

    public static final int CFC1
    See Also:
    Constant Field Values

    CTC1

    public static final int CTC1
    See Also:
    Constant Field Values

    CVT_D_S

    public static final int CVT_D_S
    See Also:
    Constant Field Values

    CVT_D_W

    public static final int CVT_D_W
    See Also:
    Constant Field Values

    CVT_D_L

    public static final int CVT_D_L
    See Also:
    Constant Field Values

    CVT_L_S

    public static final int CVT_L_S
    See Also:
    Constant Field Values

    CVT_L_D

    public static final int CVT_L_D
    See Also:
    Constant Field Values

    CVT_S_D

    public static final int CVT_S_D
    See Also:
    Constant Field Values

    CVT_S_W

    public static final int CVT_S_W
    See Also:
    Constant Field Values

    CVT_S_L

    public static final int CVT_S_L
    See Also:
    Constant Field Values

    CVT_W_S

    public static final int CVT_W_S
    See Also:
    Constant Field Values

    CVT_W_D

    public static final int CVT_W_D
    See Also:
    Constant Field Values

    DIV_S

    public static final int DIV_S
    See Also:
    Constant Field Values

    DIV_D

    public static final int DIV_D
    See Also:
    Constant Field Values

    DMFC1

    public static final int DMFC1
    See Also:
    Constant Field Values

    DMTC1

    public static final int DMTC1
    See Also:
    Constant Field Values

    FLOOR_L_S

    public static final int FLOOR_L_S
    See Also:
    Constant Field Values

    FLOOR_L_D

    public static final int FLOOR_L_D
    See Also:
    Constant Field Values

    FLOOR_W_S

    public static final int FLOOR_W_S
    See Also:
    Constant Field Values

    FLOOR_W_D

    public static final int FLOOR_W_D
    See Also:
    Constant Field Values

    LDC1

    public static final int LDC1
    See Also:
    Constant Field Values

    LDXC1

    public static final int LDXC1
    See Also:
    Constant Field Values

    LWC1

    public static final int LWC1
    See Also:
    Constant Field Values

    LWXC1

    public static final int LWXC1
    See Also:
    Constant Field Values

    MADD_S

    public static final int MADD_S
    See Also:
    Constant Field Values

    MADD_D

    public static final int MADD_D
    See Also:
    Constant Field Values

    MFC1

    public static final int MFC1
    See Also:
    Constant Field Values

    MOV_S

    public static final int MOV_S
    See Also:
    Constant Field Values

    MOV_D

    public static final int MOV_D
    See Also:
    Constant Field Values

    MOVF

    public static final int MOVF
    See Also:
    Constant Field Values

    MOVF_S

    public static final int MOVF_S
    See Also:
    Constant Field Values

    MOVF_D

    public static final int MOVF_D
    See Also:
    Constant Field Values

    MOVN_S

    public static final int MOVN_S
    See Also:
    Constant Field Values

    MOVN_D

    public static final int MOVN_D
    See Also:
    Constant Field Values

    MOVT

    public static final int MOVT
    See Also:
    Constant Field Values

    MOVT_S

    public static final int MOVT_S
    See Also:
    Constant Field Values

    MOVT_D

    public static final int MOVT_D
    See Also:
    Constant Field Values

    MOVZ_S

    public static final int MOVZ_S
    See Also:
    Constant Field Values

    MOVZ_D

    public static final int MOVZ_D
    See Also:
    Constant Field Values

    MSUB_S

    public static final int MSUB_S
    See Also:
    Constant Field Values

    MSUB_D

    public static final int MSUB_D
    See Also:
    Constant Field Values

    MTC1

    public static final int MTC1
    See Also:
    Constant Field Values

    MUL_S

    public static final int MUL_S
    See Also:
    Constant Field Values

    MUL_D

    public static final int MUL_D
    See Also:
    Constant Field Values

    NEG_S

    public static final int NEG_S
    See Also:
    Constant Field Values

    NEG_D

    public static final int NEG_D
    See Also:
    Constant Field Values

    NMADD_S

    public static final int NMADD_S
    See Also:
    Constant Field Values

    NMADD_D

    public static final int NMADD_D
    See Also:
    Constant Field Values

    NMSUB_S

    public static final int NMSUB_S
    See Also:
    Constant Field Values

    NMSUB_D

    public static final int NMSUB_D
    See Also:
    Constant Field Values

    PREFX

    public static final int PREFX
    See Also:
    Constant Field Values

    RECIP_S

    public static final int RECIP_S
    See Also:
    Constant Field Values

    RECIP_D

    public static final int RECIP_D
    See Also:
    Constant Field Values

    ROUND_L_S

    public static final int ROUND_L_S
    See Also:
    Constant Field Values

    ROUND_L_D

    public static final int ROUND_L_D
    See Also:
    Constant Field Values

    ROUND_W_S

    public static final int ROUND_W_S
    See Also:
    Constant Field Values

    ROUND_W_D

    public static final int ROUND_W_D
    See Also:
    Constant Field Values

    RSQRT_S

    public static final int RSQRT_S
    See Also:
    Constant Field Values

    RSQRT_D

    public static final int RSQRT_D
    See Also:
    Constant Field Values

    SDC1

    public static final int SDC1
    See Also:
    Constant Field Values

    SDXC1

    public static final int SDXC1
    See Also:
    Constant Field Values

    SQRT_S

    public static final int SQRT_S
    See Also:
    Constant Field Values

    SQRT_D

    public static final int SQRT_D
    See Also:
    Constant Field Values

    SUB_S

    public static final int SUB_S
    See Also:
    Constant Field Values

    SUB_D

    public static final int SUB_D
    See Also:
    Constant Field Values

    SWC1

    public static final int SWC1
    See Also:
    Constant Field Values

    SWXC1

    public static final int SWXC1
    See Also:
    Constant Field Values

    TRUNC_L_S

    public static final int TRUNC_L_S
    See Also:
    Constant Field Values

    TRUNC_L_D

    public static final int TRUNC_L_D
    See Also:
    Constant Field Values

    TRUNC_W_S

    public static final int TRUNC_W_S
    See Also:
    Constant Field Values

    TRUNC_W_D

    public static final int TRUNC_W_D
    See Also:
    Constant Field Values
    Constructor Detail

    Opcodes

    public Opcodes()
    Method Detail

    reversedOperands

    public static boolean reversedOperands(int Opcode)
    Return true if the instruction modifies the last operand instead of the first


    lookupFltCompare

    public static int lookupFltCompare(int size,
                                       int which)
    Return the appropriate opcode for a float compare


    lookupFltCompareOrder

    public static boolean lookupFltCompareOrder(int size,
                                                int which)

    lookupFltBranch

    public static int lookupFltBranch(int size,
                                      int which)

    lookupFltMovGP

    public static int lookupFltMovGP(int size,
                                     int which)

    getOp

    public static java.lang.String getOp(Instruction inst)
    Return the opcode mnemonic for the instruction.


    getOp

    public static java.lang.String getOp(Branch inst)
    Return the opcode mnemonic for the instruction.


    getOp

    public static java.lang.String getOp(int opcode)
    Return the opcode mnemonic for the instruction opcode.