h264: reindent get_cabac_bypass_sign_x86().

This commit is contained in:
Ronald S. Bultje 2012-03-17 09:32:03 -07:00
parent db025929f2
commit 95bfa4ead7

View File

@ -105,28 +105,28 @@ static av_always_inline int get_cabac_bypass_sign_x86(CABACContext *c, int val)
{ {
x86_reg tmp; x86_reg tmp;
__asm__ volatile( __asm__ volatile(
"movl %a5(%2), %k1 \n\t" "movl %a5(%2), %k1 \n\t"
"movl %a3(%2), %%eax \n\t" "movl %a3(%2), %%eax \n\t"
"shl $17, %k1 \n\t" "shl $17, %k1 \n\t"
"add %%eax, %%eax \n\t" "add %%eax, %%eax \n\t"
"sub %k1, %%eax \n\t" "sub %k1, %%eax \n\t"
"cltd \n\t" "cltd \n\t"
"and %%edx, %k1 \n\t" "and %%edx, %k1 \n\t"
"add %k1, %%eax \n\t" "add %k1, %%eax \n\t"
"xor %%edx, %%ecx \n\t" "xor %%edx, %%ecx \n\t"
"sub %%edx, %%ecx \n\t" "sub %%edx, %%ecx \n\t"
"test %%ax, %%ax \n\t" "test %%ax, %%ax \n\t"
" jnz 1f \n\t" "jnz 1f \n\t"
"mov %a4(%2), %1 \n\t" "mov %a4(%2), %1 \n\t"
"subl $0xFFFF, %%eax \n\t" "subl $0xFFFF, %%eax \n\t"
"movzwl (%1), %%edx \n\t" "movzwl (%1), %%edx \n\t"
"bswap %%edx \n\t" "bswap %%edx \n\t"
"shrl $15, %%edx \n\t" "shrl $15, %%edx \n\t"
"add $2, %1 \n\t" "add $2, %1 \n\t"
"addl %%edx, %%eax \n\t" "addl %%edx, %%eax \n\t"
"mov %1, %a4(%2) \n\t" "mov %1, %a4(%2) \n\t"
"1: \n\t" "1: \n\t"
"movl %%eax, %a3(%2) \n\t" "movl %%eax, %a3(%2) \n\t"
: "+c"(val), "=&r"(tmp) : "+c"(val), "=&r"(tmp)
: "r"(c), : "r"(c),