Set decoder modes and state which reflect ISA support.
This function sets the decoder state according to the selected ISA variation (given by a chip or chip_features) for encodings that can translate into different instructions (e.g., NOP vs. PREFETCH). Additionally, it disables ILD (Instruction Length Decoder) and decoder support for certain major architectures such as AVX512 and APX.
- Parameters
-
xedd | a xed_decoded_inst_t for a decoded instruction. |
chip | An enumeration specifying the target chip. |
chip_features | A pointer to a structure defining the chip features. |