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
f0c0e0c6
Commit
f0c0e0c6
authored
Feb 25, 2018
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CPU dispatching: additional AVX-512 check for mingw-w64
parent
c729fbd6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
cpu_avx512.cpp
cmake/checks/cpu_avx512.cpp
+3
-0
cpu_avx512skx.cpp
cmake/checks/cpu_avx512skx.cpp
+3
-0
No files found.
cmake/checks/cpu_avx512.cpp
View file @
f0c0e0c6
...
...
@@ -3,6 +3,9 @@
void
test
()
{
__m512i
zmm
=
_mm512_setzero_si512
();
#if defined __GNUC__ && defined __x86_64__
asm
volatile
(
""
:
:
:
"zmm16"
,
"zmm17"
,
"zmm18"
,
"zmm19"
);
#endif
}
#else
#error "AVX512 is not supported"
...
...
cmake/checks/cpu_avx512skx.cpp
View file @
f0c0e0c6
...
...
@@ -7,6 +7,9 @@ void test()
__m256i
b
=
_mm256_abs_epi64
(
a
);
// VL
__m512i
c
=
_mm512_abs_epi8
(
zmm
);
// BW
__m512i
d
=
_mm512_broadcast_i32x8
(
b
);
// DQ
#if defined __GNUC__ && defined __x86_64__
asm
volatile
(
""
:
:
:
"zmm16"
,
"zmm17"
,
"zmm18"
,
"zmm19"
);
#endif
}
#else
#error "AVX512-SKX is not supported"
...
...
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