# HG changeset patch # User michael # Date 1180302333 0 # Node ID ef54df9f07d366ca503fdb1dd4eeec13eac819fe # Parent d43ce381e578160c0892fafb0b4ff60302f55016 HAVE_MMX1 -> HAVE_ONLY_MMX1 (makes more sense ...) diff -r d43ce381e578 -r ef54df9f07d3 libvo/aclib_template.c --- a/libvo/aclib_template.c Sun May 27 21:14:32 2007 +0000 +++ b/libvo/aclib_template.c Sun May 27 21:45:33 2007 +0000 @@ -64,14 +64,14 @@ // by Pontscho/fresh!mindworkz -#undef HAVE_MMX1 +#undef HAVE_ONLY_MMX1 #if defined(HAVE_MMX) && !defined(HAVE_MMX2) && !defined(HAVE_3DNOW) && !defined(HAVE_SSE) /* means: mmx v.1. Note: Since we added alignment of destinition it speedups of memory copying on PentMMX, Celeron-1 and P2 upto 12% versus standard (non MMX-optimized) version. Note: on K6-2+ it speedups memory copying upto 25% and on K7 and P3 about 500% (5 times). */ -#define HAVE_MMX1 +#define HAVE_ONLY_MMX1 #endif @@ -127,7 +127,7 @@ #endif #undef MIN_LEN -#ifdef HAVE_MMX1 +#ifdef HAVE_ONLY_MMX1 #define MIN_LEN 0x800 /* 2K blocks */ #else #define MIN_LEN 0x40 /* 64-byte blocks */ @@ -151,7 +151,7 @@ printf("freq < %8d %4d\n", 1<0; i--) { __asm__ __volatile__ ( -#ifndef HAVE_MMX1 +#ifndef HAVE_ONLY_MMX1 PREFETCH" 320(%0)\n" #endif "movq (%0), %%mm0\n" @@ -318,7 +318,7 @@ for(; i>0; i--) { __asm__ __volatile__ ( -#ifndef HAVE_MMX1 +#ifndef HAVE_ONLY_MMX1 PREFETCH" 320(%0)\n" #endif "movq (%0), %%mm0\n"