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 {
7575 Self :: Float => "float" ,
7676 Self :: Int ( Sign :: Signed ) => "int" ,
7777 Self :: Int ( Sign :: Unsigned ) => "uint" ,
78+ Self :: Mask => "uint" ,
7879 Self :: Poly => "poly" ,
7980 Self :: Char ( Sign :: Signed ) => "char" ,
8081 _ => unreachable ! ( "Not used: {:#?}" , self ) ,
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ impl IntrinsicDefinition<X86IntrinsicType> for Intrinsic<X86IntrinsicType> {
8484 TypeKind :: Float if self . results( ) . inner_size( ) == 64 => "double" . to_string( ) ,
8585 TypeKind :: Float if self . results( ) . inner_size( ) == 32 => "float" . to_string( ) ,
8686 TypeKind :: Mask => format!( "__mmask{}" , self . results. bit_len. unwrap( ) ) ,
87+ TypeKind :: Vector => format!( "__m{}i" , self . results. bit_len. unwrap( ) ) ,
8788 // TypeKind::Float if self.results().inner_size() == 16 => "float16_t".to_string(),
8889 // TypeKind::Int(true) if self.results().inner_size() == 64 => "long".to_string(),
8990 // 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