AFAIK there is a boost::simd project. If we really want SIMD classes, we might try to help them to get to mainline.
Right
now I try to catch up with Michael using gcc SIMD vectors. (His code is
still 10% faster ...) This should work on gcc, icc, and clang. I
think that is general enough for most people's needs.
Anyway, we need a fallback path for non-builtin types, and that could be used for compilers not supporting gcc vectors.
Cheers,
Imre
On Sunday, 24 January 2016, 1:36, Joaquim Duran Comas <jdurancomas@gmail.com> wrote:
Hello,
It has been a great job.
The micro-kernel implementation of AVX has been implemented in assembler. Think that mscv, clang and g++ exposes SSE*, AVX, NEON and other SIMD to C language. So it should be possible to rewrite the asm code to C.
Also, basic SIMD classes could be created SIMD<char>, SIMD<float>.... to call the proper functions to implement the operations.
Joaquim Duran