Skip to content

Commit

Permalink
Update xed to v2024.04.01
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed Apr 10, 2024
1 parent f2f976e commit 16fc310
Show file tree
Hide file tree
Showing 10 changed files with 44,070 additions and 23,754 deletions.
2 changes: 1 addition & 1 deletion arch/x86/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ file(GLOB SOURCES *.cpp *.h
# Note to who updates xed: the path replacement file may change, search for its name in the xed directory to find its
# newest location
list(REMOVE_ITEM SOURCES ${PROJECT_SOURCE_DIR}/xed/src/common/xed-operand-values-interface-repl.c)
list(APPEND SOURCES ${PROJECT_SOURCE_DIR}/xed/datafiles/knc/xed-operand-values-interface-uisa.c)
list(APPEND SOURCES ${PROJECT_SOURCE_DIR}/xed/datafiles/avx512f/xed-operand-values-interface-uisa.c)

if(DEMO)
add_library(arch_x86 STATIC ${SOURCES})
Expand Down
46 changes: 23 additions & 23 deletions arch/x86/arch_x86_intrinsics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3819,43 +3819,43 @@ string X86CommonArchitecture::GetIntrinsicName(uint32_t intrinsic)
return "_mm256_2intersect_epi64";
case INTRINSIC_XED_IFORM_VP2INTERSECTQ_MASKmskw_ZMMu64_ZMMu64_AVX512:
return "_mm512_2intersect_epi64";
case INTRINSIC_XED_IFORM_BEXTR_VGPR32d_VGPR32d_VGPR32d:
case INTRINSIC_XED_IFORM_BLSI_GPR32d_GPR32d:
return "_bextr_u32";
case INTRINSIC_XED_IFORM_BEXTR_VGPR64q_VGPR64q_VGPR64q:
case INTRINSIC_XED_IFORM_BEXTR_GPR64q_GPR64q_GPR64q:
return "_bextr_u64";
case INTRINSIC_XED_IFORM_BLSI_VGPR32d_VGPR32d:
case INTRINSIC_XED_IFORM_BLSI_GPR64q_GPR64q:
return "_blsi_u32";
case INTRINSIC_XED_IFORM_BLSI_VGPR64q_VGPR64q:
return "_blsi_u64";
case INTRINSIC_XED_IFORM_BLSMSK_VGPR32d_VGPR32d:
// case INTRINSIC_XED_IFORM_BLSI_GPR64q_GPR64q:
// return "_blsi_u64";
case INTRINSIC_XED_IFORM_BLSMSK_GPR32d_GPR32d:
return "_blsmsk_u32";
case INTRINSIC_XED_IFORM_BLSMSK_VGPR64q_VGPR64q:
case INTRINSIC_XED_IFORM_BLSMSK_GPR64q_GPR64q:
return "_blsmsk_u64";
case INTRINSIC_XED_IFORM_BLSR_VGPR32d_VGPR32d:
case INTRINSIC_XED_IFORM_BLSR_GPR32d_GPR32d:
return "_blsr_u32";
case INTRINSIC_XED_IFORM_BLSR_VGPR64q_VGPR64q:
case INTRINSIC_XED_IFORM_BLSR_GPR64q_GPR64q:
return "_blsr_u64";
case INTRINSIC_XED_IFORM_ANDN_VGPR32d_VGPR32d_VGPR32d:
case INTRINSIC_XED_IFORM_ANDN_GPR32d_GPR32d_GPR32d:
return "_andn_u32";
case INTRINSIC_XED_IFORM_ANDN_VGPR64q_VGPR64q_VGPR64q:
case INTRINSIC_XED_IFORM_ANDN_GPR64q_GPR64q_GPR64q:
return "_andn_u64";
case INTRINSIC_XED_IFORM_TZCNT_GPRv_GPRv:
return "_tzcnt_u32";
case INTRINSIC_XED_IFORM_BZHI_VGPR32d_VGPR32d_VGPR32d:
case INTRINSIC_XED_IFORM_BZHI_GPR32d_GPR32d_GPR32d:
return "_bzhi_u32";
case INTRINSIC_XED_IFORM_BZHI_VGPR64q_VGPR64q_VGPR64q:
case INTRINSIC_XED_IFORM_BZHI_GPR64q_GPR64q_GPR64q:
return "_bzhi_u64";
case INTRINSIC_XED_IFORM_PDEP_VGPR32d_VGPR32d_VGPR32d:
case INTRINSIC_XED_IFORM_PDEP_GPR32d_GPR32d_GPR32d:
return "_pdep_u32";
case INTRINSIC_XED_IFORM_PDEP_VGPR64q_VGPR64q_VGPR64q:
case INTRINSIC_XED_IFORM_PDEP_GPR64q_GPR64q_GPR64q:
return "_pdep_u64";
case INTRINSIC_XED_IFORM_PEXT_VGPR32d_VGPR32d_VGPR32d:
case INTRINSIC_XED_IFORM_PEXT_GPR32d_GPR32d_GPR32d:
return "_pext_u32";
case INTRINSIC_XED_IFORM_PEXT_VGPR64q_VGPR64q_VGPR64q:
case INTRINSIC_XED_IFORM_PEXT_GPR64q_GPR64q_GPR64q:
return "_pext_u64";
case INTRINSIC_XED_IFORM_MULX_VGPR32d_VGPR32d_MEMd:
case INTRINSIC_XED_IFORM_MULX_GPR32d_GPR32d_MEMd:
return "_mulx_u32";
case INTRINSIC_XED_IFORM_MULX_VGPR64q_VGPR64q_MEMq:
case INTRINSIC_XED_IFORM_MULX_GPR64q_GPR64q_MEMq:
return "_mulx_u64";
case INTRINSIC_XED_IFORM_INCSSPD_GPR32u8:
return "_incsspd";
Expand Down Expand Up @@ -4479,8 +4479,8 @@ string X86CommonArchitecture::GetIntrinsicName(uint32_t intrinsic)
return "_mm_stream_ps";
case INTRINSIC_XED_IFORM_MOVHPS_MEMq_XMMps:
return "_mm_storeh_pi";
case INTRINSIC_XED_IFORM_MOVLPS_MEMq_XMMps:
return "_mm_storel_pi";
// case INTRINSIC_XED_IFORM_MOVLPS_MEMq_XMMps:
// return "_mm_storel_pi";
case INTRINSIC_XED_IFORM_MOVAPS_MEMps_XMMps:
return "_mm_store_ps";
case INTRINSIC_XED_IFORM_MOVUPS_MEMps_XMMps:
Expand Down Expand Up @@ -4657,8 +4657,8 @@ string X86CommonArchitecture::GetIntrinsicName(uint32_t intrinsic)
return "_mm_load_si128";
case INTRINSIC_XED_IFORM_MOVDQU_XMMdq_MEMdq:
return "_mm_loadu_si128";
case INTRINSIC_XED_IFORM_MASKMOVDQU_XMMdq_XMMdq:
return "_mm_maskmoveu_si128";
// case INTRINSIC_XED_IFORM_MASKMOVDQU_XMMdq_XMMdq:
// return "_mm_maskmoveu_si128";
case INTRINSIC_XED_IFORM_MOVDQA_MEMdq_XMMdq:
return "_mm_store_si128";
case INTRINSIC_XED_IFORM_MOVDQU_MEMdq_XMMdq:
Expand Down
Loading

0 comments on commit 16fc310

Please sign in to comment.