Bug 1852200 - Turn on Pixman's NEON on Darwin platforms. r=gfx-reviewers,lsalzman

After landing bug 1820720, we can turn on Pixman's NEON on all Darwin
platforms.

Differential Revision: https://phabricator.services.mozilla.com/D187747
This commit is contained in:
Makoto Kato 2023-09-08 10:00:42 +00:00
Родитель 757097532f
Коммит ac82b42c8f
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -73,8 +73,10 @@ if CONFIG['INTEL_ARCHITECTURE']:
SOURCES['pixman-sse2.c'].flags += CONFIG['SSE_FLAGS'] + CONFIG['SSE2_FLAGS']
SOURCES['pixman-ssse3.c'].flags += CONFIG['SSSE3_FLAGS']
# AArch64 NEON optimizations don't build on Windows and Mac out of the box.
elif CONFIG['CPU_ARCH'] == 'aarch64' and CONFIG['OS_TARGET'] in ('Android', 'Linux'):
elif CONFIG['CPU_ARCH'] == 'aarch64' and CONFIG['OS_TARGET'] in ('Android', 'Linux', 'Darwin'):
DEFINES['USE_ARM_A64_NEON'] = True
if CONFIG['OS_TARGET'] == 'Darwin':
DEFINES['ASM_LEADING_UNDERSCORE'] = True
SOURCES += [
'pixman-arm-neon.c',
'pixman-arma64-neon-asm-bilinear.S',