Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-07-12 Thread bearophile
Manu: This is interesting. I didn't know about this. I have taken a look at this page: https://github.com/ispc/ispc There is a free compiler binary for various operating systems: http://ispc.github.io/downloads.html I have tried the Windows compiler on some of the given examples of code, an

Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-24 Thread Andrei Alexandrescu
On 6/19/13 12:25 PM, Andrei Alexandrescu wrote: Apologies for the delay, we're moving and things are a bit hectic. reddit: http://www.reddit.com/r/programming/comments/1go9ky/dconf_2013_effective_simd_for_modern/ twitter: https://twitter.com/D_Programming/status/347433981928693760 hackernews:

Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-23 Thread bearophile
Manu: This is interesting. I didn't know about this. An important thing here is: what's the semantics present in that language that is missing in D (and that is useful for the optimizer)? Is it possible/worth to add it? Bye, bearophile

Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-21 Thread Andrei Alexandrescu
On 6/21/13 12:38 AM, Nick Sabalausky wrote: On Wed, 19 Jun 2013 15:25:29 -0400 Andrei Alexandrescu wrote: reddit: http://www.reddit.com/r/programming/comments/1go9ky/dconf_2013_effective_simd_for_modern/ A bit late, but torrents/links up: http://semitwist.com/download/misc/dconf2013/ Than

Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-20 Thread Nick Sabalausky
On Wed, 19 Jun 2013 15:25:29 -0400 Andrei Alexandrescu wrote: > > reddit: > http://www.reddit.com/r/programming/comments/1go9ky/dconf_2013_effective_simd_for_modern/ > A bit late, but torrents/links up: http://semitwist.com/download/misc/dconf2013/

Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-20 Thread Manu
On 21 June 2013 00:03, bearophile wrote: > Manu: > > > They must be aligned, and multiples of N elements. >> > > The D GC currently allocates them 16-bytes aligned (but if you slice the > array you can lose some alignment). On some new CPUs the penalty for > misalignment is small. > Yes, the GC

Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-20 Thread Sönke Ludwig
Am 20.06.2013 13:58, schrieb bearophile: > > The Reddit thread contains a link to this page, a compiler for a C > variant from Intel that's optimized for SIMD: > http://ispc.github.io/ > Since you mention that, I developed a similar compiler/language in parallel to Intel at the time. The main di

Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-20 Thread bearophile
Manu: They must be aligned, and multiples of N elements. The D GC currently allocates them 16-bytes aligned (but if you slice the array you can lose some alignment). On some new CPUs the penalty for misalignment is small. You often have "n" values, where n is variable. If n is large enoug

Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-20 Thread Manu
On 20 June 2013 21:58, bearophile wrote: > Andrei Alexandrescu: > > > http://youtube.com/watch?v=q_**39RnxtkgM >> > > Very nice. > > - - - - - - - - - - - - - - - - - - - > > Slide 3: > > In practise, say we have iterative code like this: >> >> int data[

Re: DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-20 Thread bearophile
Andrei Alexandrescu: http://youtube.com/watch?v=q_39RnxtkgM Very nice. - - - - - - - - - - - - - - - - - - - Slide 3: In practise, say we have iterative code like this: int data[100]; for(int i = 0; i < data.length; ++i) { data[i] += 10; } For code like that in D we have vector ops:

DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-19 Thread Andrei Alexandrescu
Apologies for the delay, we're moving and things are a bit hectic. reddit: http://www.reddit.com/r/programming/comments/1go9ky/dconf_2013_effective_simd_for_modern/ twitter: https://twitter.com/D_Programming/status/347433981928693760 hackernews: https://news.ycombinator.com/item?id=5907624 f