Any usable SIMD implementation?
Etienne via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 12 12:21:12 PDT 2016
On Thursday, 31 March 2016 at 08:23:45 UTC, Martin Nowak wrote:
> I'm currently working on a templated arrayop implementation
> (using RPN
> to encode ASTs).
> So far things worked out great, but now I got stuck b/c
> apparently none
> of the D compilers has a working SIMD implementation (maybe GDC
> has but
> it's very difficult to work w/ the 2.066 frontend).
>
> https://github.com/MartinNowak/druntime/blob/arrayOps/src/core/internal/arrayop.d https://github.com/MartinNowak/dmd/blob/arrayOps/src/arrayop.d
>
> I don't want to do anything fancy, just unaligned loads,
> stores, and integral mul/div. Is this really the current state
> of SIMD or am I missing sth.?
>
> -Martin
Not sure if it's been mentioned, but I've made a best effort to
implement GCC's in here:
https://github.com/etcimon/botan/tree/master/source/botan/utils/simd
More information about the Digitalmars-d
mailing list