mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-30 15:54:13 +08:00
fix EIGEN_GEBP_2PX4_SPILLING_WORKAROUND for non vectorized type, and non x86/64 target
This commit is contained in:
parent
cd25b538ab
commit
426bce7529
@ -1389,11 +1389,10 @@ void gebp_kernel<LhsScalar,RhsScalar,Index,DataMapper,mr,nr,ConjugateLhs,Conjuga
|
|||||||
EIGEN_ASM_COMMENT("begin gebp micro kernel 2pX4");
|
EIGEN_ASM_COMMENT("begin gebp micro kernel 2pX4");
|
||||||
RhsPacket B_0, B1, B2, B3, T0;
|
RhsPacket B_0, B1, B2, B3, T0;
|
||||||
|
|
||||||
|
|
||||||
// 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)
|
||||||
#define EIGEN_GEBP_2PX4_SPILLING_WORKAROUND asm("" : [a0] "+x" (A0), [a1] "+x" (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
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user