GLM  0.9.5
intrinsic_matrix.hpp
1 
29 #ifndef glm_detail_intrinsic_matrix
30 #define glm_detail_intrinsic_matrix
31 
32 #include "setup.hpp"
33 
34 #if(!(GLM_ARCH & GLM_ARCH_SSE2))
35 # error "SSE2 instructions not supported or enabled"
36 #else
37 
38 #include "intrinsic_geometric.hpp"
39 
40 namespace glm{
41 namespace detail
42 {
43  void sse_add_ps(__m128 in1[4], __m128 in2[4], __m128 out[4]);
44 
45  void sse_sub_ps(__m128 in1[4], __m128 in2[4], __m128 out[4]);
46 
47  __m128 sse_mul_ps(__m128 m[4], __m128 v);
48 
49  __m128 sse_mul_ps(__m128 v, __m128 m[4]);
50 
51  void sse_mul_ps(__m128 const in1[4], __m128 const in2[4], __m128 out[4]);
52 
53  void sse_transpose_ps(__m128 const in[4], __m128 out[4]);
54 
55  void sse_inverse_ps(__m128 const in[4], __m128 out[4]);
56 
57  void sse_rotate_ps(__m128 const in[4], float Angle, float const v[3], __m128 out[4]);
58 
59  __m128 sse_det_ps(__m128 const m[4]);
60 
61  __m128 sse_slow_det_ps(__m128 const m[4]);
62 
63 }//namespace detail
64 }//namespace glm
65 
66 #include "intrinsic_matrix.inl"
67 
68 #endif//GLM_ARCH
69 #endif//glm_detail_intrinsic_matrix