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
dc4cc092
Commit
dc4cc092
authored
Nov 11, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More stuff to avoid compiler errors in clang
parent
39eef90b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
simd4f.h
dlib/simd/simd4f.h
+10
-0
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