Commit e2ae5a99 authored by diego's avatar diego

Fix crash with illegal instruction, cmov is available on 686 and later only.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6715 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d2c552ba
...@@ -460,7 +460,7 @@ static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state ...@@ -460,7 +460,7 @@ static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state
"movl "LOW "(%2), %%ebx \n\t" "movl "LOW "(%2), %%ebx \n\t"
//eax:state ebx:low, edx:range, esi:RangeLPS //eax:state ebx:low, edx:range, esi:RangeLPS
"subl %%esi, %%edx \n\t" "subl %%esi, %%edx \n\t"
#ifdef CMOV_IS_FAST #if (defined CMOV_IS_FAST && __CPU__ >= 686)
"movl %%edx, %%ecx \n\t" "movl %%edx, %%ecx \n\t"
"shl $17, %%edx \n\t" "shl $17, %%edx \n\t"
"cmpl %%ebx, %%edx \n\t" "cmpl %%ebx, %%edx \n\t"
......
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