Mercurial > mplayer.hg
changeset 36728:56cfc2c9cbad
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.
author | reimar |
---|---|
date | Sun, 09 Feb 2014 22:19:09 +0000 |
parents | cb58825b8571 |
children | 19e0fc815a0e |
files | libmpcodecs/vf_ilpack.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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" :