File tree Expand file tree Collapse file tree 4 files changed +8
-15
lines changed
crates/intrinsic-test/src Expand file tree Collapse file tree 4 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -147,14 +147,6 @@ impl IntrinsicType {
147147 self . bit_len = value;
148148 }
149149
150- pub fn set_simd_len ( & mut self , value : Option < u32 > ) {
151- self . simd_len = value;
152- }
153-
154- pub fn set_vec_len ( & mut self , value : Option < u32 > ) {
155- self . vec_len = value;
156- }
157-
158150 pub fn set_metadata ( & mut self , key : String , value : String ) {
159151 self . metadata . insert ( key, value) ;
160152 }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use crate::common::SupportedArchitectureTest;
77use crate :: common:: cli:: ProcessedCli ;
88use crate :: common:: intrinsic:: { Intrinsic , IntrinsicDefinition } ;
99use crate :: common:: intrinsic_helpers:: TypeKind ;
10- use crate :: common:: write_file:: { write_c_testfiles, write_rust_testfiles } ;
10+ use crate :: common:: write_file:: write_c_testfiles;
1111use config:: build_notices;
1212use intrinsic:: X86IntrinsicType ;
1313use xml_parser:: get_xml_intrinsics;
@@ -44,12 +44,13 @@ impl SupportedArchitectureTest for X86ArchitectureTest {
4444 }
4545
4646 fn build_c_file ( & self ) -> bool {
47- let compiler = self . cli_options . cpp_compiler . as_deref ( ) ;
47+ // let compiler = self.cli_options.cpp_compiler.as_deref();
4848 let target = & self . cli_options . target ;
49- let cxx_toolchain_dir = self . cli_options . cxx_toolchain_dir . as_deref ( ) ;
49+ // let cxx_toolchain_dir = self.cli_options.cxx_toolchain_dir.as_deref();
5050 let c_target = "x86_64" ;
5151
52- let intrinsics_name_list = write_c_testfiles (
52+ /* let intrinsics_name_list = */
53+ write_c_testfiles (
5354 & self
5455 . intrinsics
5556 . iter ( )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ impl IntrinsicTypeDefinition for X86IntrinsicType {
3030 }
3131
3232 /// Determines the load function for this type.
33- fn get_load_function ( & self , language : Language ) -> String {
33+ fn get_load_function ( & self , _language : Language ) -> String {
3434 todo ! ( "get_load_function for X86IntrinsicType needs to be implemented!" ) ;
3535 }
3636
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ struct XMLIntrinsic {
2828 return_data : Parameter ,
2929 #[ serde( rename = "@name" ) ]
3030 name : String ,
31- #[ serde( rename = "@tech" ) ]
32- tech : String ,
31+ // #[serde(rename = "@tech")]
32+ // tech: String,
3333 #[ serde( rename = "CPUID" , default ) ]
3434 cpuid : Vec < String > ,
3535 #[ serde( rename = "parameter" , default ) ]
You can’t perform that action at this time.
0 commit comments