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.

60 lines
1.8 KiB

/// @file include-private/xed-ild-disp-l1.h
// This file was automatically generated.
// Do not edit this file.
#if !defined(INCLUDE_PRIVATE_XED_ILD_DISP_L1_H)
# define INCLUDE_PRIVATE_XED_ILD_DISP_L1_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-disp-l2.h"
static XED_INLINE void xed_lookup_function_DISP_BUCKET_0_l1(xed_decoded_inst_t* x);
static XED_INLINE void xed_lookup_function_RESOLVE_BYREG_DISP_maplegacy_map0_op0xc7_l1(xed_decoded_inst_t* x);
static XED_INLINE void xed_lookup_function_DISP_BUCKET_0_l1(xed_decoded_inst_t* x)
{
xed_bits_t _mode;
_mode = (xed_bits_t)xed3_operand_get_mode(x);
if(_mode <= 1) {
xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_EOSZ_l2(x);
return;
}
else if(2 == _mode) {
xed_lookup_function_BRDISP32_BRDISP_WIDTH_CONST_l2(x);
return;
}
}
static XED_INLINE void xed_lookup_function_RESOLVE_BYREG_DISP_maplegacy_map0_op0xc7_l1(xed_decoded_inst_t* x)
{
xed_uint8_t _reg;
_reg = xed3_operand_get_reg(x);
switch(_reg) {
case 0:
xed_lookup_function_EMPTY_DISP_CONST_l2(x);
break;
case 7:
xed_lookup_function_BRDISPz_BRDISP_WIDTH_OSZ_NONTERM_EOSZ_l2(x);
break;
/*We should only get here for #UDs and those have no defined architectural length*/
default: ;
}
}
#endif