diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2006-02-04 14:06:29 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2006-02-04 14:06:29 +0000 |
commit | 5e7976e7ef58bab9ae5b55a87acf369868c7a955 (patch) | |
tree | da401376cbc246720f041133976a8c5a7e8eadf7 /src/post/goom/convolve_fx.c | |
parent | ae4c5b53d2d0f540c95fb11c993de003842075a7 (diff) | |
download | xine-lib-5e7976e7ef58bab9ae5b55a87acf369868c7a955.tar.gz xine-lib-5e7976e7ef58bab9ae5b55a87acf369868c7a955.tar.bz2 |
Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...)
patch by dani3l
CVS patchset: 7867
CVS date: 2006/02/04 14:06:29
Diffstat (limited to 'src/post/goom/convolve_fx.c')
-rw-r--r-- | src/post/goom/convolve_fx.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/post/goom/convolve_fx.c b/src/post/goom/convolve_fx.c index e16a17862..ccd24dbd6 100644 --- a/src/post/goom/convolve_fx.c +++ b/src/post/goom/convolve_fx.c @@ -7,6 +7,10 @@ #include <stdlib.h> #include <string.h> +#if HAVE_CONFIG_H +# include "config.h" +#endif + //#define CONV_MOTIF_W 32 //#define CONV_MOTIF_WMASK 0x1f @@ -151,7 +155,8 @@ static void create_output_with_brightness(VisualFX *_this, Pixel *src, Pixel *de ytex = yprime + yi + CONV_MOTIF_W * 0x10000 / 2; yprime += c; -#ifdef HAVE_MMX +#if defined(HAVE_MMX) && ! defined(ARCH_X86_64) +/* This code uses 32-bit registers eax,ecx,esi */ __asm__ __volatile__ ("\n\t pxor %%mm7, %%mm7" /* mm7 = 0 */ "\n\t movd %0, %%mm2" |