Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #2533

Re: To Melzzzzz

From Melzzzzz <mel@zzzzz.com>
Newsgroups comp.programming, comp.programming.threads
Subject Re: To Melzzzzz
Date 2014-06-29 16:39 +0200
Organization albasani.net
Message-ID <lop8fk$9ui$3@news.albasani.net> (permalink)
References <longtm$bkp$1@dont-email.me> <lonsia$ea2$1@solani.org> <lop839$ute$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, 29 Jun 2014 10:33:41 -0700
Ramine <ramine@1.1> wrote:

> On 6/28/2014 7:10 PM, Melzzzzz wrote:
> > On Sat, 28 Jun 2014 15:51:59 -0700
> > Ramine <ramine@1.1> wrote:
> >
> >>
> >> Hello,
> >>
> >> I have looked at your matrix multiplication using
> >> SSE2 and AVX that you have posted on assembler.x86 forum,
> >> i just wanted to tell you that you don't need to write
> >> it in assembler, cause GCC do auto-vectorize the floating
> >> point calculation and it auto-vectorize also the Matrix
> >> multiplication even at -O1 optimization...
> >
> > as I see it it don't....
> >
> 
> 
> I am using the newest version of tdm-gcc and auto-vectorization is 
> working even at -O1 level optimization.
> 
> 
> You can download tdb-gcc from here and try it yourself:
> 
> http://tdm-gcc.tdragon.net/

That is based on gcc 4.8.1 , Im using 4.9 and trunk versions
and there is no vectorization of matrix multiplication
(even for 4x4 matrices).
Care to show compiler output of assembly and c source code
so I can see what I am missing?

> 
> 
> 
> 
> Thank you,
> Amine Moulay Ramdane.
> 
> 
> 
> 
> 
> 
> 
> >
> >   and GCC do
> >> auto-vectorize beautifully since the GCC auto-vectorization
> >> have  given a good results on scimark2 benchmark too.
> >
> > Care to share example?
> >
> >>
> >>
> >> Thank you,
> >> Amine Moulay Ramdane.
> >>
> >>
> >>
> >>
> >
> >
> >
> 



-- 
Click OK to continue...

Back to comp.programming.threads | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

To Melzzzzz Ramine <ramine@1.1> - 2014-06-28 15:51 -0700
  Re: To Melzzzzz Melzzzzz <mel@zzzzz.invalid> - 2014-06-29 04:10 +0200
    Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 10:33 -0700
      Re: To Melzzzzz Melzzzzz <mel@zzzzz.com> - 2014-06-29 16:39 +0200
        Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 10:47 -0700
          Re: To Melzzzzz Melzzzzz <mel@zzzzz.com> - 2014-06-29 17:00 +0200
            Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 11:14 -0700
              Re: To Melzzzzz Melzzzzz <mel@zzzzz.com> - 2014-06-29 17:20 +0200
              Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 11:23 -0700
                Re: To Melzzzzz Melzzzzz <mel@zzzzz.com> - 2014-06-29 17:31 +0200
                Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 11:32 -0700
                Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 11:38 -0700
    Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 10:41 -0700
      Re: To Melzzzzz Melzzzzz <mel@zzzzz.invalid> - 2014-06-29 16:46 +0200
        Re: To Melzzzzz Ramine <ramine@1.1> - 2014-06-29 10:54 -0700

csiph-web