[PD-dev] gcc 4.1 and auto-vectorization
Tim Blechmann
tim at klingt.org
Fri Nov 17 23:25:24 CET 2006
On Fri, 2006-11-17 at 09:10 -0500, Hans-Christoph Steiner wrote:
> On Nov 17, 2006, at 7:01 AM, Tim Blechmann wrote:
>
> > On Thu, 2006-11-16 at 16:28 -0500, Hans-Christoph Steiner wrote:
> >> Debian/testing now uses gcc 4.1 as its default compiler. I just
> >> noticed when doing the apt-get upgrades. Has anyone tried the auto-
> >> vectorization stuff? Is it worthwhile with Pd?
> >
> > you might want to check the archives:
> > http://lists.puredata.info/pipermail/pd-dev/2006-08/007324.html
> >
> > to explain the terms 'alignment' and 'aliasing':
> >
> > alignment:
> > audio blocks are not known to be aligned to 16byte boundaries
> >
> > aliasing:
> > for functions in the form foo(t_sample * a, t_sample * b, int n), the
> > compiler is unable to know if the memory regions of a and b are
> > overlapping (b may be a+1)
>
> Right, I remember that, I was meaning more has anyone tried any
> benchmarks.
i must admit, but i'm a bit confused ...
how can an auto-vectorizer, that's known not to have any effect for a
piece of code improve it's performance?
tim
--
tim at klingt.org ICQ: 96771783
http://www.mokabar.tk
Beware of bugs in the above code; I have only proved it correct, not tried it.
Donald Knuth
-------------- 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/20061117/258da38d/attachment.pgp>
More information about the Pd-dev
mailing list