# HG changeset patch # User reimar # Date 1391984349 0 # Node ID 56cfc2c9cbade51da31b5e93a920c3baa0b7b85a # Parent cb58825b85719eaed060e137d4b9657b48cf28e7 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. diff -r cb58825b8571 -r 56cfc2c9cbad libmpcodecs/vf_ilpack.c --- a/libmpcodecs/vf_ilpack.c Sun Feb 09 22:19:08 2014 +0000 +++ b/libmpcodecs/vf_ilpack.c Sun Feb 09 22:19:09 2014 +0000 @@ -125,7 +125,7 @@ "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 @@ "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 @@ "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 @@ "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" :