Added ARM instruction set detection

This commit is contained in:
Christophe Riccio
2014-12-20 17:16:52 +01:00
parent fc8b4404f0
commit 2336264f4e
3 changed files with 15 additions and 7 deletions

View File

@@ -176,6 +176,8 @@ int test_instruction_set()
if(GLM_ARCH == GLM_ARCH_PURE)
std::printf("GLM_ARCH_PURE ");
if(GLM_ARCH & GLM_ARCH_ARM)
std::printf("GLM_ARCH_ARM ");
if(GLM_ARCH & GLM_ARCH_AVX2)
std::printf("GLM_ARCH_AVX2 ");
if(GLM_ARCH & GLM_ARCH_AVX)