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
d4d7ab06
Commit
d4d7ab06
authored
Aug 23, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15380 from alalek:fix_build_icc
parents
c74206e4
29dbeb25
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
corner.avx.cpp
modules/imgproc/src/corner.avx.cpp
+3
-3
ts_gtest.h
modules/ts/include/opencv2/ts/ts_gtest.h
+2
-0
No files found.
modules/imgproc/src/corner.avx.cpp
View file @
d4d7ab06
...
...
@@ -113,9 +113,9 @@ static void store_interleave(float* ptr, const __m256& a, const __m256& b, const
v_pack4x3to3x4
(
u0
.
val
,
u1
.
val
,
u2
.
val
,
u3
.
val
,
a1
,
b1
,
c1
);
#if !defined(__GNUC__) || defined(__INTEL_COMPILER)
_mm256_storeu_ps
(
ptr
,
_mm256_setr_m128
(
_mm_castsi128_ps
(
a0
),
_mm_castsi128_ps
(
b0
)));
_mm256_storeu_ps
(
ptr
+
8
,
_mm256_setr_m128
(
_mm_castsi128_ps
(
c0
),
_mm_castsi128_ps
(
a1
)));
_mm256_storeu_ps
(
ptr
+
16
,
_mm256_setr_m128
(
_mm_castsi128_ps
(
b1
),
_mm_castsi128_ps
(
c1
)));
_mm256_storeu_ps
(
ptr
,
_mm256_castsi256_ps
(
_mm256_setr_m128i
(
a0
,
b0
)));
_mm256_storeu_ps
(
ptr
+
8
,
_mm256_castsi256_ps
(
_mm256_setr_m128i
(
c0
,
a1
)));
_mm256_storeu_ps
(
ptr
+
16
,
_mm256_castsi256_ps
(
_mm256_setr_m128i
(
b1
,
c1
)));
#else
// GCC: workaround for missing AVX intrinsic: "_mm256_setr_m128()"
_mm256_storeu_ps
(
ptr
,
_mm256_insertf128_ps
(
_mm256_castps128_ps256
(
_mm_castsi128_ps
(
a0
)),
_mm_castsi128_ps
(
b0
),
1
));
...
...
modules/ts/include/opencv2/ts/ts_gtest.h
View file @
d4d7ab06
...
...
@@ -21691,7 +21691,9 @@ class WithParamInterface {
return
*
GetParameterPtrRef_
();
}
#ifndef __INTEL_COMPILER // compilation workaround, templated friend is not handled properly by ICC (perhaps due using of anonymous namespaces)
private
:
#endif
// Sets parameter value. The caller is responsible for making sure the value
// remains alive and unchanged throughout the current test.
static
void
SetParam
(
const
ParamType
*
parameter
)
{
...
...
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