Add SIMD prerequisites (#469)

This commit is contained in:
Daniel Wirtz
2019-02-07 15:26:26 +01:00
committed by GitHub
parent 7ce3296b5e
commit 2f1a6c44ce
201 changed files with 1485 additions and 1432 deletions

3
std/assembly/vector.ts Normal file
View File

@ -0,0 +1,3 @@
@sealed
export abstract class V128 {
}

View File

@ -10,6 +10,8 @@ globalScope.ASC_OPTIMIZE_LEVEL = 3;
globalScope.ASC_SHRINK_LEVEL = 0;
globalScope.ASC_FEATURE_MUTABLE_GLOBAL = false;
globalScope.ASC_FEATURE_SIGN_EXTENSION = false;
globalScope.ASC_FEATURE_BULK_MEMORY = false;
globalScope.ASC_FEATURE_SIMD = false;
var F64 = new Float64Array(1);
var U64 = new Uint32Array(F64.buffer);