- Fixed Visual C++ SIMD instruction set automatic detection in 64 bits
This commit is contained in:
parent
9770c9f73d
commit
e9bb34fb78
@ -423,8 +423,14 @@
|
|||||||
# 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__)
|
||||||
# define GLM_ARCH (GLM_ARCH_AVX | GLM_ARCH_SSE4 | GLM_ARCH_SSE3 | GLM_ARCH_SSE2)
|
# define GLM_ARCH (GLM_ARCH_AVX | GLM_ARCH_SSE4 | GLM_ARCH_SSE3 | GLM_ARCH_SSE2)
|
||||||
# elif _M_IX86_FP == 2
|
# elif defined(_M_X64)
|
||||||
# define GLM_ARCH (GLM_ARCH_SSE2)
|
# define GLM_ARCH (GLM_ARCH_SSE2)
|
||||||
|
# elif defined(_M_IX86_FP)
|
||||||
|
# if _M_IX86_FP >= 2
|
||||||
|
# define GLM_ARCH (GLM_ARCH_SSE2)
|
||||||
|
# else
|
||||||
|
# define GLM_ARCH (GLM_ARCH_PURE)
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
# define GLM_ARCH (GLM_ARCH_PURE)
|
# define GLM_ARCH (GLM_ARCH_PURE)
|
||||||
# endif
|
# endif
|
||||||
|
@ -54,6 +54,8 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
|
|||||||
#### [GLM 0.9.7.5](https://github.com/g-truc/glm/tree/0.9.7) - 2016-0X-XX
|
#### [GLM 0.9.7.5](https://github.com/g-truc/glm/tree/0.9.7) - 2016-0X-XX
|
||||||
##### Fixes:
|
##### Fixes:
|
||||||
- Fixed uaddCarry warning #497
|
- Fixed uaddCarry warning #497
|
||||||
|
- Fixed roundPowerOfTwo and floorPowerOfTwo #503
|
||||||
|
- Fixed Visual C++ SIMD instruction set automatic detection in 64 bits
|
||||||
|
|
||||||
#### [GLM 0.9.7.4](https://github.com/g-truc/glm/releases/tag/0.9.7.4) - 2016-03-19
|
#### [GLM 0.9.7.4](https://github.com/g-truc/glm/releases/tag/0.9.7.4) - 2016-03-19
|
||||||
##### Fixes:
|
##### Fixes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user