diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-18 10:24:03 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-18 13:00:49 -0700 |
commit | 95ddf96031ac23da02cf2f3fd6ea33558c0dc70f (patch) | |
tree | 0a0f07b629fd70939de199f1dc6af0a2abf7e3aa /src | |
parent | b085d4ce9b5fd880b6ea7306104baaf37dca4f20 (diff) |
simd fix
Diffstat (limited to 'src')
-rw-r--r-- | src/jsifier.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index c18b4f59..ce3a8eb4 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1363,7 +1363,8 @@ function JSify(data, functionsOnly, givenFunctions) { function insertelementHandler(item) { var base = getVectorBaseType(item.type); var ident = ensureVector(item.ident, base); - return ident + '.with' + SIMDLane[finalizeLLVMParameter(item.index)] + '(' + finalizeLLVMParameter(item.value) + ')'; + //return ident + '.with' + SIMDLane[finalizeLLVMParameter(item.index)] + '(' + finalizeLLVMParameter(item.value) + ')'; + return 'SIMD.with' + SIMDLane[finalizeLLVMParameter(item.index)] + '(' + ident + ',' + finalizeLLVMParameter(item.value) + ')'; } function shufflevectorHandler(item) { var base = getVectorBaseType(item.type); |