]> granicus.if.org Git - libvpx/commit
use memcpy for unaligned neon stores
authorJohann <johannkoenig@google.com>
Sat, 13 May 2017 01:14:27 +0000 (18:14 -0700)
committerJohann <johannkoenig@google.com>
Wed, 17 May 2017 19:11:31 +0000 (12:11 -0700)
commit2057d3ef757a18e6bb005812a9912748ae4c7610
treebfa82225864dee01e743ead5b37f19f2e35b11f9
parent7498fe2e542183ff6e8091608ae57fade2bde4ee
use memcpy for unaligned neon stores

Advise the compiler that the store is eventually going to a uint8_t
buffer. This helps avoid getting alignment hints which would cause the
memory access to fail.

Originally added as a workaround for clang:
https://bugs.llvm.org//show_bug.cgi?id=24421

Change-Id: Ie9854b777cfb2f4baaee66764f0e51dcb094d51e
vp8/common/arm/neon/bilinearpredict_neon.c
vp8/common/arm/neon/sixtappredict_neon.c
vpx_dsp/arm/mem_neon.h