mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-30 10:15:13 +08:00
Disable double version of compute_inverse_size4 on Inverse_NEON.h if Packet2d is not supported.
This commit is contained in:
parent
880fa43b2b
commit
31a6b88ff3
@ -173,6 +173,8 @@ struct compute_inverse_size4<Architecture::NEON, float, MatrixType, ResultType>
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if EIGEN_ARCH_ARM64 && !EIGEN_APPLE_DOUBLE_NEON_BUG
|
||||||
|
|
||||||
// same algorithm as above, except that each operand is split into
|
// same algorithm as above, except that each operand is split into
|
||||||
// halves for two registers to hold.
|
// halves for two registers to hold.
|
||||||
template <typename MatrixType, typename ResultType>
|
template <typename MatrixType, typename ResultType>
|
||||||
@ -362,6 +364,9 @@ struct compute_inverse_size4<Architecture::NEON, double, MatrixType, ResultType>
|
|||||||
pstoret<double, Packet2d, ResultAlignment>(res + 3 * res_stride + 2, pmul(shuffle(iD2, iD1, 0), d2));
|
pstoret<double, Packet2d, ResultAlignment>(res + 3 * res_stride + 2, pmul(shuffle(iD2, iD1, 0), d2));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif // EIGEN_ARCH_ARM64 && !EIGEN_APPLE_DOUBLE_NEON_BUG
|
||||||
|
|
||||||
} // namespace internal
|
} // namespace internal
|
||||||
} // namespace Eigen
|
} // namespace Eigen
|
||||||
#endif
|
#endif
|
Loading…
x
Reference in New Issue
Block a user