watery01 / libyuv

Automatically exported from code.google.com/p/libyuv
0 stars 0 forks source link

armv6 friendly builds #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
android.mk should support non-neon as well as neon.

the source that contains neon should be moved into _neon.cc files and built 
with neon enabled, but the calling code that uses neon should be built without 
the neon flag, so it can run on armv6 and test at runtime if neon is enabled 
and if not, use C code safely without hitting neon instructions.

gcc 4.6 will use neon for int64.  consider avoiding int64 entirely.
As is, the code could potentially crash.

Original issue reported on code.google.com by fbarch...@google.com on 4 Oct 2012 at 1:12

GoogleCodeExporter commented 9 years ago
r390 updates android.mk to allow armv6 platform.
for ndk the convert is okay, but scale needs to have neon code isolated into 
scale_neon.cc while scale.cc is built with non-neon but cpu dispatching.
Others that have neon will move their neon/sse into row_neon.
Currently the r390 should fully work with neon in ndk for convert, but scale, 
rotate and compare will have neon disabled, since they are compiled without 
neon enabled.

Original comment by fbarch...@google.com on 4 Oct 2012 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by fbarch...@google.com on 8 Oct 2012 at 10:27