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
dc4cc092
Commit
dc4cc092
authored
Nov 11, 2013
by
Davis King
Browse files
More stuff to avoid compiler errors in clang
parent
39eef90b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
dlib/simd/simd4f.h
dlib/simd/simd4f.h
+10
-0
dlib/simd/simd8f.h
dlib/simd/simd8f.h
+2
-2
No files found.
dlib/simd/simd4f.h
View file @
dc4cc092
...
@@ -99,6 +99,16 @@ namespace dlib
...
@@ -99,6 +99,16 @@ namespace dlib
return
temp
;
return
temp
;
}
}
inline
simd4f
&
operator
=
(
const
simd4i
&
val
)
{
x
[
0
]
=
val
[
0
];
x
[
1
]
=
val
[
1
];
x
[
2
]
=
val
[
2
];
x
[
3
]
=
val
[
3
];
return
*
this
;
}
void
load_aligned
(
const
type
*
ptr
)
void
load_aligned
(
const
type
*
ptr
)
{
{
x
[
0
]
=
ptr
[
0
];
x
[
0
]
=
ptr
[
0
];
...
...
dlib/simd/simd8f.h
View file @
dc4cc092
...
@@ -100,8 +100,8 @@ namespace dlib
...
@@ -100,8 +100,8 @@ namespace dlib
operator
simd8i
::
rawarray
()
const
operator
simd8i
::
rawarray
()
const
{
{
simd8i
::
rawarray
temp
;
simd8i
::
rawarray
temp
;
temp
.
low
=
_low
;
temp
.
low
=
simd4i
(
_low
)
;
temp
.
high
=
_high
;
temp
.
high
=
simd4i
(
_high
)
;
return
temp
;
return
temp
;
}
}
...
...
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