diff options
author | Mans Rullgard <mans@mansr.com> | 2011-04-05 17:44:31 +0300 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2012-01-13 21:16:14 +0200 |
commit | 2ec6c483fcf569a3c085b595de6c3818d38ef344 (patch) | |
tree | b8d8bf64cd4da7f9c4b10f7f711916e448669635 /media/libstagefright/codecs | |
parent | d55da5d452fa20c7c4c4172884e0983bbeb79b6d (diff) | |
download | frameworks_base-2ec6c483fcf569a3c085b595de6c3818d38ef344.zip frameworks_base-2ec6c483fcf569a3c085b595de6c3818d38ef344.tar.gz frameworks_base-2ec6c483fcf569a3c085b595de6c3818d38ef344.tar.bz2 |
stagefright aacenc: Remove useless inline asm for simple right shift
Change-Id: If1f40e9c16952182e974af1c86a14995259c2ade
Diffstat (limited to 'media/libstagefright/codecs')
-rw-r--r-- | media/libstagefright/codecs/aacenc/basic_op/basic_op.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/media/libstagefright/codecs/aacenc/basic_op/basic_op.h b/media/libstagefright/codecs/aacenc/basic_op/basic_op.h index 7c45132..d475488 100644 --- a/media/libstagefright/codecs/aacenc/basic_op/basic_op.h +++ b/media/libstagefright/codecs/aacenc/basic_op/basic_op.h @@ -227,13 +227,7 @@ Word32 L_shr_r (Word32 L_var1, Word16 var2); #if ARMV4_INASM __inline Word32 ASM_L_shr(Word32 L_var1, Word16 var2) { - Word32 result; - asm ( - "MOV %[result], %[L_var1], ASR %[var2] \n" - :[result]"=r"(result) - :[L_var1]"r"(L_var1), [var2]"r"(var2) - ); - return result; + return L_var1 >> var2; } __inline Word32 ASM_L_shl(Word32 L_var1, Word16 var2) |