mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-14 00:51:52 +08:00
enable spilling workaround on architectures with SSE/AVX
(grafted from 0d906378385a9f94f612528523ba2ad9a6d1e265 )
This commit is contained in:
parent
a661812ad7
commit
c310bedb29
@ -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!
|
// NOTE: the begin/end asm comments below work around bug 935!
|
||||||
// but they are not enough for gcc>=6 without FMA (bug 1637)
|
// 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));
|
#define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND __asm__ ("" : [a0] "+rm" (A0),[a1] "+rm" (A1));
|
||||||
#else
|
#else
|
||||||
#define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND
|
#define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND
|
||||||
|
Loading…
x
Reference in New Issue
Block a user