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
2ee10362
Commit
2ee10362
authored
May 30, 2017
by
Davis King
Browse files
merged
parents
e8e064e5
9ed2ba9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
dlib/simd/simd4f.h
dlib/simd/simd4f.h
+3
-3
dlib/simd/simd4i.h
dlib/simd/simd4i.h
+0
-1
No files found.
dlib/simd/simd4f.h
View file @
2ee10362
...
...
@@ -390,7 +390,7 @@ namespace dlib
#elif defined(DLIB_HAVE_VSX)
return
vec_cmpeq
(
lhs
(),
rhs
());
#elif defined(DLIB_HAVE_NEON)
return
vceqq_f32
(
lhs
,
rhs
);
return
(
int32x4_t
)
vceqq_f32
(
lhs
,
rhs
);
#else
return
simd4f_bool
(
lhs
[
0
]
==
rhs
[
0
],
lhs
[
1
]
==
rhs
[
1
],
...
...
@@ -424,7 +424,7 @@ namespace dlib
#elif defined(DLIB_HAVE_VSX)
return
vec_cmplt
(
lhs
(),
rhs
());
#elif defined(DLIB_HAVE_NEON)
return
vcltq_f32
(
lhs
,
rhs
);
return
(
int32x4_t
)
vcltq_f32
(
lhs
,
rhs
);
#else
return
simd4f_bool
(
lhs
[
0
]
<
rhs
[
0
],
lhs
[
1
]
<
rhs
[
1
],
...
...
@@ -449,7 +449,7 @@ namespace dlib
#elif defined(DLIB_HAVE_VSX)
return
vec_cmple
(
lhs
(),
rhs
());
#elif defined(DLIB_HAVE_NEON)
return
vcleq_f32
(
lhs
,
rhs
);
return
(
int32x4_t
)
vcleq_f32
(
lhs
,
rhs
);
#else
return
simd4f_bool
(
lhs
[
0
]
<=
rhs
[
0
],
lhs
[
1
]
<=
rhs
[
1
],
...
...
dlib/simd/simd4i.h
View file @
2ee10362
...
...
@@ -105,7 +105,6 @@ namespace dlib
x
=
vld1q_s32
(
data
);
}
inline
simd4i
(
const
int32x4_t
&
val
)
:
x
(
val
)
{}
inline
simd4i
(
const
uint32x4_t
&
val
)
:
x
((
int32x4_t
)
val
)
{}
inline
simd4i
&
operator
=
(
const
int32x4_t
&
val
)
{
...
...
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