[PD-dev] gcc 4.1 and auto-vectorization
Tim Blechmann
tim at klingt.org
Sun Nov 19 09:39:46 CET 2006
On Sat, 2006-11-18 at 23:00 -0500, Hans-Christoph Steiner wrote:
> On Nov 18, 2006, at 8:07 PM, Thomas Grill wrote:
>
> >
> > Am 18.11.2006 um 22:16 schrieb Mathieu Bouchard:
> >
> >> On Sat, 18 Nov 2006, Hans-Christoph Steiner wrote:
> >>
> >>> I really doubt that the gcc devs put a lot of effort into
> >>> something that has no effect. Perhaps not for Pd, that may be
> >>> true. But they are talking about vectorizing loops, it may not
> >>> be the best thing to vectorize, but there are definitely
> >>> vectorizable loops in Pd.
> >>
> >> perhaps it would be a good start to reimplement newbytes(n) using
> >> memalign(16,n) instead of malloc(n).
> >
> > A few years ago i introduced aligned memory allocation in the pd-
> > devel branch.
>
> Have you tried submitting a patch? It would be at least useful in Pd-
> extended. How big a difference did it make?
what makes you think, that just aligning memory regions introduces a
performance boost?
how can a compiler generate code for aligned memory, if the memory is
aligned, but the compiler isn't aware of that?
tim
--
tim at klingt.org ICQ: 96771783
http://www.mokabar.tk
Relying on the government to protect your privacy is like asking a
peeping tom to install your window blinds.
John Perry Barlow
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20061119/93a16486/attachment.pgp>
More information about the Pd-dev
mailing list