[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: gcc autovectorize
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2006-12-11 21:09:47
Message-ID: 200612112209.50188.boud () valdyas ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 11 December 2006 17:01, Tom Burdick wrote:
> I thought it worthy of mentioning, that in all of the newest GCC's (4.x and
> higher) there is an autovectorizing option. I've been using this in a
> project of my own and its made certain loops significantly faster. I'd
> suggest possibly trying krita with the flags this way to see what gcc
> vectorizes or not. Notably, it will automatically take a loop like
>
> for(int i = 0; i < 64; i++) {
> 	a[i]  = b[i]*c[i];
> }
>
> and instead use whatever simd instructions you have to eliminate a good
> number of iterations.
>
> If you've already tried this out, or are already using the simd
> instructions disregard!

That's a good point, we don't do this. What do we need to do to enable it?

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic