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 {
147
147
self . bit_len = value;
148
148
}
149
149
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
-
158
150
pub fn set_metadata ( & mut self , key : String , value : String ) {
159
151
self . metadata . insert ( key, value) ;
160
152
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use crate::common::SupportedArchitectureTest;
7
7
use crate :: common:: cli:: ProcessedCli ;
8
8
use crate :: common:: intrinsic:: { Intrinsic , IntrinsicDefinition } ;
9
9
use 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;
11
11
use config:: build_notices;
12
12
use intrinsic:: X86IntrinsicType ;
13
13
use xml_parser:: get_xml_intrinsics;
@@ -44,12 +44,13 @@ impl SupportedArchitectureTest for X86ArchitectureTest {
44
44
}
45
45
46
46
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();
48
48
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();
50
50
let c_target = "x86_64" ;
51
51
52
- let intrinsics_name_list = write_c_testfiles (
52
+ /* let intrinsics_name_list = */
53
+ write_c_testfiles (
53
54
& self
54
55
. intrinsics
55
56
. iter ( )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ impl IntrinsicTypeDefinition for X86IntrinsicType {
30
30
}
31
31
32
32
/// 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 {
34
34
todo ! ( "get_load_function for X86IntrinsicType needs to be implemented!" ) ;
35
35
}
36
36
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ struct XMLIntrinsic {
28
28
return_data : Parameter ,
29
29
#[ serde( rename = "@name" ) ]
30
30
name : String ,
31
- #[ serde( rename = "@tech" ) ]
32
- tech : String ,
31
+ // #[serde(rename = "@tech")]
32
+ // tech: String,
33
33
#[ serde( rename = "CPUID" , default ) ]
34
34
cpuid : Vec < String > ,
35
35
#[ serde( rename = "parameter" , default ) ]
You can’t perform that action at this time.
0 commit comments