mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-16 05:35:57 +08:00
Big 907: workaround some missing intrinsics in current NDK's gcc version (ARM64)
This commit is contained in:
parent
79f4a59ed9
commit
63974bcb88
@ -492,6 +492,21 @@ ptranspose(PacketBlock<Packet4i,4>& kernel) {
|
|||||||
//---------- double ----------
|
//---------- double ----------
|
||||||
#if EIGEN_ARCH_ARM64
|
#if EIGEN_ARCH_ARM64
|
||||||
|
|
||||||
|
#if EIGEN_COMP_GNUC_STRICT && __ANDROID__
|
||||||
|
// Bug 907: workaround missing declarations of the following two functions in the ADK
|
||||||
|
__extension__ static __inline uint64x2_t __attribute__ ((__always_inline__))
|
||||||
|
vreinterpretq_u64_f64 (float64x2_t __a)
|
||||||
|
{
|
||||||
|
return (uint64x2_t) __a;
|
||||||
|
}
|
||||||
|
|
||||||
|
__extension__ static __inline float64x2_t __attribute__ ((__always_inline__))
|
||||||
|
vreinterpretq_f64_u64 (uint64x2_t __a)
|
||||||
|
{
|
||||||
|
return (float64x2_t) __a;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef float64x2_t Packet2d;
|
typedef float64x2_t Packet2d;
|
||||||
typedef float64x1_t Packet1d;
|
typedef float64x1_t Packet1d;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user