packages feed

hw-dsv 0.3.1 → 0.3.2

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

cbits/simd.c view
@@ -81,15 +81,15 @@ #if defined(AVX2_ENABLED)   uint32_t *target32 = (uint32_t *)target; -  __m256 v_comparand = _mm256_set1_epi8(byte);+  __m256i v_comparand = _mm256_set1_epi8(byte);    uint32_t *out_mask = (uint32_t*)target;    size_t i;    for (i = 0; i < target_length * 2; ++i) {-    __m256 v_data_a = *(__m256*)(source + (i * 32));-    __m256 v_results_a = _mm256_cmpeq_epi8(v_data_a, v_comparand);+    __m256i v_data_a = *(__m256i*)(source + (i * 32));+    __m256i v_results_a = _mm256_cmpeq_epi8(v_data_a, v_comparand);     uint32_t mask = (uint32_t)_mm256_movemask_epi8(v_results_a);     target32[i] = mask;   }
hw-dsv.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           hw-dsv-version:        0.3.1+version:        0.3.2 synopsis:       Unbelievably fast streaming DSV file parser description:    Please see the README on Github at <https://github.com/haskell-works/hw-dsv#readme> category:       Text, CSV, SIMD, Succinct Data Structures, Data Structures