Skip to content

Commit

Permalink
Emscripten localmod for Ecmascript SIMD.js polyfill: add functions Fl…
Browse files Browse the repository at this point in the history
…oat64x2.load1 and Float64x2.store1, which look reasonable to have. See tc39/ecmascript_simd#316.
  • Loading branch information
juj committed Feb 3, 2016
1 parent 912e334 commit db49856
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ecmascript_simd.js
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,11 @@ if (typeof simdPhase2 !== 'undefined') {
"load", "store"],
}

// XXX Emscripten: Need these functions for intrinsics, see https://github.com/tc39/ecmascript_simd/issues/316.
float64x2.fns.push("load1");
float64x2.fns.push("store1");
// XXX Emscripten

var bool64x2 = {
name: "Bool64x2",
fn: SIMD.Bool64x2,
Expand Down

0 comments on commit db49856

Please sign in to comment.