19 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: xvid_bench.c,v 1.34 2006-11-01 07:12:26 Skal Exp $ |
* $Id: xvid_bench.c,v 1.35 2006-12-21 23:27:35 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
2060 |
lum8x8 = lum_8x8_c; |
lum8x8 = lum_8x8_c; |
2061 |
lum2x8 = lum_2x8_c; |
lum2x8 = lum_2x8_c; |
2062 |
csim = consim_c; |
csim = consim_c; |
2063 |
|
#ifdef ARCH_IS_IA32 |
2064 |
if (cpu->cpu & XVID_CPU_MMX){ |
if (cpu->cpu & XVID_CPU_MMX){ |
2065 |
lum8x8 = lum_8x8_mmx; |
lum8x8 = lum_8x8_mmx; |
2066 |
csim = consim_mmx; |
csim = consim_mmx; |
2068 |
if (cpu->cpu & XVID_CPU_MMX){ |
if (cpu->cpu & XVID_CPU_MMX){ |
2069 |
csim = consim_sse2; |
csim = consim_sse2; |
2070 |
} |
} |
2071 |
|
#endif |
2072 |
t = gettime_usec(); |
t = gettime_usec(); |
2073 |
emms(); |
emms(); |
2074 |
for(tst=0; tst<nb_tests; ++tst) m = lum8x8(Ref1, 16); |
for(tst=0; tst<nb_tests; ++tst) m = lum8x8(Ref1, 16); |