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
4fec4476
"...csrc/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "21790df9a4f77bd9ec4db44de04594cb539457a7"
Commit
4fec4476
authored
Nov 10, 2013
by
Davis King
Browse files
Fixed bug in simd4i operator>>
parent
6a56aad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dlib/simd/simd4i.h
dlib/simd/simd4i.h
+4
-4
No files found.
dlib/simd/simd4i.h
View file @
4fec4476
...
@@ -251,10 +251,10 @@ namespace dlib
...
@@ -251,10 +251,10 @@ namespace dlib
#ifdef DLIB_HAVE_SSE2
#ifdef DLIB_HAVE_SSE2
return
_mm_sra_epi32
(
lhs
,
_mm_cvtsi32_si128
(
rhs
));
return
_mm_sra_epi32
(
lhs
,
_mm_cvtsi32_si128
(
rhs
));
#else
#else
return
simd4i
(
lhs
[
0
]
<<
rhs
,
return
simd4i
(
lhs
[
0
]
>>
rhs
,
lhs
[
1
]
<<
rhs
,
lhs
[
1
]
>>
rhs
,
lhs
[
2
]
<<
rhs
,
lhs
[
2
]
>>
rhs
,
lhs
[
3
]
<<
rhs
);
lhs
[
3
]
>>
rhs
);
#endif
#endif
}
}
inline
simd4i
&
operator
>>=
(
simd4i
&
lhs
,
const
int
&
rhs
)
inline
simd4i
&
operator
>>=
(
simd4i
&
lhs
,
const
int
&
rhs
)
...
...
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