www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.simd vision

I'm thinking of implementation std.simd in fashion different to
since it looks dead and too sophisticated.

My proposal is:
     - std.simd - processor independent intrinsics and some high 
level stuff.
       You only depend on different sizes of SIMD vector.
         - std.simd.x86 - provides unified (compiler independent) 
x86/x86_64 intrinsic
           call. Each SIMD version (sse, sse2, ...) has its own 
namespace(struct) with
           intrinsic wrappers. Each wrapper is straightforward.
         - std.simd.arm - provides unified arm-based SIMD.

At the end of the file
is a long unittest with sse2 memchar implementation.
Jan 23 2016