[MPlayer-cvslog] r31268 - trunk/mp3lib/dct36_3dnow.c
reimar
subversion at mplayerhq.hu
Sat May 29 18:34:02 CEST 2010
Author: reimar
Date: Sat May 29 18:34:01 2010
New Revision: 31268
Log:
Use edi instead of ebx to avoid issues with PIC.
Modified:
trunk/mp3lib/dct36_3dnow.c
Modified: trunk/mp3lib/dct36_3dnow.c
==============================================================================
--- trunk/mp3lib/dct36_3dnow.c Sat May 29 17:07:16 2010 (r31267)
+++ trunk/mp3lib/dct36_3dnow.c Sat May 29 18:34:01 2010 (r31268)
@@ -189,9 +189,9 @@ void dct36_3dnow(real *inbuf, real *o1,
"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 @@ void dct36_3dnow(real *inbuf, real *o1,
"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 @@ void dct36_3dnow(real *inbuf, real *o1,
"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 @@ void dct36_3dnow(real *inbuf, real *o1,
"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 @@ void dct36_3dnow(real *inbuf, real *o1,
"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 @@ void dct36_3dnow(real *inbuf, real *o1,
"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 @@ void dct36_3dnow(real *inbuf, real *o1,
"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 @@ void dct36_3dnow(real *inbuf, real *o1,
"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 @@ void dct36_3dnow(real *inbuf, real *o1,
"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");
}
More information about the MPlayer-cvslog
mailing list