Skip to content

Commit b035a7e

Browse files
hdevalencegnzlbg
authored andcommitted
Note that clang accepts _mm512_set1_epi64 on 32-bit.
Per #676 (comment) , LLVM is able to generate code for this intrinsic on `x86` targets.
1 parent b1d365d commit b035a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/stdsimd-verify/tests/x86-intel.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ fn matches(rust: &Function, intel: &Intrinsic) -> Result<(), String> {
369369
// Apparently all of clang/msvc/gcc accept these intrinsics on
370370
// 32-bit, so let's do the same
371371
"_mm_set_epi64x" | "_mm_set1_epi64x" | "_mm256_set_epi64x" | "_mm256_setr_epi64x"
372-
| "_mm256_set1_epi64x" => true,
372+
| "_mm256_set1_epi64x" | "_mm512_set1_epi64" => true,
373373

374374
// These return a 64-bit argument but they're assembled from other
375375
// 32-bit registers, so these work on 32-bit just fine. See #308 for

0 commit comments

Comments
 (0)