Fixed SIMD support for Intel compiler on Windows, issue #32

This commit is contained in:
Christophe Riccio 2013-01-07 23:37:59 +00:00
parent 6c855a892d
commit 9a625f4d5b
2 changed files with 13 additions and 1 deletions

View File

@ -445,6 +445,13 @@ namespace detail
# define GLM_RESTRICT __declspec(restrict)
# define GLM_RESTRICT_VAR __restrict
# define GLM_CONSTEXPR
#elif(GLM_COMPILER & GLM_COMPILER_INTEL)
# define GLM_DEPRECATED
# define GLM_ALIGN(x) __declspec(align(x))
# define GLM_ALIGNED_STRUCT(x) __declspec(align(x)) struct
# define GLM_RESTRICT
# define GLM_RESTRICT_VAR __restrict
# define GLM_CONSTEXPR
#elif((GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_LLVM_GCC)) && (GLM_COMPILER >= GLM_COMPILER_GCC31))
# define GLM_DEPRECATED __attribute__((__deprecated__))
# define GLM_ALIGN(x) __attribute__((aligned(x)))

View File

@ -7,7 +7,7 @@ glm@g-truc.net
================================================================================
The MIT License
--------------------------------------------------------------------------------
Copyright (c) 2005 - 2012 G-Truc Creation (www.g-truc.net)
Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@ -36,6 +36,11 @@ GLM is a header only library, there is nothing to build, just include it.
More informations in GLM manual:
http://glm.g-truc.net/glm.pdf
================================================================================
GLM 0.9.4.2: 2013-01-XX
--------------------------------------------------------------------------------
- Fixed SIMD support for Intel compiler on Windows
================================================================================
GLM 0.9.4.1: 2012-12-22
--------------------------------------------------------------------------------