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:
Andreas Pehrson 2023-10-10 07:15:05 +00:00
parent 7b058566c8
commit 4badb41d37

View File

@ -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 += [