Skip to content

Commit

Permalink
Add SIMD intrinsic __builtin_ia32_vperm2f128_pd256/_mm256_permute2f12…
Browse files Browse the repository at this point in the history
…8_pd
  • Loading branch information
Kriskras99 committed Sep 18, 2024
1 parent 9eaf8a1 commit 7e2bc29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions c2rust-transpile/src/translator/builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,9 @@ impl<'c> Translation<'c> {
"__builtin_ia32_vec_ext_v2di" => {
self.convert_simd_builtin(ctx, "_mm_extract_epi64", args)
}
"__builtin_ia32_vperm2f128_pd256" => {
self.convert_simd_builtin(ctx, "_mm256_permute2f128_pd", args)
}
"__builtin_ia32_roundps" => self.convert_simd_builtin(ctx, "_mm_round_ps", args),
"__builtin_ia32_roundss" => self.convert_simd_builtin(ctx, "_mm_round_ss", args),
"__builtin_ia32_roundpd" => self.convert_simd_builtin(ctx, "_mm_round_pd", args),
Expand Down

0 comments on commit 7e2bc29

Please sign in to comment.