[pixman] * Tue Jun 26 2012 Soren Sandmann <ssp at redhat.com> - 0.26.0-3 - Add -fopenmp to pixman-sse2.c CFLAGS

Soren Sandmann Pedersen ssp at fedoraproject.org
Tue Jun 26 19:27:08 UTC 2012


commit bc7b6a329ac7fe5bb8967e7d6d99ea98b331fd5c
Author: Søren Sandmann Pedersen <ssp at redhat.com>
Date:   Tue Jun 26 15:33:40 2012 -0400

    * Tue Jun 26 2012 Soren Sandmann <ssp at redhat.com> - 0.26.0-3
    - Add -fopenmp to pixman-sse2.c CFLAGS

 openmp.patch |  103 ++++++++++-----------------------------------------------
 pixman.spec  |    5 ++-
 2 files changed, 22 insertions(+), 86 deletions(-)
---
diff --git a/openmp.patch b/openmp.patch
index a2b863b..7cf113b 100644
--- a/openmp.patch
+++ b/openmp.patch
@@ -1,82 +1,7 @@
-From nobody Tue Jun 26 20:59:16 2012
-Return-Path: <pixman-bounces+sandmann=cs.au.dk at lists.freedesktop.org>
-Received: from mailglue.nfit.au.dk ([10.19.28.154])
-	 by mbe1i (Cyrus v2.3.16-Invoca-RPM-2.3.16-3) with LMTPA;
-	 Mon, 25 Jun 2012 01:01:13 +0200
-X-Sieve: CMU Sieve 2.3
-Received: from mx.nfit.au.dk (unknown [10.19.8.20])
-	by mailglue.nfit.au.dk (Postfix) with ESMTP id 943DF60CBB
-	for <sandmann at cs.au.dk>; Mon, 25 Jun 2012 01:01:12 +0200 (CEST)
-Received: from SRVUNIHUB02.uni.au.dk (mail-out.au.dk [130.225.30.1])
-	by mx.nfit.au.dk (Postfix) with ESMTP id 56B0B600EF
-	for <sandmann at cs.au.dk>; Mon, 25 Jun 2012 01:01:11 +0200 (CEST)
-Received: from mail.nfit.au.dk (10.88.100.13) by SRVUNIHUB02.uni.au.dk
- (10.88.2.7) with Microsoft SMTP Server id 14.2.247.3; Mon, 25 Jun 2012
- 01:01:05 +0200
-Received: from mail.nfit.au.dk (localhost [127.0.0.1])	by mail.nfit.au.dk
- (Postfix) with ESMTP id 04B01E65B8	for <sandmann at cs.au.dk>; Mon, 25 Jun 2012
- 01:01:00 +0200 (CEST)
-Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177])
-	by mail.nfit.au.dk (Postfix) with ESMTP id 90B9EE65B4	for
- <sandmann at cs.au.dk>; Mon, 25 Jun 2012 01:00:59 +0200 (CEST)
-Received: from gabe.freedesktop.org (localhost [127.0.0.1])	by
- gabe.freedesktop.org (Postfix) with ESMTP id 088419E9BE	for
- <sandmann at cs.au.dk>; Sun, 24 Jun 2012 16:00:58 -0700 (PDT)
-X-Original-To: pixman at lists.freedesktop.org
-Delivered-To: pixman at lists.freedesktop.org
-Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com
-	[209.85.217.177])	by gabe.freedesktop.org (Postfix) with ESMTP id 85E479E908
-	for <pixman at lists.freedesktop.org>;	Sun, 24 Jun 2012 16:00:40 -0700 (PDT)
-Received: by lbbgg6 with SMTP id gg6so5817844lbb.36	for
- <pixman at lists.freedesktop.org>;	Sun, 24 Jun 2012 16:00:39 -0700 (PDT)
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
-	h=from:to:cc:subject:date:message-id:x-mailer;
-	bh=pmJIV+lOLQLRcPUDoyXv/RHcVEspSKUzBuJ1PWDSEIE=;
-	b=sQdaO0a+36tNvdHiJZ5U2jcY/JRzbq9ohETmzM6GM9xlqLgfth7q5uvjsZClvCMU4x
-	Fg51dQnmC+gqKZ0sqaskd050qeOIaj99sGhz1boXe6yzRMKLioyJqVnHpR3lqbzG+Zco
-	34CDEor++b+od3jgvpE+npoYKfvTm5Q1JjRH455tiZF0L6Oiq3WmiydkIl9MxNhvoGBx
-	6NOcvy6AJEhtUVUZIheAKtG2KR804ys0UmE6sIq/JAyzVyGbtCKwLmwVCAWaCplgfC4q
-	zB9FEA6D7pnixgWawU7DhpDwcMxNdwqWHt0nNeiJnWgPoOs52iZqo0VE6w7sp4yQxYCY
-	HTMA==
-Received: by 10.112.43.67 with SMTP id u3mr4880011lbl.16.1340578839434;	Sun,
- 24 Jun 2012 16:00:39 -0700 (PDT)
-Received: from localhost.localdomain (a88-114-220-213.elisa-laajakaista.fi.
-	[88.114.220.213])	by mx.google.com with ESMTPS id
- sy1sm67219900lab.13.2012.06.24.16.00.37	(version=TLSv1/SSLv3 cipher=OTHER);
-	Sun, 24 Jun 2012 16:00:38 -0700 (PDT)
+From 1488b4c4efcf51c212fb4d1553964e4bf52e6aa5 Mon Sep 17 00:00:00 2001
 From: Siarhei Siamashka <siarhei.siamashka at gmail.com>
