simd
ES7 (proposed) SIMD numeric type shim/polyfill
128-bit SIMD numeric value type ECMAScript straw man proposal.
Source:
Nearly every word of this README and line of code and tests are taken directly from ecmascript_simd.
The purpose of this is to make it a require-able module, that does not automatically modify the global environment, for use in the es7-shim.
Requirements
The SIMD polyfill requires Typed Arrays to be present in the engine. A Typed Array polyfill can be found here - source is from here.
Usage:
var SIMD = ;var a = SIMD;var b = SIMD;var c = SIMDfloat32x4;assert;
To install the shim in the global environment:
var simd = ;simd;assert;