Skip to content

Commit ca18490

Browse files
feat: implemented print_result_c in the case the target type is
Mask-based
1 parent 638db72 commit ca18490

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/intrinsic-test/src/x86/intrinsic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ impl IntrinsicDefinition<X86IntrinsicType> for Intrinsic<X86IntrinsicType> {
8383
TypeKind::Void => "void".to_string(),
8484
TypeKind::Float if self.results().inner_size() == 64 => "double".to_string(),
8585
TypeKind::Float if self.results().inner_size() == 32 => "float".to_string(),
86+
TypeKind::Mask => format!("__mmask{}", self.results.bit_len.unwrap()),
8687
// TypeKind::Float if self.results().inner_size() == 16 => "float16_t".to_string(),
8788
// TypeKind::Int(true) if self.results().inner_size() == 64 => "long".to_string(),
8889
// TypeKind::Int(false) if self.results().inner_size() == 64 => "unsigned long".to_string(),

0 commit comments

Comments
 (0)