• yang.zhang@arm.com's avatar
    Enable NEON functions for ARM32 · 1a1cf3f4
    yang.zhang@arm.com authored
    In init functions, whether the code of NEON initialization is compiled
    is decided by macros HAS_XXXX_NEON. These macros HAS_XXXX_NEON are defined
    according to __ARM_NEON__/LIBYUV_NEON/__aarch64__. For ARM32, "-mfpu=neon"
    isn't passed to the files containing init functions. So __ARM_NEON__ is
    undefined which leads to NEON functions are disabled.
    In this patch, LIBYUV_NEON is added to enable HAS_XXXX_NEON definition for ARM32.
    
    BUG=none
    TESTED=libyuv_unittest on android of ARM32/ARM64
    R=fbarchard@google.com
    
    Change-Id: Ib4201e7152d2aeb0ba80d18bbbd0487151e4564e
    
    Review URL: https://webrtc-codereview.appspot.com/32959004
    
    git-svn-id: http://libyuv.googlecode.com/svn/trunk@1277 16f28f9a-4ce2-e073-06de-1de4eb20be90
    1a1cf3f4
Name
Last commit
Last update
chromium Loading commit data...
include Loading commit data...
source Loading commit data...
tools Loading commit data...
unit_test Loading commit data...
util Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
Android.mk Loading commit data...
BUILD.gn Loading commit data...
CMakeLists.txt Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE_THIRD_PARTY Loading commit data...
OWNERS Loading commit data...
PATENTS Loading commit data...
PRESUBMIT.py Loading commit data...
README.chromium Loading commit data...
all.gyp Loading commit data...
codereview.settings Loading commit data...
download_vs_toolchain.py Loading commit data...
gyp_libyuv Loading commit data...
gyp_libyuv.py Loading commit data...
libyuv.gyp Loading commit data...
libyuv.gypi Loading commit data...
libyuv_nacl.gyp Loading commit data...
libyuv_test.gyp Loading commit data...
linux.mk Loading commit data...
public.mk Loading commit data...
setup_links.py Loading commit data...
sync_chromium.py Loading commit data...
winarm.mk Loading commit data...