# HG changeset patch # User michael # Date 1160260654 0 # Node ID 751bfc30df72be81c1d016e85fd00a279aaa2947 # Parent 900d21b85dd6b3fa0cb846a1e561484be811b625 disable benchmarking code disable asm optims as the fastest depends on cpu type diff -r 900d21b85dd6 -r 751bfc30df72 cabac.h --- a/cabac.h Sat Oct 07 22:34:32 2006 +0000 +++ b/cabac.h Sat Oct 07 22:37:34 2006 +0000 @@ -297,7 +297,7 @@ } static inline void renorm_cabac_decoder_once(CABACContext *c){ -#ifdef ARCH_X86 +#ifdef ARCH_X86_DISABLED int temp; #if 0 //P3:683 athlon:475 @@ -367,7 +367,7 @@ static int get_cabac(CABACContext *c, uint8_t * const state){ //FIXME gcc generates duplicate load/stores for c->low and c->range -START_TIMER +//START_TIMER int s = *state; int RangeLPS= c->lps_range[s][c->range>>(CABAC_BITS+7)]<<(CABAC_BITS+1); int bit, lps_mask attribute_unused; @@ -406,7 +406,7 @@ if(!(c->low & CABAC_MASK)) refill2(c); #endif -STOP_TIMER("get_cabac") +//STOP_TIMER("get_cabac") return bit; }