|
|
@@ -12,10 +12,13 @@
|
|
|
|
|
|
#include "../setup.hpp"
|
|
|
|
|
|
-//#if(GLM_ARCH >= GLM_ARCH_SSE2)
|
|
|
+#if((GLM_ARCH & GLM_ARCH_SSE2) != GLM_ARCH_SSE2)
|
|
|
+# error "SSE2 instructions not supported or enabled"
|
|
|
+#else
|
|
|
|
|
|
namespace glm{
|
|
|
-namespace detail{
|
|
|
+namespace detail
|
|
|
+{
|
|
|
__m128 sse_abs_ps(__m128 x);
|
|
|
|
|
|
__m128 sse_sgn_ps(__m128 x);
|
|
|
@@ -63,5 +66,5 @@ namespace detail{
|
|
|
|
|
|
#include "intrinsic_common.inl"
|
|
|
|
|
|
-//#endif//(GLM_ARCH >= GLM_ARCH_SSE2)
|
|
|
+#endif//GLM_ARCH
|
|
|
#endif//glm_detail_intrinsic_common
|