Skip to content

Commit b8e44c5

Browse files
feat: reduce the optimization for X86 C++ testfiles and increase the
number of mod_n.cpp modules.
1 parent 678c1ae commit b8e44c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/intrinsic-test/src/common/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ where
5252
fn cpp_compilation(&self) -> Option<CppCompilation>;
5353

5454
fn build_c_file(&self) -> bool {
55-
let (chunk_size, chunk_count) = manual_chunk(self.intrinsics().len(), 400);
55+
let (chunk_size, chunk_count) = manual_chunk(self.intrinsics().len(), 270);
5656

5757
let cpp_compiler_wrapped = self.cpp_compilation();
5858

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pub fn build_cpp_compilation(config: &ProcessedCli) -> Option<CppCompilation> {
99
.add_arch_flags(["icelake-client"])
1010
.set_compiler(cpp_compiler)
1111
.set_target(&config.target)
12-
.set_opt_level("2")
12+
.set_opt_level("1")
1313
.set_cxx_toolchain_dir(config.cxx_toolchain_dir.as_deref())
1414
.set_project_root("c_programs")
1515
.add_extra_flags(vec![

0 commit comments

Comments
 (0)