public static enum AVXKind.AVXSize extends Enum<AVXKind.AVXSize> implements VectorSize
| Modifier and Type | Method and Description |
|---|---|
boolean |
fitsWithin(AVXKind.AVXSize supportedVectorSize)
Tests if this can fit within
supportedVectorSize. |
int |
getBytes() |
static AVXKind.AVXSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AVXKind.AVXSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AVXKind.AVXSize DWORD
public static final AVXKind.AVXSize QWORD
public static final AVXKind.AVXSize XMM
public static final AVXKind.AVXSize YMM
public static final AVXKind.AVXSize ZMM
public static AVXKind.AVXSize[] values()
public static AVXKind.AVXSize valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getBytes()
public boolean fitsWithin(AVXKind.AVXSize supportedVectorSize)
supportedVectorSize. For XMM/YMM/ZMM, we check if
supportedVectorSize has larger width; for DWORD/QWORD, we check if both AVXSizes
are identical.