linbox-team / fflas-ffpack

FFLAS-FFPACK - Finite Field Linear Algebra Subroutines / Package
http://linbox-team.github.io/fflas-ffpack/
GNU Lesser General Public License v2.1
56 stars 23 forks source link

bad usage of AVX2 instruction without checking availability of the instruction set #378

Closed pascalgiorgi closed 1 year ago

pascalgiorgi commented 1 year ago

In the file simd128_float.inl some of the pack functions use the instruction _mm_permute_ps that belongs to AVX instruction set. The code must ensure that this instruction set is available before calling. A fallback code needs to be provided when AVX is not available.