OSDN Git Service

AArch64: rewrite audioflinger's sinc resample by intrinsics.
authorZhongwei Yao <zhongwei.yao@arm.com>
Thu, 10 Apr 2014 16:23:42 +0000 (17:23 +0100)
committerZheng Xu <zheng.xu@arm.com>
Thu, 10 Apr 2014 17:28:46 +0000 (18:28 +0100)
commit12b44bd5fe3069cd3450d05b6c446b600e0553d3
treed7c3ff6a66a682520248b3b39e68a470968e3663
parent51b3ea2b8f7298bffbd246c65a606cd053357b66
AArch64: rewrite audioflinger's sinc resample by intrinsics.

Pass conformance test on armv7 and aarch64, performance test is done on armv7.
Compared with original armv7 assembly version, this version has similar
result. Here is performance data on pandaboard android4.4 (input: random wave
file, unit: Mspl/s, toolchain:gcc 4.8):

|                | origin(assembly) | current(intrinsics) | C version |
|----------------+------------------+---------------------+-----------|
| single channel | 6.17             | 7.14                | 3.43      |
| double channel | 5.24             | 5.63                | 3.50      |

Change-Id: If5670218e1586e9dfd2b8d9c66a6880f3e4808ca
services/audioflinger/AudioResamplerSinc.cpp