From 3ea1f97f6911a29b98a77b5ba793e8c0a9fc75e0 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Tue, 15 Dec 2009 08:09:14 +0100 Subject: Suppressed the warning for missing assignment generators (forgot that in the last submission). Commented Quake3's fast inverser sqrt in SSE's MathFunction header. --- Eigen/src/Core/arch/SSE/MathFunctions.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Eigen/src/Core/arch/SSE/MathFunctions.h') 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)); -- cgit v1.2.3