File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
crates/intrinsic-test/src Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ impl TypeKind {
75
75
Self :: Float => "float" ,
76
76
Self :: Int ( Sign :: Signed ) => "int" ,
77
77
Self :: Int ( Sign :: Unsigned ) => "uint" ,
78
+ Self :: Mask => "uint" ,
78
79
Self :: Poly => "poly" ,
79
80
Self :: Char ( Sign :: Signed ) => "char" ,
80
81
_ => unreachable ! ( "Not used: {:#?}" , self ) ,
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ impl IntrinsicDefinition<X86IntrinsicType> for Intrinsic<X86IntrinsicType> {
84
84
TypeKind :: Float if self . results( ) . inner_size( ) == 64 => "double" . to_string( ) ,
85
85
TypeKind :: Float if self . results( ) . inner_size( ) == 32 => "float" . to_string( ) ,
86
86
TypeKind :: Mask => format!( "__mmask{}" , self . results. bit_len. unwrap( ) ) ,
87
+ TypeKind :: Vector => format!( "__m{}i" , self . results. bit_len. unwrap( ) ) ,
87
88
// TypeKind::Float if self.results().inner_size() == 16 => "float16_t".to_string(),
88
89
// TypeKind::Int(true) if self.results().inner_size() == 64 => "long".to_string(),
89
90
// TypeKind::Int(false) if self.results().inner_size() == 64 => "unsigned long".to_string(),
You can’t perform that action at this time.
0 commit comments