Re: [PATCH android/frameworks/base] audioflinger: Enable ARMv5TE optimized resampler

2011-04-07 Thread Jim Huang
On 6 April 2011 14:30, Jim Huang wrote: > Previously, the optimized asm option is only enabled when > __ARM_ARCH_5E__ is defined, which is assigned in armv5te.mk > rather than armv7-a series targets. This patch checks the ARM CPU > feature about half-word multiply instructions to enable ARMv5TE >

[PATCH android/frameworks/base] audioflinger: Enable ARMv5TE optimized resampler

2011-04-05 Thread Jim Huang
Previously, the optimized asm option is only enabled when __ARM_ARCH_5E__ is defined, which is assigned in armv5te.mk rather than armv7-a series targets. This patch checks the ARM CPU feature about half-word multiply instructions to enable ARMv5TE resampler optimization routines properly. Code Rev