[MPlayer-cvslog] r36824 - trunk/libmpcodecs/vf_ilpack.c
reimar
subversion at mplayerhq.hu
Sun Feb 9 23:19:09 CET 2014
Author: reimar
Date: Sun Feb 9 23:19:09 2014
New Revision: 36824
Log:
Use numeric labels in inline asm for consistency and better
compatibility.
Patch by Matt Oliver [protogonoi gmail.com].
I added suffixes to jump targets for better code consistency.
Modified:
trunk/libmpcodecs/vf_ilpack.c
Modified: trunk/libmpcodecs/vf_ilpack.c
==============================================================================
--- trunk/libmpcodecs/vf_ilpack.c Sun Feb 9 23:19:08 2014 (r36823)
+++ trunk/libmpcodecs/vf_ilpack.c Sun Feb 9 23:19:09 2014 (r36824)
@@ -125,7 +125,7 @@ static void pack_li_0_MMX(unsigned char
"pxor %%mm0, %%mm0 \n\t"
ASMALIGN(4)
- ".Lli0: \n\t"
+ "2: \n\t"
"movq (%%"REG_S"), %%mm1 \n\t"
"movq (%%"REG_S"), %%mm2 \n\t"
@@ -204,7 +204,7 @@ static void pack_li_0_MMX(unsigned char
"add $32, %%"REG_D" \n\t"
"decl %%ecx \n\t"
- "jnz .Lli0 \n\t"
+ "jnz 2b \n\t"
"emms \n\t"
"pop %%"REG_BP" \n\t"
:
@@ -233,7 +233,7 @@ static void pack_li_1_MMX(unsigned char
"pxor %%mm0, %%mm0 \n\t"
ASMALIGN(4)
- ".Lli1: \n\t"
+ "3: \n\t"
"movq (%%"REG_S"), %%mm1 \n\t"
"movq (%%"REG_S"), %%mm2 \n\t"
@@ -316,7 +316,7 @@ static void pack_li_1_MMX(unsigned char
"add $32, %%"REG_D" \n\t"
"decl %%ecx \n\t"
- "jnz .Lli1 \n\t"
+ "jnz 3b \n\t"
"emms \n\t"
"pop %%"REG_BP" \n\t"
:
More information about the MPlayer-cvslog
mailing list