[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freepooma-devel] [PATCH] Optimize Vector arithmetic
From: |
Richard Guenther |
Subject: |
Re: [Freepooma-devel] [PATCH] Optimize Vector arithmetic |
Date: |
Wed, 24 Nov 2004 14:41:07 +0100 (CET) |
On Wed, 24 Nov 2004, Richard Guenther wrote:
> On Wed, 24 Nov 2004, Richard Guenther wrote:
>
> > On Tue, 23 Nov 2004, Richard Guenther wrote:
> >
> > > Hi!
> > >
> > > Due to some oversight(??), Vector arithmetic is severely pessimized by
> > > explicit creation of temporary Vectors. The attached patch "fixes" that
> > > by removing the casts to Vector<...,Full> from the VectorOperators.
> > > This tests ok, it even generates the same code as handwritten loops, but
> > > there has to be a reason the code was like it was?
> > >
> > > So, please test this on your favorite Vector-using code. And report
> > > breakage and/or performance.
>
> Here's an updated patch with fixed what can be easily fixed.
Patch? Which patch ... Doh!
Attached.
Richard.
--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
p
Description: Text document