Updated SSE setup

This commit is contained in:
Christophe Riccio
2011-01-10 20:10:35 +00:00
parent 9bfef421e2
commit d7755485c8
4 changed files with 37 additions and 9 deletions

View File

@@ -241,10 +241,18 @@
#if(defined(GLM_COMPILER) && (GLM_COMPILER & GLM_COMPILER_GCC))
# define GLM_INSTRUCTION_SET GLM_INSTRUCTION_SET_NULL
#elif(defined(GLM_COMPILER) && (GLM_COMPILER & GLM_COMPILER_VC))
# ifdef _M_CEE_PURE
# define GLM_INSTRUCTION_SET GLM_INSTRUCTION_SET_PURE
# if(GLM_MODEL == GLM_MODEL_64)
# ifdef _M_CEE_PURE
# define GLM_INSTRUCTION_SET GLM_INSTRUCTION_SET_PURE
# else
# define GLM_INSTRUCTION_SET GLM_INSTRUCTION_SET_MMX | GLM_INSTRUCTION_SET_SSE
# endif
# else
# define GLM_INSTRUCTION_SET GLM_INSTRUCTION_SET_NULL
# ifdef _M_CEE_PURE
# define GLM_INSTRUCTION_SET GLM_INSTRUCTION_SET_PURE
# else
# define GLM_INSTRUCTION_SET GLM_INSTRUCTION_SET_NULL
# endif
# endif
#else
# define GLM_INSTRUCTION_SET GLM_INSTRUCTION_SET_PURE