Fixed instruction set detection with Clang #158

This commit is contained in:
Christophe Riccio 2014-06-11 16:56:16 +02:00
parent e2a565e866
commit c3c180559a
2 changed files with 2 additions and 1 deletions

View File

@ -579,7 +579,7 @@
# endif # endif
#elif((GLM_PLATFORM & GLM_PLATFORM_APPLE) && (GLM_COMPILER & GLM_COMPILER_GCC)) #elif((GLM_PLATFORM & GLM_PLATFORM_APPLE) && (GLM_COMPILER & GLM_COMPILER_GCC))
# define GLM_ARCH GLM_ARCH_PURE # define GLM_ARCH GLM_ARCH_PURE
#elif(((GLM_COMPILER & GLM_COMPILER_GCC) && (defined(__i386__) || defined(__x86_64__))) || (GLM_COMPILER & GLM_COMPILER_LLVM_GCC)) #elif(((GLM_COMPILER & GLM_COMPILER_GCC) && (defined(__i386__) || defined(__x86_64__))) || (GLM_COMPILER & GLM_COMPILER_LLVM_GCC) || (GLM_COMPILER & GLM_COMPILER_CLANG))
# if defined(__AVX2__) # if defined(__AVX2__)
# define GLM_ARCH (GLM_ARCH_AVX2 | GLM_ARCH_AVX | GLM_ARCH_SSE4 | GLM_ARCH_SSE3 | GLM_ARCH_SSE2) # define GLM_ARCH (GLM_ARCH_AVX2 | GLM_ARCH_AVX | GLM_ARCH_SSE4 | GLM_ARCH_SSE3 | GLM_ARCH_SSE2)
# elif defined(__AVX__) # elif defined(__AVX__)

View File

@ -46,6 +46,7 @@ GLM 0.9.5.4: 2014-0X-XX
- Fixed builtin GLM_ARCH_SSE4 #204 - Fixed builtin GLM_ARCH_SSE4 #204
- Optimized Quaternion vector rotation #205 - Optimized Quaternion vector rotation #205
- Fixed missing doxygen @endcond tag #211 - Fixed missing doxygen @endcond tag #211
- Fixed instruction set detection with Clang #158
================================================================================ ================================================================================
GLM 0.9.5.3: 2014-04-02 GLM 0.9.5.3: 2014-04-02