Skip to content

Commit

Permalink
workload-xsave: Bug Fix
Browse files Browse the repository at this point in the history
1. Supplement the detection of the SSE instruction set.
Signed-off-by: Haoliang Zhu <[email protected]>
  • Loading branch information
haoliang-Zhu authored and ysun committed Jan 19, 2024
1 parent 9cf0f3e commit 1ac58a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workload-xsave/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ endfunction()
check_cpu_feature(FEATURE "-mamx-tile" COMPILE_DEFINITION "MAMX_ENABLED" SOURCES "work_AMX.c")
check_cpu_feature(FEATURE "-mavx" COMPILE_DEFINITION "MAVX_ENABLED" SOURCES "work_AVX.c")
check_cpu_feature(FEATURE "-mavx2" COMPILE_DEFINITION "MAVX2_ENABLED" SOURCES "work_AVX2.c" "work_DOTPROD.c")
check_cpu_feature(FEATURE "-mavx512f" COMPILE_DEFINITION "MAVX512f_ENABLED" SOURCES "work_AVX512.c")
check_cpu_feature(FEATURE "-mavx512f" COMPILE_DEFINITION "MAVX512F_ENABLED" SOURCES "work_AVX512.c")
check_cpu_feature(FEATURE "-msse" COMPILE_DEFINITION "MSSE_ENABLED" SOURCES "work_SSE.c")
check_cpu_feature(FEATURE "-mvnni" COMPILE_DEFINITION "MVNNI_ENABLED" SOURCES "work_VNNI.c")
check_cpu_feature(FEATURE "-mvnni512" COMPILE_DEFINITION "MVNNSI512_ENABLED" SOURCES "work_VNNI512.c")

Expand Down

0 comments on commit 1ac58a0

Please sign in to comment.