From 03dda50f8e56f8f353c0b015b90128a8c1d0853e Mon Sep 17 00:00:00 2001 From: Jonathan Perkin Date: Mon, 19 May 2014 10:36:01 +0300 Subject: 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'. --- src/post/goom/convolve_fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 */ -- cgit v1.2.3