pub enum Length {
L128,
L256,
L512,
LZ,
LIG,
}Expand description
Contains vector length definitions.
VEX encodes these in the L bit field, a single bit with 128-bit = 0 and
256-bit = 1. For convenience, we also include the LIG and LZ syntax,
used by the reference manual, and always set these to 0.
EVEX encodes this in the L'L bits, two bits that typically indicate the
vector length for packed vector instructions but can also be used for
rounding control for floating-point instructions with rounding semantics
(see section 2.7.1 in the reference manual).
Variants§
L128
128-bit vector length.
L256
256-bit vector length.
L512
512-bit vector length; invalid for VEX instructions.
LZ
Force the length bits to 0, but not necessarily for 128-bit operation.
From the reference manual: “The VEX.L must be encoded to be 0B, an #UD
occurs if VEX.L is not zero.”
LIG
The length bits are ignored (e.g., for floating point scalar
instructions). This assembler will emit 0.