зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1836826 - Build libvpx with dotprod and i8mm cpu features as needed. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D190451
This commit is contained in:
Родитель
7b058566c8
Коммит
4badb41d37
|
@ -110,6 +110,10 @@ for f in SOURCES:
|
|||
SOURCES[f].flags += ['-mavx']
|
||||
if 'avx2.c' in f:
|
||||
SOURCES[f].flags += ['-mavx2']
|
||||
if 'neon_dotprod.c' in f:
|
||||
SOURCES[f].flags += ['-march=armv8.2-a+dotprod']
|
||||
if 'neon_i8mm.c' in f:
|
||||
SOURCES[f].flags += ['-march=armv8.2-a+dotprod+i8mm']
|
||||
|
||||
# Suppress warnings in third-party code.
|
||||
CFLAGS += [
|
||||
|
|
Загрузка…
Ссылка в новой задаче