Intel® X86 Encoder Decoder: xed-decoder-modes.h File Reference

Intel® X86 Encoder Decoder

Loading...
Searching...
No Matches
xed-decoder-modes.h File Reference
`#include "xed-chip-enum.h"`
`#include "xed-decoded-inst.h"`
`#include "xed-chip-features.h"`

## Functions
XED_DLL_EXPORT void | xed_set_decoder_modes (xed_decoded_inst_t *xedd, xed_chip_enum_t chip, xed_chip_features_t const *const chip_features)
| Set decoder modes and state which reflect ISA support.

## Function Documentation

## ◆ xed_set_decoder_modes()

XED_DLL_EXPORT void xed_set_decoder_modes | ( | xed_decoded_inst_t * | xedd,
|  | xed_chip_enum_t | chip,
|  | xed_chip_features_t const *const | chip_features )

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.