From 52b80ead6a83dd099e396620727841e9c9bb7ec0 Mon Sep 17 00:00:00 2001 From: "Jorge C. Leitao" Date: Sat, 21 Aug 2021 22:52:27 +0000 Subject: [PATCH] Fixed error in SIMD comparisons. --- .github/workflows/test.yml | 2 +- src/compute/comparison/simd/packed.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d31a4cc3697..eb3558e14cb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -306,4 +306,4 @@ jobs: export CARGO_HOME="/github/home/.cargo" export CARGO_TARGET_DIR="/github/home/target" # no need to run over all features: simd only affects the core - cargo test --no-default-features --features simd --lib + cargo test --no-default-features --features compute,simd --lib diff --git a/src/compute/comparison/simd/packed.rs b/src/compute/comparison/simd/packed.rs index 1e9b250c73b..7974e10490c 100644 --- a/src/compute/comparison/simd/packed.rs +++ b/src/compute/comparison/simd/packed.rs @@ -13,7 +13,7 @@ macro_rules! simd8 { impl Simd8Lanes<$type> for $md { #[inline] fn from_chunk(v: &[$type]) -> Self { - <$md>::from_slice_aligned(v) + <$md>::from_slice_unaligned(v) } #[inline]