Inline DOT_PRODUCT revisited

Steven Bosscher stevenb.gcc@gmail.com
Sun Feb 26 00:39:00 GMT 2006


On Saturday 25 February 2006 23:47, Steven Bosscher wrote:
> On Saturday 25 February 2006 23:37, Steven Bosscher wrote:
> > I would _very_ much like to have this patch in GCC 4.1.1
>
> ...the motivation being, of course, that the almost industry-standard
> Fortran benchmark (Polyhedron) benefits from this patch tremendeously,

...like so:

Before patch:
induct Run #   1   281.69211   281.69211 - Error=100.0000%

After patch:
induct Run #   1    45.12120    45.12120 - Error=100.0000%

I had hoped that the reduction support in the vectorizer would help
improve things further, but unfortunately with vectorization enabled
and the patch applied, we are slower (at least, on my AMD64 box) than
with vectorization disabled:
induct Run #   1    54.64700    54.64700 - Error=100.0000%

Gr.
Steven




More information about the Gcc-patches mailing list