diff options
author | Jonathan Perkin <jperkin@NetBSD.org> | 2014-05-19 10:36:01 +0300 |
---|---|---|
committer | Jonathan Perkin <jperkin@NetBSD.org> | 2014-05-19 10:36:01 +0300 |
commit | 03dda50f8e56f8f353c0b015b90128a8c1d0853e (patch) | |
tree | b0fd6cf25366795cf8fae42556a00b682afc0abd /src | |
parent | 3e29ee96d92a93abf1b8198132721643693c63e2 (diff) | |
download | xine-lib-03dda50f8e56f8f353c0b015b90128a8c1d0853e.tar.gz xine-lib-03dda50f8e56f8f353c0b015b90128a8c1d0853e.tar.bz2 |
Fix Solaris problem in goom assembler.
Solaris cannot handle this MMX section, failing with:
error: can't find a register in class GENERAL_REGS while reloading 'asm'.
Diffstat (limited to 'src')
-rw-r--r-- | src/post/goom/convolve_fx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post/goom/convolve_fx.c b/src/post/goom/convolve_fx.c index 401df1fb0..7c2b5dc7d 100644 --- a/src/post/goom/convolve_fx.c +++ b/src/post/goom/convolve_fx.c @@ -151,7 +151,7 @@ static void create_output_with_brightness(VisualFX *_this, Pixel *src, Pixel *de ytex = yprime + yi + CONV_MOTIF_W * 0x10000 / 2; yprime += c; -#if defined(HAVE_MMX) && ! defined(ARCH_X86_64) +#if defined(HAVE_MMX) && ! defined(ARCH_X86_64) && !defined(__sun) /* This code uses 32-bit registers eax,ecx,esi to store pointers => does not work in 64-bit os. */ __asm__ __volatile__ ("\n\t pxor %%mm7, %%mm7" /* mm7 = 0 */ |