tc39 / ecmascript_simd

SIMD numeric type for EcmaScript
Other
544 stars 64 forks source link

Add phase2 types behind a runtime flag. #273

Closed billbudge closed 9 years ago

billbudge commented 9 years ago

var simdPhase2 = true; // define and test SIMD Phase2 types.

Moves definitions around in polyfill so all phase2 definitions are in one 'if'. Adds float64x2 and bool64x2 types and functions.

ljharb commented 9 years ago

Ooh, can we also add an additional runtime flag to enable/disable the unshimmable parts, like typeof and ==?

littledan commented 9 years ago

@ljharb the tests already have such a flag for ==.