[PPL-devel] [Fwd: Re: patch for merging graphite branch (before tuplification)]

Roberto Bagnara bagnara at cs.unipr.it
Sun Aug 3 08:02:29 CEST 2008



-------- Original Message --------
Subject: Re: patch for merging graphite branch (before tuplification)
Date: Sat, 2 Aug 2008 19:26:18 -0500
From: Sebastian Pop <sebpop at gmail.com>
To: Richard Guenther <richard.guenther at gmail.com>
CC: GCC Patches <gcc-patches at gcc.gnu.org>,        Mark Mitchell <mark at codesourcery.com>,        Jakub Jelinek <jakub at redhat.com>,        David Edelsohn <edelsohn at gmail.com>,        Harle, Christophe <christophe.harle at amd.com>,        Tobias Grosser <grosser at fim.uni-passau.de>,        Konrad Trifunovic <konrad.trifunovic at gmail.com>,        Albert Cohen <Albert.Cohen at inria.fr>,        Roberto Bagnara <bagnara at cs.unipr.it>
References: <cb9d34b20807251914jb7fb76q4452be18461d7464 at mail.gmail.com>	 <84fc9c000807260228h12552595x17b2a7556d35913b at mail.gmail.com>

Hi,

The graphite branch has been tuplified and the port to PPL passes the
graphite testsuite.  For building the graphite branch right now, here
are the steps you'll have to go through:

You have to get a copy of the release 0.9 of PPL from:
http://www.cs.unipr.it/ppl/Download/

cd ppl
./configure --prefix=/somewhere
make
make install

Then you can get a copy of the port of Cloog to PPL as follows:

cd cloog
git-init
git-pull http://repo.or.cz/w/cloog-ppl.git
aclocal
autoconf
./configure --with-ppl=/somewhere --prefix=/somewhere
make
make install

Then grab a version of graphite branch and configure like this:

cd gcc/build
../configure --with-cloog=/somewhere --with-ppl=/somewhere
make

For the moment I think that building the cloog and ppl libs in the gcc
directory is broken.  I have not been able to configure ppl within the
build of gcc because ieeefp.h has not been found on my ubuntu system.
I will try to see how that can be fixed, or better, not provide this
functionality and expect all the time the cloog and ppl libs to be
installed on the system.

Note that ppl and polylib are two backends of cloog, and one has the
choice of the polyhedral library to be used.  For the moment the code
generated by the ppl backend contains much more conditions that are
redundant with respect to the enclosing loops because of the
cloog_domain_simplify operation that is still very inefficient in the
ppl backend.  This should be improved either in newer versions of PPL.

Sebastian Pop
--
AMD - GNU Tools


-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the PPL-devel mailing list