hicosim.components.backend.processor.enums
Enum Instruction

java.lang.Object
  extended by java.lang.Enum<Instruction>
      extended by hicosim.components.backend.processor.enums.Instruction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Instruction>

public enum Instruction
extends java.lang.Enum<Instruction>

Enumeration of all HICOVEC Instructions.

Author:
Michael Wager, Luca Calchera, 16th May 2009

Enum Constant Summary
ADC
           
ADD
           
AND
           
CLC
           
CLZ
           
DEC
           
INC
           
JAL
           
JC
           
JMP
           
JNC
           
JNZ
           
JZ
           
LOAD
           
LSL
           
LSR
           
MOV
           
MOVA
           
MUL
           
NOP
           
OR
           
ROL
           
ROR
           
SBC
           
SEC
           
SEZ
           
STORE
           
SUB
           
VADD
           
VAND
           
VLOAD
           
VLSL
           
VLSR
           
VMOL
           
VMOR
           
VMOV
           
VMUL
           
VNOP
           
VOR
           
VSHUF
           
VSTORE
           
VSUB
           
VXOR
           
XOR
           
 
Method Summary
static Instruction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Instruction[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LOAD

public static final Instruction LOAD

STORE

public static final Instruction STORE

ADD

public static final Instruction ADD

SUB

public static final Instruction SUB

ADC

public static final Instruction ADC

SBC

public static final Instruction SBC

INC

public static final Instruction INC

DEC

public static final Instruction DEC

AND

public static final Instruction AND

OR

public static final Instruction OR

XOR

public static final Instruction XOR

MUL

public static final Instruction MUL

JMP

public static final Instruction JMP

JAL

public static final Instruction JAL

JNC

public static final Instruction JNC

JC

public static final Instruction JC

JNZ

public static final Instruction JNZ

JZ

public static final Instruction JZ

CLC

public static final Instruction CLC

SEC

public static final Instruction SEC

CLZ

public static final Instruction CLZ

SEZ

public static final Instruction SEZ

LSL

public static final Instruction LSL

LSR

public static final Instruction LSR

ROL

public static final Instruction ROL

ROR

public static final Instruction ROR

NOP

public static final Instruction NOP

VNOP

public static final Instruction VNOP

MOV

public static final Instruction MOV

MOVA

public static final Instruction MOVA

VLOAD

public static final Instruction VLOAD

VSTORE

public static final Instruction VSTORE

VMOV

public static final Instruction VMOV

VMOL

public static final Instruction VMOL

VMOR

public static final Instruction VMOR

VADD

public static final Instruction VADD

VSUB

public static final Instruction VSUB

VAND

public static final Instruction VAND

VOR

public static final Instruction VOR

VXOR

public static final Instruction VXOR

VMUL

public static final Instruction VMUL

VLSL

public static final Instruction VLSL

VLSR

public static final Instruction VLSR

VSHUF

public static final Instruction VSHUF
Method Detail

values

public static final Instruction[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Instruction c : Instruction.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Instruction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name