mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1085599: Enable NEON intrinsics for C files when even when building for ARMv6. r=rillian,ted
This commit is contained in:
parent
1e8e80f612
commit
62640670bd
@ -51,7 +51,6 @@ if CONFIG['VPX_X86_ASM']:
|
||||
arm_asm_files = []
|
||||
if CONFIG['VPX_ARM_ASM']:
|
||||
arm_asm_files += files['ARM_ASM']
|
||||
CFLAGS += ['-mfpu=neon']
|
||||
|
||||
if CONFIG['VPX_AS_CONVERSION']:
|
||||
GENERATED_SOURCES += [ "%s.%s" % (f, CONFIG['VPX_ASM_SUFFIX'])
|
||||
@ -63,6 +62,10 @@ if CONFIG['VPX_ARM_ASM']:
|
||||
else:
|
||||
SOURCES += sorted(arm_asm_files)
|
||||
|
||||
for f in SOURCES:
|
||||
if f.endswith('.c') and 'neon' in f:
|
||||
SOURCES[f].flags += ['-march=armv7-a', '-mthumb', '-mfloat-abi=softfp', '-mfpu=neon']
|
||||
|
||||
# boolhuff_armv5te.asm defines the same functions as boolhuff.c instead of
|
||||
# using RTCD, so we have to make sure we only add one of the two.
|
||||
if 'vp8/encoder/arm/armv5te/boolhuff_armv5te.asm' not in arm_asm_files:
|
||||
|
Loading…
Reference in New Issue
Block a user