diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-18 12:59:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-18 13:00:50 -0700 |
commit | 4cdc5fea95821751396b8a8bc350bf6b1eaf01d4 (patch) | |
tree | bfae7f78c9cca304dd4610307b0ef55488b382a8 /src/jsifier.js | |
parent | d32d18af61f4b9f83036d5573cad747607023bf7 (diff) |
integrate the SIMD polyfill code
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 6dc7058c..70139d89 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1858,6 +1858,9 @@ function JSify(data, functionsOnly, givenFunctions) { print('// Warning: printing of i64 values may be slightly rounded! No deep i64 math used, so precise i64 code not included'); print('var i64Math = null;'); } + if (Types.usesSIMD) { + print(read('simd.js')); + } if (CORRUPTION_CHECK) { assert(!ASM_JS, 'corruption checker is not compatible with asm.js'); |