-To: <pixman at lists.freedesktop.org>
 Date: Mon, 25 Jun 2012 02:00:27 +0300
-Message-ID: <1340578827-13115-1-git-send-email-siarhei.siamashka at gmail.com>
-X-Mailer: git-send-email 1.7.3.4
-Subject: [Pixman] [PATCH/RFC] Use OpenMP for bilinear scaled fast paths
-X-BeenThere: pixman at lists.freedesktop.org
-X-Mailman-Version: 2.1.13
-Precedence: list
-List-Id: Mailing list for the Pixman rendering library
-	<pixman.lists.freedesktop.org>
-List-Unsubscribe: <http://lists.freedesktop.org/mailman/options/pixman>,
-	<mailto:pixman-request at lists.freedesktop.org?subject=unsubscribe>
-List-Archive: <http://lists.freedesktop.org/archives/pixman>
-List-Post: <mailto:pixman at lists.freedesktop.org>
-List-Help: <mailto:pixman-request at lists.freedesktop.org?subject=help>
-List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/pixman>,
-	<mailto:pixman-request at lists.freedesktop.org?subject=subscribe>
-MIME-Version: 1.0
-Content-Type: text/plain; charset="us-ascii"
-Content-Transfer-Encoding: 7bit
-Sender: <pixman-bounces+sandmann=cs.au.dk at lists.freedesktop.org>
-Errors-To: pixman-bounces+sandmann=cs.au.dk at lists.freedesktop.org
-X-NFIT-ADSL: 0
-X-NFIT-RelayAddr: 130.225.30.1
-X-NFIT-MX: True
-X-Scanned-By: MIMEDefang 2.71
-X-Sim: 599c88352253612c4640bd38f9828f0997e200d86aa62eed35b782023877e08c 3124
-X-NFIT-Solido-Score: 3.
-X-NilSimsa-Score: 65/275
-X-Scanned-By: MIMEDefang 2.71
-X-Scanned-By: MIMEDefang 2.71 on 10.19.8.20
-X-Scanned-By: MIMEDefang 2.71 on 10.19.8.21
+Subject: [PATCH] Use OpenMP for bilinear scaled fast paths
 
 Does it actually make sense? I remember somebody was strongly opposing
 the idea of spawning threads in pixman in the past, but can't find
@@ -111,11 +36,24 @@ export OMP_NUM_THREADS=4
 
 [  0]     xlib             firefox-fishtank   34.135   34.156   0.23%    3/3
 [  0]       gl             firefox-fishtank    5.671    5.755   0.89%    3/3
-
 ---
+ pixman/Makefile.am      |    2 +-
  pixman/pixman-inlines.h |   24 +++++++++++++++---------
- 1 files changed, 15 insertions(+), 9 deletions(-)
+ 2 files changed, 16 insertions(+), 10 deletions(-)
 
+diff --git a/pixman/Makefile.am b/pixman/Makefile.am
+index 1b232ad..d098169 100644
+--- a/pixman/Makefile.am
++++ b/pixman/Makefile.am
+@@ -52,7 +52,7 @@ if USE_SSE2
+ noinst_LTLIBRARIES += libpixman-sse2.la
+ libpixman_sse2_la_SOURCES = \
+ 	pixman-sse2.c
+-libpixman_sse2_la_CFLAGS = $(DEP_CFLAGS) $(SSE2_CFLAGS)
++libpixman_sse2_la_CFLAGS = $(DEP_CFLAGS) $(SSE2_CFLAGS) $(OPENMP_CFLAGS)
+ libpixman_sse2_la_LIBADD = $(DEP_LIBS)
+ libpixman_1_la_LDFLAGS += $(SSE2_LDFLAGS)
+ libpixman_1_la_LIBADD += libpixman-sse2.la
 diff --git a/pixman/pixman-inlines.h b/pixman/pixman-inlines.h
 index 3532867..7ba0d09 100644
 --- a/pixman/pixman-inlines.h
@@ -180,10 +118,5 @@ index 3532867..7ba0d09 100644
  	{											\
  	    src_type_t *src1, *src2;								\
 -- 
-1.7.3.4
-
-_______________________________________________
-Pixman mailing list
-Pixman at lists.freedesktop.org
-http://lists.freedesktop.org/mailman/listinfo/pixman
+1.7.4
 
diff --git a/pixman.spec b/pixman.spec
index 3f2f7bd..d35553e 100644
--- a/pixman.spec
+++ b/pixman.spec
@@ -3,7 +3,7 @@
 
 Name:           pixman
 Version:        0.26.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Pixel manipulation library
 
 Group:          System Environment/Libraries
@@ -63,6 +63,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 %{_libdir}/pkgconfig/pixman-1.pc
 
 %changelog
+* Tue Jun 26 2012 Soren Sandmann <ssp at redhat.com> - 0.26.0-3
+- Add -fopenmp to pixman-sse2.c CFLAGS
+
 * Tue Jun 26 2012 Soren Sandmann <ssp at redhat.com> - 0.26.0-2
 - Add experimental patch to use OpenMP
   If this causes your X server to misbehave, please file bugs.


More information about the scm-commits mailing list