OSDN Git Service

sbc: better compatibility with ARM thumb/thumb2
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Mon, 28 Mar 2011 22:57:39 +0000 (01:57 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Jul 2012 02:48:29 +0000 (19:48 -0700)
commit4fdd88ddf5a6b9d5d3b3b2626f0328b2ba97fa44
tree2755ee16290c6627bdd1738be42738210abd7a26
parentfe23ba01ad6904d768e8182f6d40c432d2e070bf
sbc: better compatibility with ARM thumb/thumb2

ARM assembly optimizations fail to compile in thumb mode, but are fine
for thumb2. Update ifdefs in the code to make use of ARM assembly only
when it is safe and also make sure that no optimizations are missed
when compiling for thumb2.

The problem was reported by Paul Menzel:
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2011-February/009022.html
sbc/sbc_math.h
sbc/sbc_primitives_armv6.h