[prev in list] [next in list] [prev in thread] [next in thread]
List: xine-cvslog
Subject: [xine-cvs] =?utf-8?q?HG=3A_xine-lib-1=2E2=3A_Fix_Solaris_problem_?= =?utf-8?q?in_goom_assembler=2E?=
From: Jonathan_Perkin <jperkin () NetBSD ! org>
Date: 2014-05-19 7:37:02
Message-ID: 112ae307c22db031f353.1400484961 () hg ! debian ! org
[Download RAW message or body]
# HG changeset patch
# User Jonathan Perkin <jperkin@NetBSD.org>
# Date 1400484961 -10800
# Node ID 112ae307c22db031f353dd5bf91c119de2a40f29
# Branch default
# Parent 8e77ae6ee33123644108f3176df315f787796292
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'.
diff --git a/src/post/goom/convolve_fx.c b/src/post/goom/convolve_fx.c
--- a/src/post/goom/convolve_fx.c
+++ b/src/post/goom/convolve_fx.c
@@ -151,7 +151,7 @@
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 */
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic