Skip to content

Commit

Permalink
Merge pull request #357 from linbox-team/fix-simd-i686
Browse files Browse the repository at this point in the history
Fix Simd on i686: SimdChooser, #ifdef guard
  • Loading branch information
ClementPernet committed Dec 17, 2021
2 parents 8b255cf + 9b6083c commit e025c35
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions fflas-ffpack/fflas/fflas_simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,20 @@ struct SimdChooser<T, true, true> // integral number
#endif
};

#ifndef __x86_64__
template <>
struct SimdChooser<uint64_t, true, true>
{
using value = NoSimd<uint64_t>;
};

template <>
struct SimdChooser<int64_t, true, true>
{
using value = NoSimd<int64_t>;
};
#endif

template <class T> using Simd = typename SimdChooser<T>::value;

// template <class T> struct SimdChooser<T, true> {
Expand Down

0 comments on commit e025c35

Please sign in to comment.