Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
f4b9acb4
Commit
f4b9acb4
authored
Sep 12, 2018
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12497 from tomoaki0705:removeRawSSE
parents
acbfd857
88b04c3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
pooling_layer.cpp
modules/dnn/src/layers/pooling_layer.cpp
+3
-6
No files found.
modules/dnn/src/layers/pooling_layer.cpp
View file @
f4b9acb4
...
...
@@ -494,19 +494,16 @@ public:
max_val0
=
v_max
(
max_val0
,
v0
);
max_val1
=
v_max
(
max_val1
,
v1
);
}
#if CV_SSE2
else
if
(
stride_w
==
2
)
for
(
int
k
=
0
;
k
<
kernel_w
*
kernel_h
;
k
++
)
{
int
index
=
ofsptr
[
k
];
v_float32x4
v00
=
v_load
(
srcData1
+
index
),
v01
=
v_load
(
srcData1
+
index
+
4
);
v_float32x4
v0
(
_mm_shuffle_ps
(
v00
.
val
,
v01
.
val
,
_MM_SHUFFLE
(
2
,
0
,
2
,
0
)));
v_float32x4
v10
=
v_load
(
srcData1
+
index
+
8
),
v11
=
v_load
(
srcData1
+
index
+
12
);
v_float32x4
v1
(
_mm_shuffle_ps
(
v10
.
val
,
v11
.
val
,
_MM_SHUFFLE
(
2
,
0
,
2
,
0
)));
v_float32x4
v0
,
v1
,
dummy
;
v_load_deinterleave
(
srcData1
+
index
,
v0
,
dummy
);
// f0 f2 f4 f6 ,f1 f3 f5 f7
v_load_deinterleave
(
srcData1
+
index
+
8
,
v1
,
dummy
);
// f8 f10 f12 f14 ,f9 f11 f13 f15
max_val0
=
v_max
(
max_val0
,
v0
);
max_val1
=
v_max
(
max_val1
,
v1
);
}
#endif
else
for
(
int
k
=
0
;
k
<
kernel_w
*
kernel_h
;
k
++
)
{
...
...
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