mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
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:
parent
7b058566c8
commit
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 += [
|
||||
|
Loading…
Reference in New Issue
Block a user