Skip to content

Commit 4edea28

Browse files
committed
closes #228
1 parent c356e26 commit 4edea28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/i64x8_.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ impl i64x8 {
458458
#[must_use]
459459
pub fn to_bitmask(self) -> u32 {
460460
pick! {
461-
if #[cfg(target_feature="avx512f")] {
461+
if #[cfg(target_feature="avx512dq")] {
462462
// use f64 move_mask since it is the same size as i64
463463
movepi64_mask_m512d(cast(self.avx512)) as u32
464464
} else {
@@ -485,7 +485,7 @@ impl i64x8 {
485485
#[must_use]
486486
pub fn all(self) -> bool {
487487
pick! {
488-
if #[cfg(target_feature="avx512f")] {
488+
if #[cfg(target_feature="avx512bw")] {
489489
movepi64_mask_m512d(cast(self.avx512)) == 0b11111111
490490
} else {
491491
(self.a & self.b).all()

0 commit comments

Comments
 (0)