mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
b=1042508 enable neon resampler optimizations r=padenot
--HG-- extra : rebase_source : fd984143b78ecf25a5158715dd8bed8df7398945
This commit is contained in:
parent
ee8186f60a
commit
ddcaf3a3a7
@ -42,6 +42,13 @@ if CONFIG['INTEL_ARCHITECTURE'] and not CONFIG['MOZ_SAMPLE_TYPE_S16']:
|
||||
]
|
||||
SOURCES['resample_sse.c'].flags += CONFIG['SSE2_FLAGS']
|
||||
|
||||
if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['BUILD_ARM_NEON']:
|
||||
DEFINES['_USE_NEON'] = True
|
||||
SOURCES += [
|
||||
'resample_neon.c'
|
||||
]
|
||||
SOURCES['resample_neon.c'].flags += ['-mfpu=neon']
|
||||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['GNU_CC']:
|
||||
CFLAGS += ['-Wno-sign-compare']
|
||||
|
Loading…
Reference in New Issue
Block a user