Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
8cd11003
Commit
8cd11003
authored
Dec 09, 2014
by
Davis King
Browse files
Changed code to avoid a warning
parent
2fb60b52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
dlib/simd/simd_check.h
dlib/simd/simd_check.h
+12
-4
No files found.
dlib/simd/simd_check.h
View file @
8cd11003
...
@@ -9,11 +9,19 @@
...
@@ -9,11 +9,19 @@
#ifndef DLIB_DO_NOT_USE_SIMD
#ifndef DLIB_DO_NOT_USE_SIMD
#if defined(_MSC_VER)
#if defined(_MSC_VER)
#ifdef __AVX__
#ifdef __AVX__
#ifndef DLIB_HAVE_SSE2
#define DLIB_HAVE_SSE2
#define DLIB_HAVE_SSE2
#endif
#ifndef DLIB_HAVE_SSE3
#define DLIB_HAVE_SSE3
#define DLIB_HAVE_SSE3
#endif
#ifndef DLIB_HAVE_SSE41
#define DLIB_HAVE_SSE41
#define DLIB_HAVE_SSE41
#endif
#ifndef DLIB_HAVE_AVX
#define DLIB_HAVE_AVX
#define DLIB_HAVE_AVX
#endif
#endif
#endif
#if defined(_M_IX86_FP) && _M_IX86_FP >= 2 && !defined(DLIB_HAVE_SSE2)
#if defined(_M_IX86_FP) && _M_IX86_FP >= 2 && !defined(DLIB_HAVE_SSE2)
#define DLIB_HAVE_SSE2
#define DLIB_HAVE_SSE2
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment