Mercurial > mplayer.hg
changeset 31206:283c0e58d491
Use edi instead of ebx to avoid issues with PIC.
author | reimar |
---|---|
date | Sat, 29 May 2010 16:34:01 +0000 |
parents | e79623333876 |
children | dfe9b1996046 |
files | mp3lib/dct36_3dnow.c |
diffstat | 1 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/mp3lib/dct36_3dnow.c Sat May 29 15:07:16 2010 +0000 +++ b/mp3lib/dct36_3dnow.c Sat May 29 16:34:01 2010 +0000 @@ -189,9 +189,9 @@ "movd 32(%%esi),%%mm6\n\t" "punpckldq 36(%%esi),%%mm6\n\t" "pfadd %%mm6,%%mm5\n\t" - "movd %%mm5,1024(%%ebx)\n\t" + "movd %%mm5,1024(%%edi)\n\t" "psrlq $32,%%mm5\n\t" - "movd %%mm5,1152(%%ebx)\n\t" + "movd %%mm5,1152(%%edi)\n\t" "movq %%mm3,%%mm4\n\t" "pfsub %%mm2,%%mm4\n\t" "movq %%mm7,%%mm5\n\t" @@ -215,9 +215,9 @@ "movd 0(%%esi),%%mm6\n\t" "punpckldq 68(%%esi),%%mm6\n\t" "pfadd %%mm6,%%mm5\n\t" - "movd %%mm5,0(%%ebx)\n\t" + "movd %%mm5,0(%%edi)\n\t" "psrlq $32,%%mm5\n\t" - "movd %%mm5,2176(%%ebx)\n\t" + "movd %%mm5,2176(%%edi)\n\t" "movq 8(%%eax),%%mm2\n\t" "movq 40(%%eax),%%mm3\n\t" "pfsub %%mm3,%%mm2\n\t" @@ -261,9 +261,9 @@ "movd 28(%%esi),%%mm6\n\t" "punpckldq 40(%%esi),%%mm6\n\t" "pfadd %%mm6,%%mm5\n\t" - "movd %%mm5,896(%%ebx)\n\t" + "movd %%mm5,896(%%edi)\n\t" "psrlq $32,%%mm5\n\t" - "movd %%mm5,1280(%%ebx)\n\t" + "movd %%mm5,1280(%%edi)\n\t" "movq %%mm3,%%mm4\n\t" "pfsub %%mm2,%%mm4\n\t" "movq %%mm7,%%mm5\n\t" @@ -287,9 +287,9 @@ "movd 4(%%esi),%%mm6\n\t" "punpckldq 64(%%esi),%%mm6\n\t" "pfadd %%mm6,%%mm5\n\t" - "movd %%mm5,128(%%ebx)\n\t" + "movd %%mm5,128(%%edi)\n\t" "psrlq $32,%%mm5\n\t" - "movd %%mm5,2048(%%ebx)\n\t" + "movd %%mm5,2048(%%edi)\n\t" "movq 8(%%eax),%%mm2\n\t" "movd "MANGLE(COS9)"+20,%%mm3\n\t" @@ -346,9 +346,9 @@ "movd 24(%%esi),%%mm6\n\t" "punpckldq 44(%%esi),%%mm6\n\t" "pfadd %%mm6,%%mm5\n\t" - "movd %%mm5,768(%%ebx)\n\t" + "movd %%mm5,768(%%edi)\n\t" "psrlq $32,%%mm5\n\t" - "movd %%mm5,1408(%%ebx)\n\t" + "movd %%mm5,1408(%%edi)\n\t" "movq %%mm3,%%mm4\n\t" "pfsub %%mm2,%%mm4\n\t" "movq %%mm7,%%mm5\n\t" @@ -372,9 +372,9 @@ "movd 8(%%esi),%%mm6\n\t" "punpckldq 60(%%esi),%%mm6\n\t" "pfadd %%mm6,%%mm5\n\t" - "movd %%mm5,256(%%ebx)\n\t" + "movd %%mm5,256(%%edi)\n\t" "psrlq $32,%%mm5\n\t" - "movd %%mm5,1920(%%ebx)\n\t" + "movd %%mm5,1920(%%edi)\n\t" "movq 8(%%eax),%%mm2\n\t" "movd "MANGLE(COS9)"+28,%%mm3\n\t" "punpckldq %%mm3,%%mm3\n\t" @@ -430,9 +430,9 @@ "movd 20(%%esi),%%mm6\n\t" "punpckldq 48(%%esi),%%mm6\n\t" "pfadd %%mm6,%%mm5\n\t" - "movd %%mm5,640(%%ebx)\n\t" + "movd %%mm5,640(%%edi)\n\t" "psrlq $32,%%mm5\n\t" - "movd %%mm5,1536(%%ebx)\n\t" + "movd %%mm5,1536(%%edi)\n\t" "movq %%mm3,%%mm4\n\t" "pfsub %%mm2,%%mm4\n\t" "movq %%mm7,%%mm5\n\t" @@ -456,9 +456,9 @@ "movd 12(%%esi),%%mm6\n\t" "punpckldq 56(%%esi),%%mm6\n\t" "pfadd %%mm6,%%mm5\n\t" - "movd %%mm5,384(%%ebx)\n\t" + "movd %%mm5,384(%%edi)\n\t" "psrlq $32,%%mm5\n\t" - "movd %%mm5,1792(%%ebx)\n\t" + "movd %%mm5,1792(%%edi)\n\t" "movq (%%eax),%%mm4\n\t" "movq 16(%%eax),%%mm3\n\t" @@ -490,12 +490,12 @@ "movd 16(%%esi),%%mm6\n\t" "punpckldq 52(%%esi),%%mm6\n\t" "pfadd %%mm6,%%mm5\n\t" - "movd %%mm5,512(%%ebx)\n\t" + "movd %%mm5,512(%%edi)\n\t" "psrlq $32,%%mm5\n\t" - "movd %%mm5,1664(%%ebx)\n\t" + "movd %%mm5,1664(%%edi)\n\t" "femms\n\t" : - : "a" (inbuf), "S" (o1), "c" (o2), "d" (wintab), "b" (tsbuf) + : "a" (inbuf), "S" (o1), "c" (o2), "d" (wintab), "D" (tsbuf) : "memory"); }