branch | pyrit |
changeset 86 | ce6abe0aeeae |
parent 83 | e3a2a5b26abb |
child 91 | 9d66d323c354 |
--- a/include/common.h Sun Apr 27 14:19:37 2008 +0200 +++ b/include/common.h Sun Apr 27 19:56:23 2008 +0200 @@ -48,6 +48,13 @@ # define Inf FLT_MAX #endif +const __m128 mZero = _mm_set_ps1(0.); +const __m128 mOne = _mm_set_ps1(1.); +const __m128 mEps = _mm_set_ps1(Eps); +const __m128 mMEps = _mm_set_ps1(-Eps); +const __m128 mInf = _mm_set_ps1(Inf); +const __m128 mAllSet = _mm_cmplt_ps(mZero, mOne); + /* verbosity level: 0: only errors (E) 1: major status messages (*)