Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Linshizhi
ffmpeg.wasm-core
Commits
b7a3d1f2
Commit
b7a3d1f2
authored
Oct 26, 2017
by
James Darnley
Committed by
James Darnley
Dec 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: test whether x86 assembler supports AVX-512
parent
207e98b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
configure
configure
+5
-0
No files found.
configure
View file @
b7a3d1f2
...
...
@@ -411,6 +411,7 @@ Optimization options (experts only):
--disable-fma3 disable FMA3 optimizations
--disable-fma4 disable FMA4 optimizations
--disable-avx2 disable AVX2 optimizations
--disable-avx512 disable AVX-512 optimizations
--disable-aesni disable AESNI optimizations
--disable-armv5te disable armv5te optimizations
--disable-armv6 disable armv6 optimizations
...
...
@@ -1846,6 +1847,7 @@ ARCH_EXT_LIST_X86_SIMD="
amd3dnowext
avx
avx2
avx512
fma3
fma4
mmx
...
...
@@ -2373,6 +2375,7 @@ xop_deps="avx"
fma3_deps
=
"avx"
fma4_deps
=
"avx"
avx2_deps
=
"avx"
avx512_deps
=
"avx2"
mmx_external_deps
=
"x86asm"
mmx_inline_deps
=
"inline_asm x86"
...
...
@@ -5545,6 +5548,7 @@ EOF
elf
*
)
enabled debug
&&
append X86ASMFLAGS
$x86asm_debug
;;
esac
check_x86asm
"vmovdqa32 [eax]{k1}{z}, zmm0"
||
disable avx512_external
check_x86asm
"vextracti128 xmm0, ymm0, 0"
||
disable avx2_external
check_x86asm
"vpmacsdd xmm0, xmm1, xmm2, xmm3"
||
disable xop_external
check_x86asm
"vfmaddps ymm0, ymm1, ymm2, ymm3"
||
disable fma4_external
...
...
@@ -6690,6 +6694,7 @@ if enabled x86; then
echo
"AESNI enabled
${
aesni
-no
}
"
echo
"AVX enabled
${
avx
-no
}
"
echo
"AVX2 enabled
${
avx2
-no
}
"
echo
"AVX-512 enabled
${
avx512
-no
}
"
echo
"XOP enabled
${
xop
-no
}
"
echo
"FMA3 enabled
${
fma3
-no
}
"
echo
"FMA4 enabled
${
fma4
-no
}
"
...
...
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