Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
8ea4fc3f
Commit
8ea4fc3f
authored
Nov 11, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A minor change to avoid a compiler error in visual studio 2005
parent
61c2a5eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
simd4f.h
dlib/simd/simd4f.h
+1
-1
No files found.
dlib/simd/simd4f.h
View file @
8ea4fc3f
...
@@ -356,7 +356,7 @@ namespace dlib
...
@@ -356,7 +356,7 @@ namespace dlib
#elif defined(DLIB_HAVE_SSE3)
#elif defined(DLIB_HAVE_SSE3)
simd4f
temp
=
_mm_hadd_ps
(
item
,
item
);
simd4f
temp
=
_mm_hadd_ps
(
item
,
item
);
return
_mm_cvtss_f32
(
_mm_hadd_ps
(
temp
,
temp
));
return
_mm_cvtss_f32
(
_mm_hadd_ps
(
temp
,
temp
));
#elif defined(DLIB_HAVE_SSE2)
#elif defined(DLIB_HAVE_SSE2)
&& (!defined(_MSC_VER) || _MSC_VER!=1400)
simd4f
temp
=
_mm_add_ps
(
item
,
_mm_movehl_ps
(
item
,
item
));
simd4f
temp
=
_mm_add_ps
(
item
,
_mm_movehl_ps
(
item
,
item
));
simd4f
temp2
=
_mm_shuffle_ps
(
temp
,
temp
,
1
);
simd4f
temp2
=
_mm_shuffle_ps
(
temp
,
temp
,
1
);
return
_mm_cvtss_f32
(
_mm_add_ss
(
temp
,
temp2
));
return
_mm_cvtss_f32
(
_mm_add_ss
(
temp
,
temp2
));
...
...
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