Skip to content

Commit

Permalink
Add comment about tuning for "neoverse-v1" (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm authored Oct 7, 2024
1 parent b9959f5 commit 6978946
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/AwsSIMD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ else()
set(AWS_CLMUL_FLAG "-mpclmul")
set(AWS_SSE4_2_FLAG "-msse4.2")

# AWS Graviton3 processors use neoverse-v1
check_c_compiler_flag("-mtune=neoverse-v1" HAVE_MTUNE_NEOVERSE_V1)
if (HAVE_MTUNE_NEOVERSE_V1)
set(AWS_ARMv8_1_FLAG "-march=armv8-a+crc+crypto -mtune=neoverse-v1")
Expand Down Expand Up @@ -58,7 +59,7 @@ if (USE_CPU_EXTENSIONS)
_mm256_permutevar8x32_epi32(vec, vec);
return 0;
}" AWS_HAVE_AVX2_INTRINSICS)
}" AWS_HAVE_AVX2_INTRINSICS)

check_c_source_compiles("
#include <immintrin.h>
Expand Down

0 comments on commit 6978946

Please sign in to comment.