Commit 2e811f50 authored by michael's avatar michael

disable benchmarking code

disable asm optims as the fastest depends on cpu type


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6582 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4dabaa3c
...@@ -297,7 +297,7 @@ static inline void renorm_cabac_decoder(CABACContext *c){ ...@@ -297,7 +297,7 @@ static inline void renorm_cabac_decoder(CABACContext *c){
} }
static inline void renorm_cabac_decoder_once(CABACContext *c){ static inline void renorm_cabac_decoder_once(CABACContext *c){
#ifdef ARCH_X86 #ifdef ARCH_X86_DISABLED
int temp; int temp;
#if 0 #if 0
//P3:683 athlon:475 //P3:683 athlon:475
...@@ -367,7 +367,7 @@ static inline void renorm_cabac_decoder_once(CABACContext *c){ ...@@ -367,7 +367,7 @@ static inline void renorm_cabac_decoder_once(CABACContext *c){
static int get_cabac(CABACContext *c, uint8_t * const state){ static int get_cabac(CABACContext *c, uint8_t * const state){
//FIXME gcc generates duplicate load/stores for c->low and c->range //FIXME gcc generates duplicate load/stores for c->low and c->range
START_TIMER //START_TIMER
int s = *state; int s = *state;
int RangeLPS= c->lps_range[s][c->range>>(CABAC_BITS+7)]<<(CABAC_BITS+1); int RangeLPS= c->lps_range[s][c->range>>(CABAC_BITS+7)]<<(CABAC_BITS+1);
int bit, lps_mask attribute_unused; int bit, lps_mask attribute_unused;
...@@ -406,7 +406,7 @@ START_TIMER ...@@ -406,7 +406,7 @@ START_TIMER
if(!(c->low & CABAC_MASK)) if(!(c->low & CABAC_MASK))
refill2(c); refill2(c);
#endif #endif
STOP_TIMER("get_cabac") //STOP_TIMER("get_cabac")
return bit; return bit;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment