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.
75 lines
2.3 KiB
75 lines
2.3 KiB
/// @file include-private/xed-ild-imm-l1.h
|
|
|
|
// This file was automatically generated.
|
|
// Do not edit this file.
|
|
|
|
#if !defined(INCLUDE_PRIVATE_XED_ILD_IMM_L1_H)
|
|
# define INCLUDE_PRIVATE_XED_ILD_IMM_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-imm-l2.h"
|
|
static XED_INLINE void xed_lookup_function_RESOLVE_BYREG_IMM_WIDTH_maplegacy_map0_op0xc7_l1(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_RESOLVE_BYREG_IMM_WIDTH_maplegacy_map0_op0xf6_l1(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_RESOLVE_BYREG_IMM_WIDTH_maplegacy_map0_op0xf7_l1(xed_decoded_inst_t* x);
|
|
|
|
static XED_INLINE void xed_lookup_function_RESOLVE_BYREG_IMM_WIDTH_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_SIMMz_IMM_WIDTH_OSZ_NONTERM_EOSZ_l2(x);
|
|
break;
|
|
case 7:
|
|
xed_lookup_function_0_IMM_WIDTH_CONST_l2(x);
|
|
break;
|
|
/*We should only get here for #UDs and those have no defined architectural length*/
|
|
default: ;
|
|
}
|
|
}
|
|
static XED_INLINE void xed_lookup_function_RESOLVE_BYREG_IMM_WIDTH_maplegacy_map0_op0xf6_l1(xed_decoded_inst_t* x)
|
|
{
|
|
xed_uint8_t _reg;
|
|
_reg = xed3_operand_get_reg(x);
|
|
if(_reg <= 1) {
|
|
xed_lookup_function_SIMM8_IMM_WIDTH_CONST_l2(x);
|
|
return;
|
|
}
|
|
else if((2 <= _reg) && (_reg <= 7)) {
|
|
xed_lookup_function_0_IMM_WIDTH_CONST_l2(x);
|
|
return;
|
|
}
|
|
}
|
|
static XED_INLINE void xed_lookup_function_RESOLVE_BYREG_IMM_WIDTH_maplegacy_map0_op0xf7_l1(xed_decoded_inst_t* x)
|
|
{
|
|
xed_uint8_t _reg;
|
|
_reg = xed3_operand_get_reg(x);
|
|
if(_reg <= 1) {
|
|
xed_lookup_function_SIMMz_IMM_WIDTH_OSZ_NONTERM_EOSZ_l2(x);
|
|
return;
|
|
}
|
|
else if((2 <= _reg) && (_reg <= 7)) {
|
|
xed_lookup_function_0_IMM_WIDTH_CONST_l2(x);
|
|
return;
|
|
}
|
|
}
|
|
#endif
|