enable spilling workaround on architectures with SSE/AVX

(grafted from 0d906378385a9f94f612528523ba2ad9a6d1e265
)
This commit is contained in:
Gael Guennebaud 2018-12-10 23:22:44 +01:00
parent a661812ad7
commit c310bedb29

View File

@ -1199,7 +1199,7 @@ void gebp_kernel<LhsScalar,RhsScalar,Index,DataMapper,mr,nr,ConjugateLhs,Conjuga
// NOTE: the begin/end asm comments below work around bug 935!
// but they are not enough for gcc>=6 without FMA (bug 1637)
#if EIGEN_GNUC_AT_LEAST(6,0)
#if EIGEN_GNUC_AT_LEAST(6,0) && defined(EIGEN_VECTORIZE_SSE)
#define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND __asm__ ("" : [a0] "+rm" (A0),[a1] "+rm" (A1));
#else
#define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND