mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 12:46:00 +08:00
bug #1643: fix compilation issue with gcc and no optimizaion
This commit is contained in:
parent
0d90637838
commit
7166496f70
@ -1392,7 +1392,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) && defined(EIGEN_VECTORIZE_SSE)
|
#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] "+x,m" (A0),[a1] "+x,m" (A1));
|
||||||
#else
|
#else
|
||||||
#define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND
|
#define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user