On 3 April 2016 at 16:14, 9il via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > 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 > > > Hello Martin, > > Is it possible to introduce compile time information about target platform? > I am working on BLAS from scratch implementation. And it is no hope to > create something useable without CT information about target. > > Best regards, > Ilya
My SIMD implementation has been blocked on that for years too. I need to know the SIMD level flags passed to the compiler at least, and DMD needs to introduce the concept.