forked from AcademySoftwareFoundation/openexr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cpu detection of sse2 on non-64 x86 (AcademySoftwareFoundation#1467)
* Fix cpu detection of sse2 on non-64 x86 Previous code accidentally elided the i386 (i.e. non-64 bit versions of x86 compiles). This refactors and simplifies the ifdef snarl to clarify and fix that. Fixes AcademySoftwareFoundation#1459 Signed-off-by: Kimball Thurston <kdt3rd@gmail.com> * Fix mismatch with windows and enable avx support check there Signed-off-by: Kimball Thurston <kdt3rd@gmail.com> * Disable avx detection under msvc for now We require gcc / clang style inline asm for avx support, detecting it properly causes problems for the dwa support which uses that. Disable again. Signed-off-by: Kimball Thurston <kdt3rd@gmail.com> --------- Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
- Loading branch information
Showing
1 changed file
with
54 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters