@@ -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 */ 
34523458extern  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 */ 
56425722extern  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