File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
crates/intrinsic-test/src/arm Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ use crate::common::intrinsic_types::IntrinsicTypeDefinition;
1111use crate :: common:: write_file;
1212use itertools:: Itertools ;
1313use rayon:: prelude:: * ;
14- use std:: collections:: BTreeMap ;
1514
1615// The number of times each intrinsic will be called.
1716const PASSES : u32 = 20 ;
@@ -162,7 +161,6 @@ fn generate_rust_program_arm(
162161
163162fn compile_c_arm (
164163 intrinsics_name_list : & Vec < String > ,
165- _filename_mapping : BTreeMap < & String , String > ,
166164 compiler : & str ,
167165 target : & str ,
168166 cxx_toolchain_dir : Option < & str > ,
@@ -176,6 +174,10 @@ fn compile_c_arm(
176174 . set_project_root ( "c_programs" )
177175 . add_extra_flags ( vec ! [ "-ffp-contract=off" , "-Wno-narrowing" ] ) ;
178176
177+ if !target. contains ( "v7" ) {
178+ command = command. add_arch_flags ( vec ! [ "fanimalux" , "lut" , "sha3" ] ) ;
179+ }
180+
179181 command = if target == "aarch64_be-unknown-linux-gnu" {
180182 command
181183 . set_linker (
@@ -235,7 +237,6 @@ pub fn build_c(
235237 None => true ,
236238 Some ( compiler) => compile_c_arm (
237239 & intrinsics_name_list,
238- filename_mapping,
239240 compiler,
240241 target,
241242 cxx_toolchain_dir,
You can’t perform that action at this time.
0 commit comments