Skip to content

Commit 599b68f

Browse files
chore: add more compiler flags for compiling x86 intrinsics in C++
1 parent 06bb848 commit 599b68f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

crates/intrinsic-test/src/x86/compile.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,15 @@ pub fn build_cpp_compilation(config: &ProcessedCli) -> Option<CppCompilation> {
2626
"-mavx512fp16",
2727
"-msha512",
2828
"-msm4",
29+
"-mavxvnni",
30+
"-mavx512bitalg",
31+
"-mavx512ifma",
32+
"-mavx512vbmi",
33+
"-mavx512vbmi2",
34+
"-mavx512vnni",
35+
"-mavx512vpopcntdq",
2936
"-ferror-limit=1000",
37+
"-std=c++17",
3038
]);
3139

3240
if !cpp_compiler.contains("clang") {

0 commit comments

Comments
 (0)