00001
00002
00004
00005
00006
00007
00009
00010 #ifndef GLM_DETAIL_INTRINSIC_COMMON_INCLUDED
00011 #define GLM_DETAIL_INTRINSIC_COMMON_INCLUDED
00012
00013
00014
00015 #include <xmmintrin.h>
00016 #include <emmintrin.h>
00017
00018 __m128 _mm_abs_ps(__m128 x);
00019
00020 __m128 _mm_sgn_ps(__m128 x);
00021
00022
00023 __m128 _mm_flr_ps(__m128 v);
00024
00025
00026 __m128 _mm_trc_ps(__m128 v);
00027
00028
00029 __m128 _mm_rnd_ps(__m128 v);
00030
00031
00032 __m128 _mm_rde_ps(__m128 v);
00033
00034 __m128 _mm_ceil_ps(__m128 v);
00035
00036 __m128 _mm_frc_ps(__m128 x);
00037
00038 __m128 _mm_mod_ps(__m128 x, __m128 y);
00039
00040 __m128 _mm_modf_ps(__m128 x, __m128i & i);
00041
00042
00043
00044
00045
00046 __m128 _mm_clp_ps(__m128 v, __m128 minVal, __m128 maxVal);
00047
00048 __m128 _mm_mix_ps(__m128 v1, __m128 v2, __m128 a);
00049
00050 __m128 _mm_stp_ps(__m128 edge, __m128 x);
00051
00052 __m128 _mm_ssp_ps(__m128 edge0, __m128 edge1, __m128 x);
00053
00054 __m128 _mm_nan_ps(__m128 x);
00055
00056 __m128 _mm_inf_ps(__m128 x);
00057
00058 #include "intrinsic_common.inl"
00059
00060 #endif//GLM_DETAIL_INTRINSIC_COMMON_INCLUDED