From 563dacd648ed87f51a700a9c9a7dd7c3004053dc Mon Sep 17 00:00:00 2001 From: est31 Date: Fri, 22 Jun 2018 02:02:51 +0200 Subject: [PATCH 1/2] Update stdsimd --- src/stdsimd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdsimd b/src/stdsimd index a19ca1cd91cf9..886ff388fbbe8 160000 --- a/src/stdsimd +++ b/src/stdsimd @@ -1 +1 @@ -Subproject commit a19ca1cd91cf97777af8268a6136bd2e4648e189 +Subproject commit 886ff388fbbe8798e292431d824a5ff3c3458f4d From 56e46255b39058725d25e74200e03c0c70a0d0d3 Mon Sep 17 00:00:00 2001 From: est31 Date: Mon, 2 Jul 2018 11:55:52 +0200 Subject: [PATCH 2/2] Add some more additional functions to the shim They are all needed now due to the stdsimd update. --- src/etc/wasm32-shim.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/etc/wasm32-shim.js b/src/etc/wasm32-shim.js index 98d6202a63fbf..378aae5973316 100644 --- a/src/etc/wasm32-shim.js +++ b/src/etc/wasm32-shim.js @@ -107,6 +107,10 @@ imports.env = { exp2f: function(x) { return Math.pow(2, x); }, ldexp: function(x, y) { return x * Math.pow(2, y); }, ldexpf: function(x, y) { return x * Math.pow(2, y); }, + sin: Math.sin, + sinf: Math.sin, + cos: Math.cos, + cosf: Math.cos, log: Math.log, log2: Math.log2, log10: Math.log10,