Skip to content

Commit 0c267a0

Browse files
vsemenov368igcbot
authored andcommitted
IGA: GEDLibrary update for PTL encoding model
Updated to GED0.118 Add GED_MODEL_XE3
1 parent ef066c3 commit 0c267a0

File tree

83 files changed

+19746
-12684
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+19746
-12684
lines changed

visa/iga/GEDLibrary/GED_external/Source/common/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ set(GED_common_cpp
1515
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_encoding_masks.cpp
1616
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_position_fragment.cpp
1717
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_restrictions.cpp
18-
${CMAKE_CURRENT_SOURCE_DIR}/ged_interpreter_types.cpp
1918
${CMAKE_CURRENT_SOURCE_DIR}/ged_int_utils.cpp
19+
${CMAKE_CURRENT_SOURCE_DIR}/ged_interpreter_types.cpp
2020
${CMAKE_CURRENT_SOURCE_DIR}/ged_option_parser.cpp
2121
${CMAKE_CURRENT_SOURCE_DIR}/ged_string_utils.cpp
2222
${CMAKE_CURRENT_SOURCE_DIR}/ged_types_internal.cpp
@@ -34,8 +34,8 @@ set(GED_common_h
3434
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_encoding_masks.h
3535
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_position_fragment.h
3636
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_restrictions.h
37-
${CMAKE_CURRENT_SOURCE_DIR}/ged_interpreter_types.h
3837
${CMAKE_CURRENT_SOURCE_DIR}/ged_int_utils.h
38+
${CMAKE_CURRENT_SOURCE_DIR}/ged_interpreter_types.h
3939
${CMAKE_CURRENT_SOURCE_DIR}/ged_option_parser.h
4040
${CMAKE_CURRENT_SOURCE_DIR}/ged_string_utils.h
4141
${CMAKE_CURRENT_SOURCE_DIR}/ged_types_internal.h

visa/iga/GEDLibrary/GED_external/build/autogen-ia32/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ set(GED_autogenia32_cpp
1313
${CMAKE_CURRENT_SOURCE_DIR}/ged_compaction_tables.cpp
1414
${CMAKE_CURRENT_SOURCE_DIR}/ged_decoding_tables.cpp
1515
${CMAKE_CURRENT_SOURCE_DIR}/ged_encoding_masks_tables.cpp
16-
${CMAKE_CURRENT_SOURCE_DIR}/ged_enumerations.cpp
1716
${CMAKE_CURRENT_SOURCE_DIR}/ged_enum_interpreters.cpp
1817
${CMAKE_CURRENT_SOURCE_DIR}/ged_enum_tables.cpp
18+
${CMAKE_CURRENT_SOURCE_DIR}/ged_enumerations.cpp
1919
${CMAKE_CURRENT_SOURCE_DIR}/ged_fragments.cpp
2020
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_field.cpp
2121
${CMAKE_CURRENT_SOURCE_DIR}/ged_mapping_fragments.cpp
@@ -30,6 +30,7 @@ set(GED_autogenia32_cpp
3030
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_none.cpp
3131
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_tgl.cpp
3232
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe2.cpp
33+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe3.cpp
3334
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe_hp.cpp
3435
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe_hpc.cpp
3536
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe_hpc_a.cpp
@@ -46,10 +47,10 @@ set(GED_autogenia32_h
4647
${CMAKE_CURRENT_SOURCE_DIR}/ged_compaction_tables.h
4748
${CMAKE_CURRENT_SOURCE_DIR}/ged_decoding_tables.h
4849
${CMAKE_CURRENT_SOURCE_DIR}/ged_encoding_masks_tables.h
49-
${CMAKE_CURRENT_SOURCE_DIR}/ged_enumerations.h
50-
${CMAKE_CURRENT_SOURCE_DIR}/ged_enumerations_internal.h
5150
${CMAKE_CURRENT_SOURCE_DIR}/ged_enum_interpreters.h
5251
${CMAKE_CURRENT_SOURCE_DIR}/ged_enum_tables.h
52+
${CMAKE_CURRENT_SOURCE_DIR}/ged_enumerations.h
53+
${CMAKE_CURRENT_SOURCE_DIR}/ged_enumerations_internal.h
5354
${CMAKE_CURRENT_SOURCE_DIR}/ged_fragments.h
5455
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_field.h
5556
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_field_internal.h
@@ -65,6 +66,7 @@ set(GED_autogenia32_h
6566
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_none.h
6667
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_tgl.h
6768
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe2.h
69+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe3.h
6870
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe_hp.h
6971
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe_hpc.h
7072
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe_hpc_a.h

visa/iga/GEDLibrary/GED_external/build/autogen-ia32/ged.h

Lines changed: 95 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ typedef enum
138138
* Supported CPUs: Xe2
139139
*/
140140
GED_MODEL_XE2,
141+
142+
/*!
143+
* GED Model Version: xe3
144+
* Supported CPUs: Xe3
145+
*/
146+
GED_MODEL_XE3,
141147
GED_MODEL_INVALID
142148
} GED_MODEL;
143149

@@ -3451,6 +3457,80 @@ extern uint32_t GED_CALLCONV GED_GetSrc2IsImm(ged_ins_t* ins, GED_RETURN_VALUE*
34513457
*/
34523458
extern GED_RETURN_VALUE GED_CALLCONV GED_SetSrc2IsImm(ged_ins_t* ins, const uint32_t value);
34533459

3460+
/*!
3461+
* Get the value of the MetaRegFile field in the given instruction. The function returns an enumeration value. To obtain the enum
3462+
* entry's string representation, use @ref GED_GetRegFileString. See @ref GED_INS_FIELD_MetaRegFile for the field's description.
3463+
*
3464+
* @param[in] ins Pointer to the decoded instruction object.
3465+
* @param[out] result If non-null, the function stores the @ref GED_RETURN_VALUE result indicating success or the specific error
3466+
* which caused the failure.
3467+
*
3468+
* @return MetaRegFile's enumeration if the field is valid, GED_REG_FILE_INVALID otherwise.
3469+
*
3470+
* @note @ref GED_DecodeIns must be called with the given instruction before calling this function.
3471+
*/
3472+
extern GED_REG_FILE GED_CALLCONV GED_GetMetaRegFile(ged_ins_t* ins, GED_RETURN_VALUE* result);
3473+
3474+
/*!
3475+
* Set the value of the MetaRegFile field in the given instruction. See @ref GED_INS_FIELD_MetaRegFile for the field's description.
3476+
*
3477+
* @param[in,out] ins Pointer to the instruction object for encoding.
3478+
* @param[in] value The value to encode.
3479+
*
3480+
* @return GED_RETURN_VALUE indicating success or encoding error.
3481+
*/
3482+
extern GED_RETURN_VALUE GED_CALLCONV GED_SetMetaRegFile(ged_ins_t* ins, const GED_REG_FILE value);
3483+
3484+
/*!
3485+
* Get the value of the MetaSubRegNum field in the given instruction. See @ref GED_INS_FIELD_MetaSubRegNum for the field's
3486+
* description.
3487+
*
3488+
* @param[in] ins Pointer to the decoded instruction object.
3489+
* @param[out] result If non-null, the function stores the @ref GED_RETURN_VALUE result indicating success or the specific error
3490+
* which caused the failure.
3491+
*
3492+
* @return The requested value if the field is valid, uint32_t equivalent of -1 otherwise. If -1 is a valid value for this field,
3493+
* it is important to check the GED_RETURN_VALUE result.
3494+
*
3495+
* @note @ref GED_DecodeIns must be called with the given instruction before calling this function.
3496+
*/
3497+
extern uint32_t GED_CALLCONV GED_GetMetaSubRegNum(ged_ins_t* ins, GED_RETURN_VALUE* result);
3498+
3499+
/*!
3500+
* Set the value of the MetaSubRegNum field in the given instruction. See @ref GED_INS_FIELD_MetaSubRegNum for the field's
3501+
* description.
3502+
*
3503+
* @param[in,out] ins Pointer to the instruction object for encoding.
3504+
* @param[in] value The value to encode.
3505+
*
3506+
* @return GED_RETURN_VALUE indicating success or encoding error.
3507+
*/
3508+
extern GED_RETURN_VALUE GED_CALLCONV GED_SetMetaSubRegNum(ged_ins_t* ins, const uint32_t value);
3509+
3510+
/*!
3511+
* Get the value of the MetaRegNum field in the given instruction. See @ref GED_INS_FIELD_MetaRegNum for the field's description.
3512+
*
3513+
* @param[in] ins Pointer to the decoded instruction object.
3514+
* @param[out] result If non-null, the function stores the @ref GED_RETURN_VALUE result indicating success or the specific error
3515+
* which caused the failure.
3516+
*
3517+
* @return The requested value if the field is valid, uint32_t equivalent of -1 otherwise. If -1 is a valid value for this field,
3518+
* it is important to check the GED_RETURN_VALUE result.
3519+
*
3520+
* @note @ref GED_DecodeIns must be called with the given instruction before calling this function.
3521+
*/
3522+
extern uint32_t GED_CALLCONV GED_GetMetaRegNum(ged_ins_t* ins, GED_RETURN_VALUE* result);
3523+
3524+
/*!
3525+
* Set the value of the MetaRegNum field in the given instruction. See @ref GED_INS_FIELD_MetaRegNum for the field's description.
3526+
*
3527+
* @param[in,out] ins Pointer to the instruction object for encoding.
3528+
* @param[in] value The value to encode.
3529+
*
3530+
* @return GED_RETURN_VALUE indicating success or encoding error.
3531+
*/
3532+
extern GED_RETURN_VALUE GED_CALLCONV GED_SetMetaRegNum(ged_ins_t* ins, const uint32_t value);
3533+
34543534
/*!
34553535
* Get the value of the AddrImm field which corresponds to an indexed Src operand in the given instruction. See @ref
34563536
* GED_INS_FIELD_Src0AddrImm, @ref GED_INS_FIELD_Src1AddrImm for the fields' description.
@@ -3488,7 +3568,7 @@ extern GED_RETURN_VALUE GED_CALLCONV GED_SetIndexedSrcAddrImm(ged_ins_t* ins, co
34883568
* which caused the failure.
34893569
* @param[in] index The index (number) of the source operand.
34903570
*
3491-
* @return Src1SubBytePrecision's enumeration if the field is valid, GED_SUB_BYTE_PRECISION_INVALID otherwise.
3571+
* @return MetaRegFile's enumeration if the field is valid, GED_REG_FILE_INVALID otherwise.
34923572
*
34933573
* @note @ref GED_DecodeIns must be called with the given instruction before calling this function.
34943574
*/
@@ -3571,7 +3651,7 @@ extern GED_RETURN_VALUE GED_CALLCONV GED_SetIndexedSrcChanSel(ged_ins_t* ins, co
35713651
* which caused the failure.
35723652
* @param[in] index The index (number) of the source operand.
35733653
*
3574-
* @return Src1SubBytePrecision's enumeration if the field is valid, GED_SUB_BYTE_PRECISION_INVALID otherwise.
3654+
* @return MetaRegFile's enumeration if the field is valid, GED_REG_FILE_INVALID otherwise.
35753655
*
35763656
* @note @ref GED_DecodeIns must be called with the given instruction before calling this function.
35773657
*/
@@ -3685,7 +3765,7 @@ extern GED_RETURN_VALUE GED_CALLCONV GED_SetIndexedSrcIsImm(ged_ins_t* ins, cons
36853765
* which caused the failure.
36863766
* @param[in] index The index (number) of the source operand.
36873767
*
3688-
* @return Src1SubBytePrecision's enumeration if the field is valid, GED_SUB_BYTE_PRECISION_INVALID otherwise.
3768+
* @return MetaRegFile's enumeration if the field is valid, GED_REG_FILE_INVALID otherwise.
36893769
*
36903770
* @note @ref GED_DecodeIns must be called with the given instruction before calling this function.
36913771
*/
@@ -3714,7 +3794,7 @@ extern GED_RETURN_VALUE GED_CALLCONV GED_SetIndexedSrcMathMacroExt(ged_ins_t* in
37143794
* which caused the failure.
37153795
* @param[in] index The index (number) of the source operand.
37163796
*
3717-
* @return Src1SubBytePrecision's enumeration if the field is valid, GED_SUB_BYTE_PRECISION_INVALID otherwise.
3797+
* @return MetaRegFile's enumeration if the field is valid, GED_REG_FILE_INVALID otherwise.
37183798
*
37193799
* @note @ref GED_DecodeIns must be called with the given instruction before calling this function.
37203800
*/
@@ -3769,7 +3849,7 @@ extern GED_RETURN_VALUE GED_CALLCONV GED_SetIndexedSrcRegNum(ged_ins_t* ins, con
37693849
* which caused the failure.
37703850
* @param[in] index The index (number) of the source operand.
37713851
*
3772-
* @return Src1SubBytePrecision's enumeration if the field is valid, GED_SUB_BYTE_PRECISION_INVALID otherwise.
3852+
* @return MetaRegFile's enumeration if the field is valid, GED_REG_FILE_INVALID otherwise.
37733853
*
37743854
* @note @ref GED_DecodeIns must be called with the given instruction before calling this function.
37753855
*/
@@ -3796,7 +3876,7 @@ extern GED_RETURN_VALUE GED_CALLCONV GED_SetIndexedSrcRepCtrl(ged_ins_t* ins, co
37963876
* which caused the failure.
37973877
* @param[in] index The index (number) of the source operand.
37983878
*
3799-
* @return Src1SubBytePrecision's enumeration if the field is valid, GED_SUB_BYTE_PRECISION_INVALID otherwise.
3879+
* @return MetaRegFile's enumeration if the field is valid, GED_REG_FILE_INVALID otherwise.
38003880
*
38013881
* @note @ref GED_DecodeIns must be called with the given instruction before calling this function.
38023882
*/
@@ -5641,6 +5721,15 @@ extern const char* GED_CALLCONV GED_GetFusionCtrlString(GED_FUSION_CTRL FusionCt
56415721
*/
56425722
extern const char* GED_CALLCONV GED_GetHeaderPresentString(GED_HEADER_PRESENT HeaderPresentValue);
56435723

5724+
/*!
5725+
* Get the string representation for the given GED_IS_IMM enumerator. The function returns a NULL pointer for GED_IS_IMM_INVALID.
5726+
*
5727+
* @param[in] IsImmValue The given GED_IS_IMM enumerator.
5728+
*
5729+
* @return The requested string.
5730+
*/
5731+
extern const char* GED_CALLCONV GED_GetIsImmString(GED_IS_IMM IsImmValue);
5732+
56445733
/*!
56455734
* Get the string representation for the given GED_MASK_CTRL enumerator. The function returns a NULL pointer for
56465735
* GED_MASK_CTRL_INVALID.

0 commit comments

Comments
 (0)