Correct declarations for aarch64-pc-windows-msvc

This commit is contained in:
大河メタル 2021-06-30 04:09:46 +00:00 committed by Rasmus Munk Larsen
parent 5aebbe9098
commit c81da59a25

View File

@ -32,7 +32,7 @@ namespace internal {
#endif #endif
#endif #endif
#if EIGEN_COMP_MSVC #if EIGEN_COMP_MSVC_STRICT
// In MSVC's arm_neon.h header file, all NEON vector types // In MSVC's arm_neon.h header file, all NEON vector types
// are aliases to the same underlying type __n128. // are aliases to the same underlying type __n128.
@ -78,7 +78,7 @@ typedef uint32x4_t Packet4ui;
typedef int64x2_t Packet2l; typedef int64x2_t Packet2l;
typedef uint64x2_t Packet2ul; typedef uint64x2_t Packet2ul;
#endif // EIGEN_COMP_MSVC #endif // EIGEN_COMP_MSVC_STRICT
EIGEN_STRONG_INLINE Packet4f shuffle1(const Packet4f& m, int mask){ EIGEN_STRONG_INLINE Packet4f shuffle1(const Packet4f& m, int mask){
const float* a = reinterpret_cast<const float*>(&m); const float* a = reinterpret_cast<const float*>(&m);