• Karl Wette's avatar
    Fix lscsoft/lalsuite!1382 · 0ec71c8a
    Karl Wette authored
    - _mm_storeu_si128() is not the right instrinsic, expects 128-bit alignment
    - Would want to use _mm_storeu_epi32(), but that requires AVX-512
    - Instead use _mm_storeu_ps() with casting from __m128 to __m128i, and from
      REAL4 to INT4. Since presumably __m128 and __m128i have the same layout,
      and REAL4 and INT4 have the same size and alignment, this should be safe;
      the storeu instrinsic just copies bits, it shouldn't care what those bits are
    0ec71c8a
VectorMath_SSEx.c 15.9 KB