diff options
author | Janne Grunau <janne-libav@jannau.net> | 2014-01-29 17:48:22 +0400 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-03-09 03:45:34 +0400 |
commit | 634d9d8b398982647b3d7160641198744901d8d8 (patch) | |
tree | 666a51d0a42ba9560d4699900aa38eb230988c85 /libavcodec/cabac_functions.h | |
parent | dfe224f377be3e45758c69d881ca7874b82d647a (diff) |
arm: get_cabac inline asm
Based on the aarch64 asm. CPU cycle counts on cortex-a9 compared to
gcc 4.8.2:
before: 475 decicycles in get_cabac_noinline, 67106035 runs, 2829 skips
after: 393 decicycles in get_cabac_noinline, 67106474 runs, 2390 skips
Overall speedup is above 2%. Code generated by clang 3.4 is slower on
the same hardware and the relative change is a little larger.
Diffstat (limited to 'libavcodec/cabac_functions.h')
-rw-r--r-- | libavcodec/cabac_functions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/cabac_functions.h b/libavcodec/cabac_functions.h index 39f0afbb36..4b8f1bca8a 100644 --- a/libavcodec/cabac_functions.h +++ b/libavcodec/cabac_functions.h @@ -35,6 +35,9 @@ #if ARCH_AARCH64 # include "aarch64/cabac.h" #endif +#if ARCH_ARM +# include "arm/cabac.h" +#endif #if ARCH_X86 # include "x86/cabac.h" #endif |