You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
249 lines
9.8 KiB
249 lines
9.8 KiB
/// @file include-private/xed-ild-disp-l2.h
|
|
|
|
// This file was automatically generated.
|
|
// Do not edit this file.
|
|
|
|
#if !defined(INCLUDE_PRIVATE_XED_ILD_DISP_L2_H)
|
|
# define INCLUDE_PRIVATE_XED_ILD_DISP_L2_H
|
|
/*BEGIN_LEGAL
|
|
|
|
Copyright (c) 2021 Intel Corporation
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
END_LEGAL */
|
|
#include "xed-internal-header.h"
|
|
#include "xed-ild-eosz.h"
|
|
#include "xed-ild-easz.h"
|
|
#include "xed-ild-disp-l3.h"
|
|
#include "xed-ild-private.h"
|
|
#include "xed-operand-accessors.h"
|
|
static XED_INLINE void xed_lookup_function_MEMDISPv_DISP_WIDTH_ASZ_NONTERM_EASZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISP32_BRDISP_WIDTH_CONST_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISP8_BRDISP_WIDTH_CONST_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_CR_WIDTH_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_DF64_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_DF64_FORCE64_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_DF64_IMMUNE66_LOOP64_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_FORCE64_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_IGNORE66_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_IMMUNE66_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_IMMUNE_REXW_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_REFINING66_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_REFINING66_CR_WIDTH_EOSZ_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_EMPTY_DISP_CONST_l2(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_MEMDISPv_DISP_WIDTH_ASZ_NONTERM_EASZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _easz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _asz;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_asz = (xed_bits_t)xed3_operand_get_asz(x);
|
|
_easz = xed_lookup_function_ASZ_NONTERM_EASZ(_mode, _asz);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_MEMDISPv_DISP_WIDTH_l3(_easz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISP32_BRDISP_WIDTH_CONST_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _disp_width;
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISP32_BRDISP_WIDTH_l3();
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISP8_BRDISP_WIDTH_CONST_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _disp_width;
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISP8_BRDISP_WIDTH_l3();
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_CR_WIDTH_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_CR_WIDTH_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_DF64_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_DF64_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_DF64_FORCE64_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_DF64_FORCE64_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_DF64_IMMUNE66_LOOP64_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_DF64_IMMUNE66_LOOP64_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_FORCE64_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_FORCE64_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_IGNORE66_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_IGNORE66_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_IMMUNE66_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_IMMUNE66_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_IMMUNE_REXW_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_IMMUNE_REXW_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_REFINING66_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_REFINING66_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_REFINING66_CR_WIDTH_EOSZ_l2(xed_decoded_inst_t* x)
|
|
{
|
|
xed_bits_t _eosz;
|
|
xed_bits_t _disp_width;
|
|
xed_bits_t _mode;
|
|
xed_bits_t _osz;
|
|
xed_bits_t _rexw;
|
|
_mode = (xed_bits_t)xed3_operand_get_mode(x);
|
|
_osz = (xed_bits_t)xed3_operand_get_osz(x);
|
|
_rexw = (xed_bits_t)xed3_operand_get_rexw(x);
|
|
_eosz = xed_lookup_function_OSZ_NONTERM_REFINING66_CR_WIDTH_EOSZ(_mode, _osz, _rexw);
|
|
_disp_width = (xed_bits_t)xed_lookup_function_BRDISPz_BRDISP_WIDTH_l3(_eosz);
|
|
xed3_operand_set_disp_width(x, _disp_width);
|
|
}
|
|
static XED_INLINE void xed_lookup_function_EMPTY_DISP_CONST_l2(xed_decoded_inst_t* x)
|
|
{
|
|
/*This function does nothing for map-opcodes whose
|
|
disp_bytes value is set earlier in xed-ild.c
|
|
(regular displacement resolution by modrm/sib)*/
|
|
|
|
/*pacify the compiler*/
|
|
(void)x;
|
|
}
|
|
#endif
|