comparison liba52/downmix.c @ 27445:9dce785d9ba6

Remove unused and untested function. It is only part of our local patchset.
author diego
date Fri, 22 Aug 2008 21:35:38 +0000
parents 6334c14b38eb
children 08d18fe9da52
comparison
equal deleted inserted replaced
27444:2c4914cb8905 27445:9dce785d9ba6
1010 " jnz 1b \n\t" 1010 " jnz 1b \n\t"
1011 "emms" 1011 "emms"
1012 :: "r" (samples+256) 1012 :: "r" (samples+256)
1013 : "%"REG_S 1013 : "%"REG_S
1014 ); 1014 );
1015 }
1016
1017 /*
1018 I hope dest and src will be at least 8 byte aligned and size
1019 will devide on 8 without remain
1020 Note: untested and unused.
1021 */
1022 static void copy_MMX(void *dest,const void *src,unsigned size)
1023 {
1024 unsigned i;
1025 size /= 64;
1026 for(i=0;i<size;i++)
1027 {
1028 __asm __volatile(
1029 "movq %0, %%mm0\n\t"
1030 "movq 8%0, %%mm1\n\t"
1031 "movq 16%0, %%mm2\n\t"
1032 "movq 24%0, %%mm3\n\t"
1033 "movq 32%0, %%mm4\n\t"
1034 "movq 40%0, %%mm5\n\t"
1035 "movq 48%0, %%mm6\n\t"
1036 "movq 56%0, %%mm7\n\t"
1037 "movq %%mm0, %1\n\t"
1038 "movq %%mm1, 8%1\n\t"
1039 "movq %%mm2, 16%1\n\t"
1040 "movq %%mm3, 24%1\n\t"
1041 "movq %%mm4, 32%1\n\t"
1042 "movq %%mm5, 40%1\n\t"
1043 "movq %%mm6, 48%1\n\t"
1044 "movq %%mm7, 56%1\n\t"
1045 :
1046 :"m"(src),"m"(dest));
1047 }
1048 } 1015 }
1049 1016
1050 static void downmix_SSE (sample_t * samples, int acmod, int output, sample_t bias, 1017 static void downmix_SSE (sample_t * samples, int acmod, int output, sample_t bias,
1051 sample_t clev, sample_t slev) 1018 sample_t clev, sample_t slev)
1052 { 1019 {