From 634d9d8b398982647b3d7160641198744901d8d8 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Wed, 29 Jan 2014 14:48:22 +0100 Subject: 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. --- libavcodec/cabac_functions.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/cabac_functions.h') 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 -- cgit v1.2.3