29 #ifndef glm_detail_intrinsic_matrix
30 #define glm_detail_intrinsic_matrix
34 #if(!(GLM_ARCH & GLM_ARCH_SSE2))
35 # error "SSE2 instructions not supported or enabled"
38 #include "intrinsic_geometric.hpp"
43 void sse_add_ps(__m128 in1[4], __m128 in2[4], __m128 out[4]);
45 void sse_sub_ps(__m128 in1[4], __m128 in2[4], __m128 out[4]);
47 __m128 sse_mul_ps(__m128 m[4], __m128 v);
49 __m128 sse_mul_ps(__m128 v, __m128 m[4]);
51 void sse_mul_ps(__m128
const in1[4], __m128
const in2[4], __m128 out[4]);
53 void sse_transpose_ps(__m128
const in[4], __m128 out[4]);
55 void sse_inverse_ps(__m128
const in[4], __m128 out[4]);
57 void sse_rotate_ps(__m128
const in[4],
float Angle,
float const v[3], __m128 out[4]);
59 __m128 sse_det_ps(__m128
const m[4]);
61 __m128 sse_slow_det_ps(__m128
const m[4]);
66 #include "intrinsic_matrix.inl"
69 #endif//glm_detail_intrinsic_matrix