33 #if(!(GLM_ARCH & GLM_ARCH_SSE2))
34 # error "SSE2 instructions not supported or enabled"
40 __m128 sse_abs_ps(__m128 x);
42 __m128 sse_sgn_ps(__m128 x);
45 __m128 sse_flr_ps(__m128 v);
48 __m128 sse_trc_ps(__m128 v);
51 __m128 sse_nd_ps(__m128 v);
54 __m128 sse_rde_ps(__m128 v);
56 __m128 sse_rnd_ps(__m128 x);
58 __m128 sse_ceil_ps(__m128 v);
60 __m128 sse_frc_ps(__m128 x);
62 __m128 sse_mod_ps(__m128 x, __m128 y);
64 __m128 sse_modf_ps(__m128 x, __m128i & i);
70 __m128 sse_clp_ps(__m128 v, __m128 minVal, __m128 maxVal);
72 __m128 sse_mix_ps(__m128 v1, __m128 v2, __m128 a);
74 __m128 sse_stp_ps(__m128 edge, __m128 x);
76 __m128 sse_ssp_ps(__m128 edge0, __m128 edge1, __m128 x);
78 __m128 sse_nan_ps(__m128 x);
80 __m128 sse_inf_ps(__m128 x);
85 #include "intrinsic_common.inl"
OpenGL Mathematics (glm.g-truc.net)