diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2009-12-15 08:09:14 +0100 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2009-12-15 08:09:14 +0100 |
commit | 3ea1f97f6911a29b98a77b5ba793e8c0a9fc75e0 (patch) | |
tree | f2228ac3fe8fbbc69b7d26644e8c5854dbe77733 /Eigen/src/Core | |
parent | 46a9cac7fbd4b17d42c703886750d93188916f9a (diff) |
Suppressed the warning for missing assignment generators (forgot that in the last submission).
Commented Quake3's fast inverser sqrt in SSE's MathFunction header.
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/arch/SSE/MathFunctions.h | 2 | ||||
-rw-r--r-- | Eigen/src/Core/util/DisableMSVCWarnings.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/SSE/MathFunctions.h b/Eigen/src/Core/arch/SSE/MathFunctions.h index 8399aac30..3c0020248 100644 --- a/Eigen/src/Core/arch/SSE/MathFunctions.h +++ b/Eigen/src/Core/arch/SSE/MathFunctions.h @@ -365,6 +365,8 @@ static EIGEN_DONT_INLINE EIGEN_UNUSED Packet4f ei_pcos(Packet4f x) return _mm_xor_ps(y, sign_bit); } +// This is Quake3's fast inverse square root. +// For detail see here: http://www.beyond3d.com/content/articles/8/ static EIGEN_UNUSED Packet4f ei_psqrt(Packet4f _x) { Packet4f half = ei_pmul(_x, ei_pset1(.5f)); diff --git a/Eigen/src/Core/util/DisableMSVCWarnings.h b/Eigen/src/Core/util/DisableMSVCWarnings.h index c11d582fd..dcc71143d 100644 --- a/Eigen/src/Core/util/DisableMSVCWarnings.h +++ b/Eigen/src/Core/util/DisableMSVCWarnings.h @@ -5,5 +5,5 @@ // 4101 - unreferenced local variable // 4512 - assignment operator could not be generated #pragma warning( push ) - #pragma warning( disable : 4100 4101 4181 4244 4127 4211 4273 4522 4717 ) + #pragma warning( disable : 4100 4101 4181 4244 4127 4211 4273 4512 4522 4717 ) #endif |