org.jikesrvm.ia32
Enum RegisterConstants.XMM
java.lang.Object
java.lang.Enum<RegisterConstants.XMM>
org.jikesrvm.ia32.RegisterConstants.XMM
- All Implemented Interfaces:
- Serializable, Comparable<RegisterConstants.XMM>, RegisterConstants.FloatingPointMachineRegister, RegisterConstants.MachineRegister
- Enclosing interface:
- RegisterConstants
public static enum RegisterConstants.XMM
- extends Enum<RegisterConstants.XMM>
- implements RegisterConstants.FloatingPointMachineRegister
Representation of SSE XMM registers
XMM0
public static final RegisterConstants.XMM XMM0
XMM1
public static final RegisterConstants.XMM XMM1
XMM2
public static final RegisterConstants.XMM XMM2
XMM3
public static final RegisterConstants.XMM XMM3
XMM4
public static final RegisterConstants.XMM XMM4
XMM5
public static final RegisterConstants.XMM XMM5
XMM6
public static final RegisterConstants.XMM XMM6
XMM7
public static final RegisterConstants.XMM XMM7
XMM8
public static final RegisterConstants.XMM XMM8
XMM9
public static final RegisterConstants.XMM XMM9
XMM10
public static final RegisterConstants.XMM XMM10
XMM11
public static final RegisterConstants.XMM XMM11
XMM12
public static final RegisterConstants.XMM XMM12
XMM13
public static final RegisterConstants.XMM XMM13
XMM14
public static final RegisterConstants.XMM XMM14
XMM15
public static final RegisterConstants.XMM XMM15
vals
private static final RegisterConstants.XMM[] vals
- Local copy of the backing array. Copied here to avoid calls to clone
values
public static RegisterConstants.XMM[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RegisterConstants.XMM c : RegisterConstants.XMM.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RegisterConstants.XMM valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
value
public byte value()
- Specified by:
value
in interface RegisterConstants.MachineRegister
- Returns:
- encoded value of this register
needsREXprefix
public boolean needsREXprefix()
- Specified by:
needsREXprefix
in interface RegisterConstants.MachineRegister
- Returns:
- does this register require a REX prefix byte?
lookup
public static RegisterConstants.XMM lookup(int num)
- Convert encoded value into the XMM it represents
- Parameters:
num
- encoded value
- Returns:
- represented XMM