mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 15:12:12 +00:00
Update Binaryen to latest nightly
This commit is contained in:
parent
c835b5fb40
commit
cdec865bef
6
package-lock.json
generated
6
package-lock.json
generated
@ -567,9 +567,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"binaryen": {
|
||||
"version": "71.0.0-nightly.20190305",
|
||||
"resolved": "https://registry.npmjs.org/binaryen/-/binaryen-71.0.0-nightly.20190305.tgz",
|
||||
"integrity": "sha512-I9APly0/Cih0voj/94FU15RJIY32spsqP95kjRdMcBrr3wk24GeSrjeiFEZB6TVNPvh8AiF7rdzlRhiQMBmkzg=="
|
||||
"version": "72.0.0-nightly.20190308",
|
||||
"resolved": "https://registry.npmjs.org/binaryen/-/binaryen-72.0.0-nightly.20190308.tgz",
|
||||
"integrity": "sha512-aUa9Hc3rfvG/9GwUQBuxx1ApBZIOLSEv81nBgQ5ldq+yANenHO7Ml7m3bUrBbDLhIPX2+a26jei4+lLd7CGlJA=="
|
||||
},
|
||||
"bluebird": {
|
||||
"version": "3.5.3",
|
||||
|
@ -12,7 +12,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@protobufjs/utf8": "^1.1.0",
|
||||
"binaryen": "71.0.0-nightly.20190305",
|
||||
"binaryen": "72.0.0-nightly.20190308",
|
||||
"glob": "^7.1.3",
|
||||
"long": "^4.0.0",
|
||||
"opencollective-postinstall": "^2.0.0",
|
||||
|
@ -52,9 +52,10 @@ if (args.help) {
|
||||
const features = process.env.ASC_FEATURES ? process.env.ASC_FEATURES.split(",") : [];
|
||||
const featuresConfig = require("./features.json");
|
||||
|
||||
var successes = 0;
|
||||
var failedTests = [];
|
||||
var failedInstantiates = new Map();
|
||||
var failedMessages = new Map();
|
||||
var skippedTests = [];
|
||||
var skippedMessages = new Map();
|
||||
|
||||
const basedir = path.join(__dirname, "compiler");
|
||||
|
||||
@ -123,6 +124,8 @@ tests.forEach(filename => {
|
||||
});
|
||||
if (missing_features.length) {
|
||||
console.log("- " + colorsUtil.yellow("feature SKIPPED") + " (" + missing_features.join(", ") + ")\n");
|
||||
skippedTests.push(basename);
|
||||
skippedMessages.set(basename, "feature not enabled");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -167,7 +170,6 @@ tests.forEach(filename => {
|
||||
}
|
||||
}
|
||||
console.log("- " + colorsUtil.green("error check OK"));
|
||||
++successes;
|
||||
console.log();
|
||||
return;
|
||||
}
|
||||
@ -300,23 +302,33 @@ tests.forEach(filename => {
|
||||
} catch (e) {
|
||||
console.log("- " + colorsUtil.red("instantiate ERROR: ") + e.stack);
|
||||
failed = true;
|
||||
failedInstantiates.set(basename, e.message);
|
||||
failedMessages.set(basename, e.message);
|
||||
}
|
||||
|
||||
if (failed) failedTests.push(basename);
|
||||
else ++successes;
|
||||
console.log();
|
||||
});
|
||||
});
|
||||
if (v8_no_flags) v8.setFlagsFromString(v8_no_flags);
|
||||
});
|
||||
|
||||
if (failedTests.length) {
|
||||
process.exitCode = 1;
|
||||
console.log(colorsUtil.red("ERROR: ") + colorsUtil.white(failedTests.length + " compiler tests failed:"));
|
||||
failedTests.forEach(name => {
|
||||
var message = failedInstantiates.has(name) ? colorsUtil.gray("[" + failedInstantiates.get(name) + "]") : "";
|
||||
if (skippedTests.length) {
|
||||
console.log(colorsUtil.yellow("WARNING: ") + colorsUtil.white(skippedTests.length + " compiler tests have been skipped:\n"));
|
||||
skippedTests.forEach(name => {
|
||||
var message = skippedMessages.has(name) ? colorsUtil.gray("[" + skippedMessages.get(name) + "]") : "";
|
||||
console.log(" " + name + " " + message);
|
||||
});
|
||||
} else
|
||||
console.log("[ " + colorsUtil.white("SUCCESS") + " ]");
|
||||
console.log();
|
||||
}
|
||||
if (failedTests.length) {
|
||||
process.exitCode = 1;
|
||||
console.log(colorsUtil.red("ERROR: ") + colorsUtil.white(failedTests.length + " compiler tests had failures:\n"));
|
||||
failedTests.forEach(name => {
|
||||
var message = failedMessages.has(name) ? colorsUtil.gray("[" + failedMessages.get(name) + "]") : "";
|
||||
console.log(" " + name + " " + message);
|
||||
});
|
||||
console.log();
|
||||
}
|
||||
if (!process.exitCode) {
|
||||
console.log("[ " + colorsUtil.white("OK") + " ]");
|
||||
}
|
||||
|
@ -190,14 +190,14 @@
|
||||
(local $1 f64)
|
||||
(local $2 i32)
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
(local $5 i64)
|
||||
(local $6 f64)
|
||||
(local $4 f64)
|
||||
(local $5 i32)
|
||||
(local $6 i64)
|
||||
(local $7 f64)
|
||||
(local $8 f64)
|
||||
local.get $0
|
||||
i64.reinterpret_f64
|
||||
local.tee $5
|
||||
local.tee $6
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
@ -214,7 +214,7 @@
|
||||
end
|
||||
local.get $3
|
||||
if
|
||||
local.get $5
|
||||
local.get $6
|
||||
i64.const 1
|
||||
i64.shl
|
||||
i64.const 0
|
||||
@ -239,12 +239,12 @@
|
||||
return
|
||||
end
|
||||
i32.const -54
|
||||
local.set $4
|
||||
local.set $5
|
||||
local.get $0
|
||||
f64.const 18014398509481984
|
||||
f64.mul
|
||||
i64.reinterpret_f64
|
||||
local.tee $5
|
||||
local.tee $6
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
@ -262,7 +262,7 @@
|
||||
i32.eq
|
||||
local.tee $3
|
||||
if
|
||||
local.get $5
|
||||
local.get $6
|
||||
i64.const 32
|
||||
i64.shl
|
||||
i64.const 0
|
||||
@ -284,10 +284,10 @@
|
||||
i32.shr_u
|
||||
i32.const 1023
|
||||
i32.sub
|
||||
local.get $4
|
||||
i32.add
|
||||
local.set $4
|
||||
local.get $5
|
||||
i32.add
|
||||
local.set $5
|
||||
local.get $6
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.get $2
|
||||
@ -307,8 +307,8 @@
|
||||
local.get $1
|
||||
f64.add
|
||||
f64.div
|
||||
local.tee $6
|
||||
local.get $6
|
||||
local.tee $4
|
||||
local.get $4
|
||||
f64.mul
|
||||
local.tee $7
|
||||
local.get $7
|
||||
@ -331,7 +331,7 @@
|
||||
f64.sub
|
||||
local.get $1
|
||||
f64.sub
|
||||
local.get $6
|
||||
local.get $4
|
||||
local.get $1
|
||||
local.get $7
|
||||
f64.const 0.6666666666666735
|
||||
@ -363,17 +363,8 @@
|
||||
f64.add
|
||||
f64.mul
|
||||
f64.add
|
||||
local.tee $0
|
||||
local.get $8
|
||||
f64.add
|
||||
f64.const 1.6751713164886512e-10
|
||||
f64.mul
|
||||
local.get $0
|
||||
f64.const 1.4426950407214463
|
||||
f64.mul
|
||||
f64.add
|
||||
local.set $6
|
||||
local.get $4
|
||||
local.set $4
|
||||
local.get $5
|
||||
f64.convert_i32_s
|
||||
local.tee $7
|
||||
local.get $8
|
||||
@ -382,7 +373,15 @@
|
||||
local.tee $1
|
||||
f64.add
|
||||
local.set $0
|
||||
local.get $6
|
||||
local.get $4
|
||||
local.get $8
|
||||
f64.add
|
||||
f64.const 1.6751713164886512e-10
|
||||
f64.mul
|
||||
local.get $4
|
||||
f64.const 1.4426950407214463
|
||||
f64.mul
|
||||
f64.add
|
||||
local.get $7
|
||||
local.get $0
|
||||
f64.sub
|
||||
@ -413,14 +412,14 @@
|
||||
f64.const 4
|
||||
local.get $2
|
||||
f64.convert_i32_u
|
||||
local.tee $4
|
||||
local.tee $6
|
||||
f64.mul
|
||||
f64.min
|
||||
f64.div
|
||||
local.set $9
|
||||
local.get $0
|
||||
f64.convert_i32_u
|
||||
local.get $4
|
||||
local.get $6
|
||||
f64.const 0.5
|
||||
f64.mul
|
||||
f64.sub
|
||||
@ -448,7 +447,7 @@
|
||||
f64.const 8
|
||||
local.get $6
|
||||
f64.min
|
||||
local.set $8
|
||||
local.set $14
|
||||
loop $repeat|0
|
||||
local.get $7
|
||||
local.get $1
|
||||
@ -471,7 +470,7 @@
|
||||
local.get $4
|
||||
local.get $4
|
||||
f64.mul
|
||||
local.tee $14
|
||||
local.tee $8
|
||||
local.get $5
|
||||
local.get $5
|
||||
f64.mul
|
||||
@ -489,7 +488,7 @@
|
||||
local.get $10
|
||||
f64.add
|
||||
local.set $5
|
||||
local.get $14
|
||||
local.get $8
|
||||
local.get $6
|
||||
f64.sub
|
||||
local.get $11
|
||||
@ -510,7 +509,7 @@
|
||||
loop $continue|2
|
||||
local.get $2
|
||||
f64.convert_i32_u
|
||||
local.get $8
|
||||
local.get $14
|
||||
f64.lt
|
||||
if
|
||||
local.get $4
|
||||
|
@ -418,49 +418,49 @@
|
||||
)
|
||||
(func $~lib/internal/number/genDigits (; 8 ;) (type $FUNCSIG$iijijij) (param $0 i32) (param $1 i64) (param $2 i32) (param $3 i64) (param $4 i32) (param $5 i64) (result i32)
|
||||
(local $6 i32)
|
||||
(local $7 i64)
|
||||
(local $7 i32)
|
||||
(local $8 i32)
|
||||
(local $9 i32)
|
||||
(local $9 i64)
|
||||
(local $10 i32)
|
||||
(local $11 i32)
|
||||
(local $12 i64)
|
||||
(local $11 i64)
|
||||
(local $12 i32)
|
||||
(local $13 i64)
|
||||
(local $14 i64)
|
||||
local.get $3
|
||||
local.get $1
|
||||
i64.sub
|
||||
local.set $12
|
||||
local.set $11
|
||||
i64.const 1
|
||||
i32.const 0
|
||||
local.get $4
|
||||
i32.sub
|
||||
local.tee $11
|
||||
local.tee $10
|
||||
i64.extend_i32_s
|
||||
local.tee $1
|
||||
i64.shl
|
||||
local.tee $13
|
||||
i64.shl
|
||||
local.tee $9
|
||||
i64.const 1
|
||||
i64.sub
|
||||
local.tee $14
|
||||
local.get $3
|
||||
i64.and
|
||||
local.set $7
|
||||
local.set $1
|
||||
local.get $3
|
||||
local.get $1
|
||||
local.get $13
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.tee $6
|
||||
call $~lib/internal/number/decimalCount32
|
||||
local.set $9
|
||||
local.set $8
|
||||
i32.const 2064
|
||||
i32.load
|
||||
local.set $10
|
||||
local.set $12
|
||||
loop $continue|0
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 0
|
||||
i32.gt_s
|
||||
if
|
||||
local.get $9
|
||||
local.get $8
|
||||
local.set $2
|
||||
block $break|1
|
||||
block $case10|1
|
||||
@ -473,7 +473,7 @@
|
||||
block $case3|1
|
||||
block $case2|1
|
||||
block $case1|1
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 10
|
||||
i32.ne
|
||||
if
|
||||
@ -582,14 +582,14 @@
|
||||
local.set $4
|
||||
end
|
||||
local.get $4
|
||||
local.get $8
|
||||
local.get $7
|
||||
i32.or
|
||||
if
|
||||
local.get $8
|
||||
local.get $7
|
||||
local.tee $2
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.set $8
|
||||
local.set $7
|
||||
local.get $2
|
||||
i32.const 1
|
||||
i32.shl
|
||||
@ -602,40 +602,43 @@
|
||||
i32.add
|
||||
i32.store16 offset=4
|
||||
end
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $9
|
||||
local.set $8
|
||||
local.get $6
|
||||
i64.extend_i32_u
|
||||
local.get $11
|
||||
local.get $10
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
local.get $7
|
||||
local.get $1
|
||||
i64.add
|
||||
local.tee $1
|
||||
local.tee $3
|
||||
local.get $5
|
||||
i64.le_u
|
||||
if
|
||||
global.get $~lib/internal/number/_K
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.add
|
||||
global.set $~lib/internal/number/_K
|
||||
local.get $5
|
||||
local.set $3
|
||||
local.get $9
|
||||
local.set $9
|
||||
local.get $3
|
||||
local.set $1
|
||||
local.get $8
|
||||
i32.const 2
|
||||
i32.shl
|
||||
local.get $10
|
||||
local.get $12
|
||||
i32.add
|
||||
i64.load32_u offset=8
|
||||
local.get $11
|
||||
local.get $10
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
local.set $7
|
||||
local.get $12
|
||||
local.set $3
|
||||
local.get $11
|
||||
local.set $5
|
||||
local.get $8
|
||||
local.get $7
|
||||
local.tee $6
|
||||
i32.const 1
|
||||
i32.sub
|
||||
i32.const 1
|
||||
@ -644,7 +647,7 @@
|
||||
i32.add
|
||||
local.tee $2
|
||||
i32.load16_u offset=4
|
||||
local.set $10
|
||||
local.set $7
|
||||
loop $continue|2
|
||||
block (result i32)
|
||||
local.get $1
|
||||
@ -652,10 +655,10 @@
|
||||
i64.lt_u
|
||||
local.tee $0
|
||||
if
|
||||
local.get $3
|
||||
local.get $9
|
||||
local.get $1
|
||||
i64.sub
|
||||
local.get $7
|
||||
local.get $3
|
||||
i64.ge_u
|
||||
local.set $0
|
||||
end
|
||||
@ -663,7 +666,7 @@
|
||||
end
|
||||
if (result i32)
|
||||
local.get $1
|
||||
local.get $7
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $5
|
||||
i64.lt_u
|
||||
@ -675,7 +678,7 @@
|
||||
local.get $1
|
||||
i64.sub
|
||||
local.get $1
|
||||
local.get $7
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $5
|
||||
i64.sub
|
||||
@ -685,21 +688,21 @@
|
||||
local.get $0
|
||||
end
|
||||
if
|
||||
local.get $10
|
||||
local.get $7
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $10
|
||||
local.set $7
|
||||
local.get $1
|
||||
local.get $7
|
||||
local.get $3
|
||||
i64.add
|
||||
local.set $1
|
||||
br $continue|2
|
||||
end
|
||||
end
|
||||
local.get $2
|
||||
local.get $10
|
||||
local.get $7
|
||||
i32.store16 offset=4
|
||||
local.get $8
|
||||
local.get $6
|
||||
return
|
||||
end
|
||||
br $continue|0
|
||||
@ -710,31 +713,31 @@
|
||||
i64.const 10
|
||||
i64.mul
|
||||
local.set $5
|
||||
local.get $7
|
||||
local.get $1
|
||||
i64.const 10
|
||||
i64.mul
|
||||
local.tee $7
|
||||
local.get $11
|
||||
local.tee $1
|
||||
local.get $10
|
||||
i64.extend_i32_s
|
||||
i64.shr_u
|
||||
local.tee $1
|
||||
local.get $8
|
||||
local.tee $3
|
||||
local.get $7
|
||||
i64.extend_i32_s
|
||||
i64.or
|
||||
i64.const 0
|
||||
i64.ne
|
||||
if
|
||||
local.get $8
|
||||
local.get $7
|
||||
local.tee $4
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.set $8
|
||||
local.set $7
|
||||
local.get $4
|
||||
i32.const 1
|
||||
i32.shl
|
||||
local.get $0
|
||||
i32.add
|
||||
local.get $1
|
||||
local.get $3
|
||||
i32.wrap_i64
|
||||
i32.const 65535
|
||||
i32.and
|
||||
@ -742,37 +745,38 @@
|
||||
i32.add
|
||||
i32.store16 offset=4
|
||||
end
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $9
|
||||
local.get $7
|
||||
local.set $8
|
||||
local.get $1
|
||||
local.get $14
|
||||
i64.and
|
||||
local.tee $7
|
||||
local.tee $1
|
||||
local.get $5
|
||||
i64.ge_u
|
||||
br_if $continue|3
|
||||
end
|
||||
global.get $~lib/internal/number/_K
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.add
|
||||
global.set $~lib/internal/number/_K
|
||||
local.get $13
|
||||
local.get $1
|
||||
local.set $3
|
||||
local.get $9
|
||||
local.set $1
|
||||
i32.const 0
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.sub
|
||||
i32.const 2
|
||||
i32.shl
|
||||
local.get $10
|
||||
local.get $12
|
||||
i32.add
|
||||
i64.load32_u offset=8
|
||||
local.get $12
|
||||
local.get $11
|
||||
i64.mul
|
||||
local.set $3
|
||||
local.get $8
|
||||
local.tee $10
|
||||
local.set $9
|
||||
local.get $7
|
||||
i32.const 1
|
||||
i32.sub
|
||||
i32.const 1
|
||||
@ -781,16 +785,16 @@
|
||||
i32.add
|
||||
local.tee $4
|
||||
i32.load16_u offset=4
|
||||
local.set $8
|
||||
local.set $6
|
||||
loop $continue|4
|
||||
block (result i32)
|
||||
local.get $7
|
||||
local.get $3
|
||||
local.get $9
|
||||
i64.lt_u
|
||||
local.tee $2
|
||||
if
|
||||
local.get $5
|
||||
local.get $7
|
||||
local.get $3
|
||||
i64.sub
|
||||
local.get $1
|
||||
i64.ge_u
|
||||
@ -800,21 +804,21 @@
|
||||
end
|
||||
if (result i32)
|
||||
local.get $1
|
||||
local.get $7
|
||||
i64.add
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $9
|
||||
i64.lt_u
|
||||
local.tee $2
|
||||
if (result i32)
|
||||
local.get $2
|
||||
else
|
||||
local.get $9
|
||||
local.get $3
|
||||
local.get $7
|
||||
i64.sub
|
||||
local.get $1
|
||||
local.get $7
|
||||
i64.add
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $9
|
||||
i64.sub
|
||||
i64.gt_u
|
||||
end
|
||||
@ -822,21 +826,21 @@
|
||||
local.get $2
|
||||
end
|
||||
if
|
||||
local.get $8
|
||||
local.get $6
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $8
|
||||
local.set $6
|
||||
local.get $1
|
||||
local.get $7
|
||||
local.get $3
|
||||
i64.add
|
||||
local.set $7
|
||||
local.set $3
|
||||
br $continue|4
|
||||
end
|
||||
end
|
||||
local.get $4
|
||||
local.get $8
|
||||
local.get $6
|
||||
i32.store16 offset=4
|
||||
local.get $10
|
||||
local.get $7
|
||||
)
|
||||
(func $~lib/internal/memory/memcpy (; 9 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
||||
(local $3 i32)
|
||||
@ -1936,7 +1940,6 @@
|
||||
(func $~lib/internal/number/prettify (; 11 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
local.get $2
|
||||
i32.eqz
|
||||
if
|
||||
@ -2115,7 +2118,7 @@
|
||||
local.tee $3
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
if
|
||||
i32.const 0
|
||||
local.get $3
|
||||
@ -2128,31 +2131,31 @@
|
||||
call $~lib/internal/number/decimalCount32
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $5
|
||||
local.tee $2
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
local.get $4
|
||||
i32.const 45
|
||||
i32.const 43
|
||||
local.get $2
|
||||
local.get $0
|
||||
select
|
||||
i32.store16 offset=4
|
||||
local.get $5
|
||||
local.get $2
|
||||
i32.const 2
|
||||
i32.add
|
||||
else
|
||||
local.get $0
|
||||
i32.const 4
|
||||
i32.add
|
||||
local.tee $4
|
||||
local.tee $2
|
||||
i32.const 4
|
||||
i32.add
|
||||
local.get $4
|
||||
local.get $2
|
||||
i32.const 2
|
||||
i32.add
|
||||
local.get $1
|
||||
i32.const 1
|
||||
i32.shl
|
||||
local.tee $5
|
||||
local.tee $2
|
||||
i32.const 2
|
||||
i32.sub
|
||||
call $~lib/internal/memory/memmove
|
||||
@ -2160,7 +2163,7 @@
|
||||
i32.const 46
|
||||
i32.store16 offset=6
|
||||
local.get $0
|
||||
local.get $5
|
||||
local.get $2
|
||||
i32.add
|
||||
local.tee $0
|
||||
i32.const 101
|
||||
@ -2176,7 +2179,7 @@
|
||||
local.tee $3
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
if
|
||||
i32.const 0
|
||||
local.get $3
|
||||
@ -2189,16 +2192,16 @@
|
||||
call $~lib/internal/number/decimalCount32
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $0
|
||||
local.tee $2
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
local.get $4
|
||||
i32.const 45
|
||||
i32.const 43
|
||||
local.get $2
|
||||
local.get $0
|
||||
select
|
||||
i32.store16 offset=4
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $2
|
||||
i32.add
|
||||
i32.const 2
|
||||
i32.add
|
||||
@ -2212,14 +2215,14 @@
|
||||
(local $2 i64)
|
||||
(local $3 i64)
|
||||
(local $4 i64)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
(local $7 i64)
|
||||
(local $5 i64)
|
||||
(local $6 i64)
|
||||
(local $7 i32)
|
||||
(local $8 i64)
|
||||
(local $9 i32)
|
||||
(local $10 f64)
|
||||
(local $11 i32)
|
||||
(local $12 i64)
|
||||
(local $12 i32)
|
||||
(local $13 i64)
|
||||
i64.const -9223372036854774784
|
||||
global.set $~lib/internal/number/_frc_plus
|
||||
@ -2239,8 +2242,8 @@
|
||||
f64.add
|
||||
local.tee $10
|
||||
i32.trunc_f64_s
|
||||
local.tee $5
|
||||
local.get $5
|
||||
local.tee $7
|
||||
local.get $7
|
||||
f64.convert_i32_s
|
||||
local.get $10
|
||||
f64.ne
|
||||
@ -2249,34 +2252,33 @@
|
||||
i32.shr_s
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $11
|
||||
local.tee $7
|
||||
i32.const 3
|
||||
i32.shl
|
||||
local.tee $5
|
||||
local.tee $11
|
||||
i32.sub
|
||||
global.set $~lib/internal/number/_K
|
||||
i32.const 1992
|
||||
i32.load
|
||||
local.set $6
|
||||
local.set $12
|
||||
i32.const 1728
|
||||
i32.load
|
||||
local.get $5
|
||||
local.get $11
|
||||
i32.add
|
||||
i64.load offset=8
|
||||
global.set $~lib/internal/number/_frc_pow
|
||||
local.get $11
|
||||
local.get $7
|
||||
i32.const 1
|
||||
i32.shl
|
||||
local.get $6
|
||||
local.get $12
|
||||
i32.add
|
||||
i32.load16_s offset=8
|
||||
global.set $~lib/internal/number/_exp_pow
|
||||
global.get $~lib/internal/number/_frc_pow
|
||||
local.tee $3
|
||||
local.tee $4
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $12
|
||||
local.tee $4
|
||||
local.tee $2
|
||||
i64.const 2147483648
|
||||
i64.mul
|
||||
i64.const 0
|
||||
@ -2290,10 +2292,10 @@
|
||||
i64.add
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.get $3
|
||||
local.get $4
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $3
|
||||
local.tee $5
|
||||
i64.const 2147483648
|
||||
i64.mul
|
||||
local.get $1
|
||||
@ -2306,62 +2308,21 @@
|
||||
local.tee $1
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $7
|
||||
local.get $3
|
||||
i64.mul
|
||||
local.get $4
|
||||
local.tee $2
|
||||
local.get $1
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $4
|
||||
i64.mul
|
||||
local.tee $3
|
||||
local.get $2
|
||||
local.get $7
|
||||
local.tee $6
|
||||
i64.mul
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
i64.add
|
||||
i64.const 2147483647
|
||||
i64.add
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.get $3
|
||||
local.get $4
|
||||
i64.mul
|
||||
local.get $2
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
i64.add
|
||||
local.set $8
|
||||
global.get $~lib/internal/number/_frc_minus
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $7
|
||||
local.get $12
|
||||
local.tee $4
|
||||
i64.mul
|
||||
local.set $1
|
||||
local.get $8
|
||||
i64.const 1
|
||||
i64.sub
|
||||
local.tee $8
|
||||
local.get $3
|
||||
local.get $7
|
||||
local.get $5
|
||||
i64.mul
|
||||
local.get $4
|
||||
local.get $2
|
||||
local.get $6
|
||||
local.get $1
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $2
|
||||
i64.mul
|
||||
local.get $1
|
||||
local.get $8
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
@ -2374,7 +2335,66 @@
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.get $2
|
||||
local.get $5
|
||||
i64.mul
|
||||
local.get $1
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
i64.add
|
||||
local.set $3
|
||||
local.get $4
|
||||
local.set $8
|
||||
local.get $0
|
||||
local.get $0
|
||||
local.get $13
|
||||
global.get $~lib/internal/number/_exp_pow
|
||||
local.tee $0
|
||||
i32.const 2
|
||||
i32.add
|
||||
local.get $3
|
||||
i64.const 1
|
||||
i64.sub
|
||||
local.tee $4
|
||||
local.get $0
|
||||
local.get $9
|
||||
i32.add
|
||||
i32.const -64
|
||||
i32.sub
|
||||
local.get $4
|
||||
local.get $8
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $3
|
||||
global.get $~lib/internal/number/_frc_minus
|
||||
local.tee $1
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $5
|
||||
i64.mul
|
||||
local.get $6
|
||||
local.tee $2
|
||||
local.get $1
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $6
|
||||
i64.mul
|
||||
local.get $2
|
||||
local.get $5
|
||||
i64.mul
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
local.tee $1
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
i64.add
|
||||
i64.const 2147483647
|
||||
i64.add
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.get $3
|
||||
local.get $6
|
||||
i64.mul
|
||||
local.get $1
|
||||
i64.const 32
|
||||
@ -2384,21 +2404,6 @@
|
||||
i64.const 1
|
||||
i64.add
|
||||
i64.sub
|
||||
local.set $1
|
||||
local.get $0
|
||||
local.get $0
|
||||
local.get $13
|
||||
global.get $~lib/internal/number/_exp_pow
|
||||
local.tee $6
|
||||
i32.const 2
|
||||
i32.add
|
||||
local.get $8
|
||||
local.get $6
|
||||
local.get $9
|
||||
i32.add
|
||||
i32.const -64
|
||||
i32.sub
|
||||
local.get $1
|
||||
call $~lib/internal/number/genDigits
|
||||
global.get $~lib/internal/number/_K
|
||||
call $~lib/internal/number/prettify
|
||||
|
@ -26,8 +26,8 @@
|
||||
global.set $~lib/allocator/arena/offset
|
||||
)
|
||||
(func $simd/test_v128 (; 2 ;) (type $FUNCSIG$v)
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -41,8 +41,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10
|
||||
v128.const i32 0x2 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d
|
||||
v128.const i32 0x04030202 0x08070605 0x0c0b0a09 0x100f0e0d
|
||||
i8x16.ne
|
||||
i8x16.any_true
|
||||
i32.const 0
|
||||
@ -56,10 +56,10 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10
|
||||
v128.const i32 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d
|
||||
v128.const i32 0x01010101 0x01010101 0x01010101 0x01010101
|
||||
v128.and
|
||||
v128.const i32 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0
|
||||
v128.const i32 0x00010001 0x00010001 0x00010001 0x00010001
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -73,10 +73,10 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10
|
||||
v128.const i32 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d
|
||||
v128.const i32 0x01010101 0x01010101 0x01010101 0x01010101
|
||||
v128.or
|
||||
v128.const i32 0x1 0x3 0x3 0x5 0x5 0x7 0x7 0x9 0x9 0xb 0xb 0xd 0xd 0xf 0xf 0x11
|
||||
v128.const i32 0x05030301 0x09070705 0x0d0b0b09 0x110f0f0d
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -90,10 +90,10 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10
|
||||
v128.const i32 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d
|
||||
v128.const i32 0x01010101 0x01010101 0x01010101 0x01010101
|
||||
v128.xor
|
||||
v128.const i32 0x0 0x3 0x2 0x5 0x4 0x7 0x6 0x9 0x8 0xb 0xa 0xd 0xc 0xf 0xe 0x11
|
||||
v128.const i32 0x05020300 0x09060704 0x0d0a0b08 0x110e0f0c
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -107,9 +107,9 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d
|
||||
v128.not
|
||||
v128.const i32 0xfe 0xfd 0xfc 0xfb 0xfa 0xf9 0xf8 0xf7 0xf6 0xf5 0xf4 0xf3 0xf2 0xf1 0xf0 0xef
|
||||
v128.const i32 0xfbfcfdfe 0xf7f8f9fa 0xf3f4f5f6 0xeff0f1f2
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -123,11 +123,11 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10
|
||||
v128.const i32 0x10 0xf 0xe 0xd 0xc 0xb 0xa 0x9 0x8 0x7 0x6 0x5 0x4 0x3 0x2 0x1
|
||||
v128.const i32 0x0 0xff 0x0 0xff 0x0 0xff 0x0 0xff 0x0 0xff 0x0 0xff 0x0 0xff 0x0 0xff
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d
|
||||
v128.const i32 0x0d0e0f10 0x090a0b0c 0x05060708 0x01020304
|
||||
v128.const i32 0xff00ff00 0xff00ff00 0xff00ff00 0xff00ff00
|
||||
v128.bitselect
|
||||
v128.const i32 0x10 0x2 0xe 0x4 0xc 0x6 0xa 0x8 0x8 0xa 0x6 0xc 0x4 0xe 0x2 0x10
|
||||
v128.const i32 0x040e0210 0x080a060c 0x0c060a08 0x10020e04
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -150,10 +150,10 @@
|
||||
(local $4 v128)
|
||||
(local $5 v128)
|
||||
(local $6 v128)
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x7f
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x7f0f0e0d
|
||||
local.set $0
|
||||
local.get $0
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x7f
|
||||
v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x7f0f0e0d
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -171,7 +171,7 @@
|
||||
i8x16.splat
|
||||
local.set $1
|
||||
local.get $1
|
||||
v128.const i32 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1
|
||||
v128.const i32 0x01010101 0x01010101 0x01010101 0x01010101
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -190,7 +190,7 @@
|
||||
i8x16.add
|
||||
local.set $2
|
||||
local.get $2
|
||||
v128.const i32 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10 0x80
|
||||
v128.const i32 0x05040302 0x09080706 0x0d0c0b0a 0x80100f0e
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -240,7 +240,7 @@
|
||||
end
|
||||
local.get $0
|
||||
i8x16.neg
|
||||
v128.const i32 0xff 0xfe 0xfd 0xfc 0xfb 0xfa 0xf9 0xf8 0xf7 0xf6 0xf5 0xf4 0xf3 0xf2 0xf1 0x81
|
||||
v128.const i32 0xfcfdfeff 0xf8f9fafb 0xf4f5f6f7 0x81f1f2f3
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -306,7 +306,7 @@
|
||||
local.get $2
|
||||
i32.const 17
|
||||
i8x16.replace_lane 15
|
||||
v128.const i32 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10 0x11
|
||||
v128.const i32 0x05040302 0x09080706 0x0d0c0b0a 0x11100f0e
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -323,7 +323,7 @@
|
||||
local.get $0
|
||||
local.get $1
|
||||
v8x16.shuffle 0 1 2 3 4 5 6 7 24 25 26 27 28 29 30 31
|
||||
v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1
|
||||
v128.const i32 0x04030201 0x08070605 0x01010101 0x01010101
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -337,7 +337,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x7e 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f
|
||||
v128.const i32 0x7f7f7f7e 0x7f7f7f7f 0x7f7f7f7f 0x7f7f7f7f
|
||||
i32.const 2
|
||||
i8x16.splat
|
||||
i8x16.add_saturate_s
|
||||
@ -356,7 +356,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0xfe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
|
||||
v128.const i32 0xfffffffe 0xffffffff 0xffffffff 0xffffffff
|
||||
i32.const 2
|
||||
i8x16.splat
|
||||
i8x16.add_saturate_u
|
||||
@ -375,7 +375,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x81 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80
|
||||
v128.const i32 0x80808081 0x80808080 0x80808080 0x80808080
|
||||
i32.const 2
|
||||
i8x16.splat
|
||||
i8x16.sub_saturate_s
|
||||
@ -394,7 +394,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000000 0x00000000 0x00000000
|
||||
i32.const 2
|
||||
i8x16.splat
|
||||
i8x16.sub_saturate_u
|
||||
@ -470,7 +470,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000000 0x00000000 0x00000000
|
||||
i8x16.any_true
|
||||
i32.const 0
|
||||
i32.ne
|
||||
@ -695,10 +695,10 @@
|
||||
(local $4 v128)
|
||||
(local $5 v128)
|
||||
(local $6 v128)
|
||||
v128.const i32 0x1 0x0 0x2 0x0 0x3 0x0 0x4 0x0 0x5 0x0 0x6 0x0 0x7 0x0 0xff 0x7f
|
||||
v128.const i32 0x00020001 0x00040003 0x00060005 0x7fff0007
|
||||
local.set $0
|
||||
local.get $0
|
||||
v128.const i32 0x1 0x0 0x2 0x0 0x3 0x0 0x4 0x0 0x5 0x0 0x6 0x0 0x7 0x0 0xff 0x7f
|
||||
v128.const i32 0x00020001 0x00040003 0x00060005 0x7fff0007
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -716,7 +716,7 @@
|
||||
i16x8.splat
|
||||
local.set $1
|
||||
local.get $1
|
||||
v128.const i32 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0
|
||||
v128.const i32 0x00010001 0x00010001 0x00010001 0x00010001
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -735,7 +735,7 @@
|
||||
i16x8.add
|
||||
local.set $2
|
||||
local.get $2
|
||||
v128.const i32 0x2 0x0 0x3 0x0 0x4 0x0 0x5 0x0 0x6 0x0 0x7 0x0 0x8 0x0 0x0 0x80
|
||||
v128.const i32 0x00030002 0x00050004 0x00070006 0x80000008
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -785,7 +785,7 @@
|
||||
end
|
||||
local.get $0
|
||||
i16x8.neg
|
||||
v128.const i32 0xff 0xff 0xfe 0xff 0xfd 0xff 0xfc 0xff 0xfb 0xff 0xfa 0xff 0xf9 0xff 0x1 0x80
|
||||
v128.const i32 0xfffeffff 0xfffcfffd 0xfffafffb 0x8001fff9
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -851,7 +851,7 @@
|
||||
local.get $2
|
||||
i32.const 9
|
||||
i16x8.replace_lane 7
|
||||
v128.const i32 0x2 0x0 0x3 0x0 0x4 0x0 0x5 0x0 0x6 0x0 0x7 0x0 0x8 0x0 0x9 0x0
|
||||
v128.const i32 0x00030002 0x00050004 0x00070006 0x00090008
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -868,7 +868,7 @@
|
||||
local.get $0
|
||||
local.get $1
|
||||
v8x16.shuffle 0 1 2 3 4 5 6 7 24 25 26 27 28 29 30 31
|
||||
v128.const i32 0x1 0x0 0x2 0x0 0x3 0x0 0x4 0x0 0x1 0x0 0x1 0x0 0x1 0x0 0x1 0x0
|
||||
v128.const i32 0x00020001 0x00040003 0x00010001 0x00010001
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -882,7 +882,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0xfe 0x7f 0xff 0x7f 0xff 0x7f 0xff 0x7f 0xff 0x7f 0xff 0x7f 0xff 0x7f 0xff 0x7f
|
||||
v128.const i32 0x7fff7ffe 0x7fff7fff 0x7fff7fff 0x7fff7fff
|
||||
i32.const 2
|
||||
i16x8.splat
|
||||
i16x8.add_saturate_s
|
||||
@ -901,7 +901,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0xfe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
|
||||
v128.const i32 0xfffffffe 0xffffffff 0xffffffff 0xffffffff
|
||||
i32.const 2
|
||||
i16x8.splat
|
||||
i16x8.add_saturate_u
|
||||
@ -920,7 +920,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x80 0x0 0x80 0x0 0x80 0x0 0x80 0x0 0x80 0x0 0x80 0x0 0x80 0x0 0x80
|
||||
v128.const i32 0x80008001 0x80008000 0x80008000 0x80008000
|
||||
i32.const 2
|
||||
i16x8.splat
|
||||
i16x8.sub_saturate_s
|
||||
@ -939,7 +939,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000000 0x00000000 0x00000000
|
||||
i32.const 2
|
||||
i16x8.splat
|
||||
i16x8.sub_saturate_u
|
||||
@ -1015,7 +1015,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000000 0x00000000 0x00000000
|
||||
i16x8.any_true
|
||||
i32.const 0
|
||||
i32.ne
|
||||
@ -1240,10 +1240,10 @@
|
||||
(local $4 v128)
|
||||
(local $5 v128)
|
||||
(local $6 v128)
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0xff 0xff 0xff 0x7f
|
||||
v128.const i32 0x00000001 0x00000002 0x00000003 0x7fffffff
|
||||
local.set $0
|
||||
local.get $0
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0xff 0xff 0xff 0x7f
|
||||
v128.const i32 0x00000001 0x00000002 0x00000003 0x7fffffff
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1261,7 +1261,7 @@
|
||||
i32x4.splat
|
||||
local.set $1
|
||||
local.get $1
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x1 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000001 0x00000001 0x00000001
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1280,7 +1280,7 @@
|
||||
i32x4.add
|
||||
local.set $2
|
||||
local.get $2
|
||||
v128.const i32 0x2 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0x4 0x0 0x0 0x0 0x0 0x0 0x0 0x80
|
||||
v128.const i32 0x00000002 0x00000003 0x00000004 0x80000000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1330,7 +1330,7 @@
|
||||
end
|
||||
local.get $0
|
||||
i32x4.neg
|
||||
v128.const i32 0xff 0xff 0xff 0xff 0xfe 0xff 0xff 0xff 0xfd 0xff 0xff 0xff 0x1 0x0 0x0 0x80
|
||||
v128.const i32 0xffffffff 0xfffffffe 0xfffffffd 0x80000001
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1373,7 +1373,7 @@
|
||||
local.get $2
|
||||
i32.const 5
|
||||
i32x4.replace_lane 3
|
||||
v128.const i32 0x2 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0x4 0x0 0x0 0x0 0x5 0x0 0x0 0x0
|
||||
v128.const i32 0x00000002 0x00000003 0x00000004 0x00000005
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1390,7 +1390,7 @@
|
||||
local.get $0
|
||||
local.get $1
|
||||
v8x16.shuffle 0 1 2 3 4 5 6 7 24 25 26 27 28 29 30 31
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x1 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000002 0x00000001 0x00000001
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1461,7 +1461,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000000 0x00000000 0x00000000
|
||||
i32x4.any_true
|
||||
i32.const 0
|
||||
i32.ne
|
||||
@ -1718,10 +1718,10 @@
|
||||
(local $0 v128)
|
||||
(local $1 v128)
|
||||
(local $2 v128)
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x7f
|
||||
v128.const i32 0x00000001 0x00000000 0xffffffff 0x7fffffff
|
||||
local.set $0
|
||||
local.get $0
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x7f
|
||||
v128.const i32 0x00000001 0x00000000 0xffffffff 0x7fffffff
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1739,7 +1739,7 @@
|
||||
i64x2.splat
|
||||
local.set $1
|
||||
local.get $1
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000000 0x00000001 0x00000000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1758,7 +1758,7 @@
|
||||
i64x2.add
|
||||
local.set $2
|
||||
local.get $2
|
||||
v128.const i32 0x2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x80
|
||||
v128.const i32 0x00000002 0x00000000 0x00000000 0x80000000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1791,7 +1791,7 @@
|
||||
end
|
||||
local.get $0
|
||||
i64x2.neg
|
||||
v128.const i32 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x80
|
||||
v128.const i32 0xffffffff 0xffffffff 0x00000001 0x80000000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1834,7 +1834,7 @@
|
||||
local.get $2
|
||||
i64.const 3
|
||||
i64x2.replace_lane 1
|
||||
v128.const i32 0x2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0x00000002 0x00000000 0x00000003 0x00000000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1851,7 +1851,7 @@
|
||||
local.get $0
|
||||
local.get $1
|
||||
v8x16.shuffle 0 1 2 3 4 5 6 7 24 25 26 27 28 29 30 31
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000000 0x00000001 0x00000000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -1922,7 +1922,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0x00000001 0x00000000 0x00000000 0x00000000
|
||||
i64x2.any_true
|
||||
i32.const 0
|
||||
i32.ne
|
||||
@ -1999,10 +1999,10 @@
|
||||
(local $5 v128)
|
||||
(local $6 v128)
|
||||
(local $7 v128)
|
||||
v128.const i32 0x0 0x0 0xc0 0x3f 0x0 0x0 0x20 0x40 0x0 0x0 0x60 0x40 0x0 0x0 0x90 0x40
|
||||
v128.const i32 0x3fc00000 0x40200000 0x40600000 0x40900000
|
||||
local.set $0
|
||||
local.get $0
|
||||
v128.const i32 0x0 0x0 0xc0 0x3f 0x0 0x0 0x20 0x40 0x0 0x0 0x60 0x40 0x0 0x0 0x90 0x40
|
||||
v128.const i32 0x3fc00000 0x40200000 0x40600000 0x40900000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2020,7 +2020,7 @@
|
||||
f32x4.splat
|
||||
local.set $1
|
||||
local.get $1
|
||||
v128.const i32 0x0 0x0 0x80 0x3f 0x0 0x0 0x80 0x3f 0x0 0x0 0x80 0x3f 0x0 0x0 0x80 0x3f
|
||||
v128.const i32 0x3f800000 0x3f800000 0x3f800000 0x3f800000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2039,7 +2039,7 @@
|
||||
f32x4.add
|
||||
local.set $2
|
||||
local.get $2
|
||||
v128.const i32 0x0 0x0 0x20 0x40 0x0 0x0 0x60 0x40 0x0 0x0 0x90 0x40 0x0 0x0 0xb0 0x40
|
||||
v128.const i32 0x40200000 0x40600000 0x40900000 0x40b00000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2127,7 +2127,7 @@
|
||||
end
|
||||
local.get $0
|
||||
f32x4.neg
|
||||
v128.const i32 0x0 0x0 0xc0 0xbf 0x0 0x0 0x20 0xc0 0x0 0x0 0x60 0xc0 0x0 0x0 0x90 0xc0
|
||||
v128.const i32 0xbfc00000 0xc0200000 0xc0600000 0xc0900000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2170,7 +2170,7 @@
|
||||
local.get $2
|
||||
f32.const 6.5
|
||||
f32x4.replace_lane 3
|
||||
v128.const i32 0x0 0x0 0x20 0x40 0x0 0x0 0x60 0x40 0x0 0x0 0x90 0x40 0x0 0x0 0xd0 0x40
|
||||
v128.const i32 0x40200000 0x40600000 0x40900000 0x40d00000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2187,7 +2187,7 @@
|
||||
local.get $0
|
||||
local.get $1
|
||||
v8x16.shuffle 0 1 2 3 4 5 6 7 24 25 26 27 28 29 30 31
|
||||
v128.const i32 0x0 0x0 0xc0 0x3f 0x0 0x0 0x20 0x40 0x0 0x0 0x80 0x3f 0x0 0x0 0x80 0x3f
|
||||
v128.const i32 0x3fc00000 0x40200000 0x3f800000 0x3f800000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2211,9 +2211,9 @@
|
||||
f32.const -1
|
||||
f32x4.replace_lane 0
|
||||
local.set $5
|
||||
v128.const i32 0xff 0xff 0xff 0xff 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0xffffffff 0x00000000 0x00000000 0x00000000
|
||||
local.set $6
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
|
||||
v128.const i32 0x00000000 0xffffffff 0xffffffff 0xffffffff
|
||||
local.set $7
|
||||
local.get $5
|
||||
local.get $4
|
||||
@ -2367,9 +2367,9 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x0 0x0 0x80 0x40 0x0 0x0 0x10 0x41 0x0 0x0 0x80 0x41 0x0 0x0 0xc8 0x41
|
||||
v128.const i32 0x40800000 0x41100000 0x41800000 0x41c80000
|
||||
f32x4.sqrt
|
||||
v128.const i32 0x0 0x0 0x0 0x40 0x0 0x0 0x40 0x40 0x0 0x0 0x80 0x40 0x0 0x0 0xa0 0x40
|
||||
v128.const i32 0x40000000 0x40400000 0x40800000 0x40a00000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2429,10 +2429,10 @@
|
||||
(local $5 v128)
|
||||
(local $6 v128)
|
||||
(local $7 v128)
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0xf8 0x3f 0x0 0x0 0x0 0x0 0x0 0x0 0x4 0x40
|
||||
v128.const i32 0x00000000 0x3ff80000 0x00000000 0x40040000
|
||||
local.set $0
|
||||
local.get $0
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0xf8 0x3f 0x0 0x0 0x0 0x0 0x0 0x0 0x4 0x40
|
||||
v128.const i32 0x00000000 0x3ff80000 0x00000000 0x40040000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2450,7 +2450,7 @@
|
||||
f64x2.splat
|
||||
local.set $1
|
||||
local.get $1
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0xf0 0x3f 0x0 0x0 0x0 0x0 0x0 0x0 0xf0 0x3f
|
||||
v128.const i32 0x00000000 0x3ff00000 0x00000000 0x3ff00000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2469,7 +2469,7 @@
|
||||
f64x2.add
|
||||
local.set $2
|
||||
local.get $2
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0x4 0x40 0x0 0x0 0x0 0x0 0x0 0x0 0xc 0x40
|
||||
v128.const i32 0x00000000 0x40040000 0x00000000 0x400c0000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2557,7 +2557,7 @@
|
||||
end
|
||||
local.get $0
|
||||
f64x2.neg
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0xf8 0xbf 0x0 0x0 0x0 0x0 0x0 0x0 0x4 0xc0
|
||||
v128.const i32 0x00000000 0xbff80000 0x00000000 0xc0040000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2600,7 +2600,7 @@
|
||||
local.get $2
|
||||
f64.const 4.5
|
||||
f64x2.replace_lane 1
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0x4 0x40 0x0 0x0 0x0 0x0 0x0 0x0 0x12 0x40
|
||||
v128.const i32 0x00000000 0x40040000 0x00000000 0x40120000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2617,7 +2617,7 @@
|
||||
local.get $0
|
||||
local.get $1
|
||||
v8x16.shuffle 0 1 2 3 4 5 6 7 24 25 26 27 28 29 30 31
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0xf8 0x3f 0x0 0x0 0x0 0x0 0x0 0x0 0xf0 0x3f
|
||||
v128.const i32 0x00000000 0x3ff80000 0x00000000 0x3ff00000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2641,9 +2641,9 @@
|
||||
f64.const -1
|
||||
f64x2.replace_lane 0
|
||||
local.set $5
|
||||
v128.const i32 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||
v128.const i32 0xffffffff 0xffffffff 0x00000000 0x00000000
|
||||
local.set $6
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
|
||||
v128.const i32 0x00000000 0x00000000 0xffffffff 0xffffffff
|
||||
local.set $7
|
||||
local.get $5
|
||||
local.get $4
|
||||
@ -2797,9 +2797,9 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0x10 0x40 0x0 0x0 0x0 0x0 0x0 0x0 0x22 0x40
|
||||
v128.const i32 0x00000000 0x40100000 0x00000000 0x40220000
|
||||
f64x2.sqrt
|
||||
v128.const i32 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x40 0x0 0x0 0x0 0x0 0x0 0x0 0x8 0x40
|
||||
v128.const i32 0x00000000 0x40000000 0x00000000 0x40080000
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
@ -2853,14 +2853,14 @@
|
||||
(func $simd/test_v8x16 (; 9 ;) (type $FUNCSIG$v)
|
||||
(local $0 v128)
|
||||
(local $1 v128)
|
||||
v128.const i32 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf
|
||||
v128.const i32 0x03020100 0x07060504 0x0b0a0908 0x0f0e0d0c
|
||||
local.set $0
|
||||
v128.const i32 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f
|
||||
v128.const i32 0x13121110 0x17161514 0x1b1a1918 0x1f1e1d1c
|
||||
local.set $1
|
||||
local.get $0
|
||||
local.get $1
|
||||
v8x16.shuffle 0 17 2 19 4 21 6 23 8 25 10 27 12 29 14 31
|
||||
v128.const i32 0x0 0x11 0x2 0x13 0x4 0x15 0x6 0x17 0x8 0x19 0xa 0x1b 0xc 0x1d 0xe 0x1f
|
||||
v128.const i32 0x13021100 0x17061504 0x1b0a1908 0x1f0e1d0c
|
||||
i8x16.eq
|
||||
i8x16.all_true
|
||||
i32.const 0
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -319,7 +319,6 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/polyfills/bswap<u64> (; 7 ;) (type $FUNCSIG$jj) (param $0 i64) (result i64)
|
||||
(local $1 i64)
|
||||
local.get $0
|
||||
i64.const 8
|
||||
i64.shr_u
|
||||
@ -331,12 +330,12 @@
|
||||
i64.const 8
|
||||
i64.shl
|
||||
i64.or
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
i64.const 16
|
||||
i64.shr_u
|
||||
i64.const 281470681808895
|
||||
i64.and
|
||||
local.get $1
|
||||
local.get $0
|
||||
i64.const 281470681808895
|
||||
i64.and
|
||||
i64.const 16
|
||||
@ -643,7 +642,6 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/dataview/DataView#setFloat32 (; 15 ;) (type $FUNCSIG$vifi) (param $0 i32) (param $1 f32) (param $2 i32)
|
||||
(local $3 i32)
|
||||
i32.const 4
|
||||
local.get $0
|
||||
i32.load offset=8
|
||||
@ -673,12 +671,12 @@
|
||||
i32.add
|
||||
local.get $1
|
||||
i32.reinterpret_f32
|
||||
local.tee $3
|
||||
local.tee $0
|
||||
i32.const -16711936
|
||||
i32.and
|
||||
i32.const 8
|
||||
i32.rotl
|
||||
local.get $3
|
||||
local.get $0
|
||||
i32.const 16711935
|
||||
i32.and
|
||||
i32.const 8
|
||||
|
@ -106,20 +106,19 @@
|
||||
i32.store
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_mark (; 4 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
if
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.sub
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
i32.load
|
||||
i32.const 3
|
||||
i32.and
|
||||
i32.eq
|
||||
if
|
||||
local.get $1
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObject#makeGray
|
||||
end
|
||||
end
|
||||
@ -379,7 +378,6 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_allocate (; 10 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
i32.const 1073741808
|
||||
i32.gt_u
|
||||
@ -391,21 +389,21 @@
|
||||
i32.const 16
|
||||
i32.add
|
||||
call $~lib/allocator/arena/__memory_allocate
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
local.get $1
|
||||
i32.store offset=8
|
||||
local.get $2
|
||||
local.get $0
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.load
|
||||
i32.const -4
|
||||
i32.and
|
||||
i32.or
|
||||
i32.store
|
||||
global.get $~lib/collector/itcm/fromSpace
|
||||
local.get $2
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObjectList#push
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.add
|
||||
)
|
||||
|
@ -158,20 +158,19 @@
|
||||
i32.store
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_mark (; 5 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
if
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.sub
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
i32.load
|
||||
i32.const 3
|
||||
i32.and
|
||||
i32.eq
|
||||
if
|
||||
local.get $1
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObject#makeGray
|
||||
end
|
||||
end
|
||||
|
@ -152,20 +152,19 @@
|
||||
i32.store
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_mark (; 3 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(local $1 i32)
|
||||
local.get $0
|
||||
if
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.sub
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
i32.load
|
||||
i32.const 3
|
||||
i32.and
|
||||
i32.eq
|
||||
if
|
||||
local.get $1
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObject#makeGray
|
||||
end
|
||||
end
|
||||
@ -304,7 +303,6 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/collector/itcm/__gc_allocate (; 5 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
i32.const 1073741808
|
||||
i32.gt_u
|
||||
@ -316,21 +314,21 @@
|
||||
i32.const 16
|
||||
i32.add
|
||||
call $~lib/allocator/arena/__memory_allocate
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
local.get $1
|
||||
i32.store offset=8
|
||||
local.get $2
|
||||
local.get $0
|
||||
global.get $~lib/collector/itcm/white
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.load
|
||||
i32.const -4
|
||||
i32.and
|
||||
i32.or
|
||||
i32.store
|
||||
global.get $~lib/collector/itcm/fromSpace
|
||||
local.get $2
|
||||
local.get $0
|
||||
call $~lib/collector/itcm/ManagedObjectList#push
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 16
|
||||
i32.add
|
||||
)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1805,7 +1805,6 @@
|
||||
i32.const 0
|
||||
)
|
||||
(func $~lib/map/Map<i16,i32>#has (; 21 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $1
|
||||
@ -1813,14 +1812,14 @@
|
||||
i32.shl
|
||||
i32.const 16
|
||||
i32.shr_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.const -2128831035
|
||||
i32.xor
|
||||
i32.const 16777619
|
||||
i32.mul
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.xor
|
||||
@ -2510,20 +2509,19 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/map/Map<u16,i32>#has (; 27 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
i32.and
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.const -2128831035
|
||||
i32.xor
|
||||
i32.const 16777619
|
||||
i32.mul
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.xor
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -224,50 +224,49 @@
|
||||
(local $3 f64)
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
(local $6 f64)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
(local $8 f64)
|
||||
(local $9 i32)
|
||||
(local $10 f64)
|
||||
(local $9 f64)
|
||||
(local $10 i32)
|
||||
(local $11 i32)
|
||||
(local $12 i32)
|
||||
(local $13 i32)
|
||||
(local $14 f64)
|
||||
(local $15 i32)
|
||||
(local $15 f64)
|
||||
(local $16 f64)
|
||||
(local $17 i64)
|
||||
(local $18 i32)
|
||||
(local $19 f64)
|
||||
(local $17 f64)
|
||||
(local $18 i64)
|
||||
(local $19 i32)
|
||||
(local $20 i32)
|
||||
(local $21 i32)
|
||||
local.get $0
|
||||
i64.reinterpret_f64
|
||||
local.tee $17
|
||||
local.tee $18
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.set $18
|
||||
local.get $17
|
||||
local.set $19
|
||||
local.get $18
|
||||
i32.wrap_i64
|
||||
local.set $20
|
||||
local.get $18
|
||||
local.get $19
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
local.set $5
|
||||
local.get $1
|
||||
i64.reinterpret_f64
|
||||
local.tee $17
|
||||
local.tee $18
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.tee $13
|
||||
local.tee $12
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
local.set $11
|
||||
local.get $11
|
||||
local.get $17
|
||||
local.set $10
|
||||
local.get $10
|
||||
local.get $18
|
||||
i32.wrap_i64
|
||||
local.tee $21
|
||||
local.tee $6
|
||||
i32.or
|
||||
i32.eqz
|
||||
if
|
||||
@ -294,7 +293,7 @@
|
||||
local.get $4
|
||||
i32.eqz
|
||||
if
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 2146435072
|
||||
i32.gt_s
|
||||
local.set $4
|
||||
@ -302,12 +301,12 @@
|
||||
local.get $4
|
||||
i32.eqz
|
||||
if
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 2146435072
|
||||
i32.eq
|
||||
local.tee $4
|
||||
if
|
||||
local.get $21
|
||||
local.get $6
|
||||
i32.const 0
|
||||
i32.ne
|
||||
local.set $4
|
||||
@ -320,64 +319,65 @@
|
||||
f64.add
|
||||
return
|
||||
end
|
||||
local.get $18
|
||||
local.get $19
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1128267776
|
||||
i32.ge_s
|
||||
if (result i32)
|
||||
i32.const 2
|
||||
else
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1072693248
|
||||
i32.ge_s
|
||||
if (result i32)
|
||||
local.get $21
|
||||
local.get $11
|
||||
local.get $11
|
||||
local.get $6
|
||||
local.get $10
|
||||
local.get $10
|
||||
i32.const 20
|
||||
i32.shr_s
|
||||
i32.const 1023
|
||||
i32.sub
|
||||
local.tee $12
|
||||
local.tee $11
|
||||
i32.const 20
|
||||
i32.gt_s
|
||||
local.tee $4
|
||||
select
|
||||
local.tee $7
|
||||
local.get $7
|
||||
i32.const 52
|
||||
i32.const 20
|
||||
local.get $4
|
||||
select
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.sub
|
||||
local.tee $9
|
||||
local.tee $7
|
||||
i32.shr_s
|
||||
local.set $4
|
||||
i32.const 2
|
||||
local.get $4
|
||||
i32.const 1
|
||||
i32.and
|
||||
i32.sub
|
||||
i32.const 0
|
||||
local.get $4
|
||||
local.get $9
|
||||
i32.shl
|
||||
local.tee $4
|
||||
local.get $7
|
||||
i32.shl
|
||||
i32.eq
|
||||
select
|
||||
if (result i32)
|
||||
i32.const 2
|
||||
local.get $4
|
||||
i32.const 1
|
||||
i32.and
|
||||
i32.sub
|
||||
else
|
||||
i32.const 0
|
||||
end
|
||||
else
|
||||
i32.const 0
|
||||
end
|
||||
end
|
||||
local.set $15
|
||||
local.set $13
|
||||
end
|
||||
local.get $21
|
||||
local.get $6
|
||||
i32.eqz
|
||||
if
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 2146435072
|
||||
i32.eq
|
||||
if
|
||||
@ -391,7 +391,7 @@
|
||||
i32.const 1072693248
|
||||
i32.ge_s
|
||||
if
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
@ -404,7 +404,7 @@
|
||||
f64.const 0
|
||||
local.get $1
|
||||
f64.neg
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.ge_s
|
||||
select
|
||||
@ -417,11 +417,11 @@
|
||||
end
|
||||
unreachable
|
||||
end
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1072693248
|
||||
i32.eq
|
||||
if
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.ge_s
|
||||
if
|
||||
@ -433,7 +433,7 @@
|
||||
f64.div
|
||||
return
|
||||
end
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 1073741824
|
||||
i32.eq
|
||||
if
|
||||
@ -442,11 +442,11 @@
|
||||
f64.mul
|
||||
return
|
||||
end
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 1071644672
|
||||
i32.eq
|
||||
if
|
||||
local.get $18
|
||||
local.get $19
|
||||
i32.const 0
|
||||
i32.ge_s
|
||||
if
|
||||
@ -486,25 +486,25 @@
|
||||
local.get $2
|
||||
f64.div
|
||||
local.get $2
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
select
|
||||
local.set $2
|
||||
local.get $18
|
||||
local.get $19
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if (result f64)
|
||||
local.get $5
|
||||
i32.const 1072693248
|
||||
i32.sub
|
||||
local.get $15
|
||||
local.get $13
|
||||
i32.or
|
||||
if (result f64)
|
||||
local.get $2
|
||||
f64.neg
|
||||
local.get $2
|
||||
local.get $15
|
||||
local.get $13
|
||||
i32.const 1
|
||||
i32.eq
|
||||
select
|
||||
@ -523,12 +523,12 @@
|
||||
end
|
||||
end
|
||||
f64.const 1
|
||||
local.set $10
|
||||
local.get $18
|
||||
local.set $9
|
||||
local.get $19
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $15
|
||||
local.get $13
|
||||
i32.eqz
|
||||
if
|
||||
local.get $0
|
||||
@ -541,17 +541,17 @@
|
||||
end
|
||||
f64.const -1
|
||||
f64.const 1
|
||||
local.get $15
|
||||
local.get $13
|
||||
i32.const 1
|
||||
i32.eq
|
||||
select
|
||||
local.set $10
|
||||
local.set $9
|
||||
end
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1105199104
|
||||
i32.gt_s
|
||||
if (result f64)
|
||||
local.get $11
|
||||
local.get $10
|
||||
i32.const 1139802112
|
||||
i32.gt_s
|
||||
if
|
||||
@ -561,7 +561,7 @@
|
||||
if
|
||||
f64.const inf
|
||||
f64.const 0
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
select
|
||||
@ -573,7 +573,7 @@
|
||||
if
|
||||
f64.const inf
|
||||
f64.const 0
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.gt_s
|
||||
select
|
||||
@ -584,17 +584,17 @@
|
||||
i32.const 1072693247
|
||||
i32.lt_s
|
||||
if
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
if (result f64)
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
else
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1e-300
|
||||
f64.mul
|
||||
f64.const 1e-300
|
||||
@ -606,17 +606,17 @@
|
||||
i32.const 1072693248
|
||||
i32.gt_s
|
||||
if
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.const 0
|
||||
i32.gt_s
|
||||
if (result f64)
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
else
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1e-300
|
||||
f64.mul
|
||||
f64.const 1e-300
|
||||
@ -644,7 +644,7 @@
|
||||
f64.const 1.4426950216293335
|
||||
local.get $3
|
||||
f64.mul
|
||||
local.tee $16
|
||||
local.tee $15
|
||||
local.get $3
|
||||
f64.const 1.9259629911266175e-08
|
||||
f64.mul
|
||||
@ -652,22 +652,21 @@
|
||||
f64.const 1.4426950408889634
|
||||
f64.mul
|
||||
f64.sub
|
||||
local.tee $6
|
||||
local.tee $16
|
||||
f64.add
|
||||
local.set $8
|
||||
local.get $6
|
||||
local.get $8
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $8
|
||||
local.set $8
|
||||
local.get $16
|
||||
local.get $8
|
||||
local.get $15
|
||||
f64.sub
|
||||
f64.sub
|
||||
else
|
||||
i32.const 0
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $5
|
||||
i32.const 1048576
|
||||
i32.lt_s
|
||||
@ -691,30 +690,30 @@
|
||||
i32.const 1023
|
||||
i32.sub
|
||||
i32.add
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $5
|
||||
i32.const 1048575
|
||||
i32.and
|
||||
local.tee $9
|
||||
local.tee $7
|
||||
i32.const 1072693248
|
||||
i32.or
|
||||
local.set $5
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 235662
|
||||
i32.le_s
|
||||
if (result i32)
|
||||
i32.const 0
|
||||
else
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 767610
|
||||
i32.lt_s
|
||||
if (result i32)
|
||||
i32.const 1
|
||||
else
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $5
|
||||
i32.const -1048576
|
||||
i32.add
|
||||
@ -722,7 +721,7 @@
|
||||
i32.const 0
|
||||
end
|
||||
end
|
||||
local.set $12
|
||||
local.set $11
|
||||
local.get $2
|
||||
i64.reinterpret_f64
|
||||
i64.const 4294967295
|
||||
@ -736,19 +735,24 @@
|
||||
local.tee $2
|
||||
f64.const 1.5
|
||||
f64.const 1
|
||||
local.get $12
|
||||
local.get $11
|
||||
select
|
||||
local.tee $0
|
||||
f64.sub
|
||||
local.tee $16
|
||||
local.tee $15
|
||||
f64.const 1
|
||||
local.get $2
|
||||
local.get $0
|
||||
f64.add
|
||||
f64.div
|
||||
local.tee $6
|
||||
local.tee $16
|
||||
f64.mul
|
||||
local.set $14
|
||||
local.tee $14
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.set $8
|
||||
local.get $2
|
||||
local.get $5
|
||||
i32.const 1
|
||||
@ -757,7 +761,7 @@
|
||||
i32.or
|
||||
i32.const 524288
|
||||
i32.add
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.const 18
|
||||
i32.shl
|
||||
i32.add
|
||||
@ -765,11 +769,11 @@
|
||||
i64.const 32
|
||||
i64.shl
|
||||
f64.reinterpret_i64
|
||||
local.tee $8
|
||||
local.tee $17
|
||||
local.get $0
|
||||
f64.sub
|
||||
f64.sub
|
||||
local.set $2
|
||||
local.set $0
|
||||
local.get $14
|
||||
local.get $14
|
||||
f64.mul
|
||||
@ -798,119 +802,104 @@
|
||||
f64.mul
|
||||
f64.add
|
||||
f64.mul
|
||||
local.set $19
|
||||
local.get $6
|
||||
local.get $16
|
||||
local.get $14
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $6
|
||||
local.set $2
|
||||
f64.const 0.9617967009544373
|
||||
local.get $8
|
||||
f64.mul
|
||||
f64.sub
|
||||
local.get $6
|
||||
local.get $2
|
||||
f64.mul
|
||||
f64.sub
|
||||
f64.mul
|
||||
local.set $0
|
||||
f64.const 3
|
||||
local.get $6
|
||||
local.get $6
|
||||
local.get $8
|
||||
local.get $8
|
||||
f64.mul
|
||||
local.tee $3
|
||||
f64.add
|
||||
local.get $19
|
||||
local.get $2
|
||||
local.get $16
|
||||
local.get $15
|
||||
local.get $8
|
||||
local.get $17
|
||||
f64.mul
|
||||
f64.sub
|
||||
local.get $8
|
||||
local.get $0
|
||||
local.get $6
|
||||
f64.mul
|
||||
f64.sub
|
||||
f64.mul
|
||||
local.tee $0
|
||||
local.get $8
|
||||
local.get $14
|
||||
f64.add
|
||||
f64.mul
|
||||
f64.add
|
||||
local.tee $19
|
||||
local.tee $2
|
||||
f64.add
|
||||
local.set $8
|
||||
local.get $19
|
||||
local.get $8
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $8
|
||||
local.tee $17
|
||||
f64.mul
|
||||
local.tee $15
|
||||
local.get $0
|
||||
local.get $17
|
||||
f64.mul
|
||||
local.get $2
|
||||
local.get $17
|
||||
f64.const 3
|
||||
f64.sub
|
||||
local.get $3
|
||||
f64.sub
|
||||
f64.sub
|
||||
local.set $2
|
||||
local.get $6
|
||||
local.get $8
|
||||
f64.mul
|
||||
local.tee $16
|
||||
local.get $0
|
||||
local.get $8
|
||||
f64.mul
|
||||
local.get $2
|
||||
local.get $14
|
||||
f64.mul
|
||||
f64.add
|
||||
local.tee $6
|
||||
local.tee $16
|
||||
f64.add
|
||||
local.set $0
|
||||
local.get $6
|
||||
local.get $0
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $0
|
||||
local.get $16
|
||||
f64.sub
|
||||
f64.sub
|
||||
local.set $6
|
||||
f64.const 0.9617967009544373
|
||||
local.get $0
|
||||
f64.mul
|
||||
local.tee $19
|
||||
local.tee $17
|
||||
f64.const -7.028461650952758e-09
|
||||
local.get $0
|
||||
f64.mul
|
||||
local.get $6
|
||||
local.get $16
|
||||
local.get $0
|
||||
local.get $15
|
||||
f64.sub
|
||||
f64.sub
|
||||
f64.const 0.9617966939259756
|
||||
f64.mul
|
||||
f64.add
|
||||
f64.const 1.350039202129749e-08
|
||||
f64.const 0
|
||||
local.get $12
|
||||
local.get $11
|
||||
select
|
||||
f64.add
|
||||
local.tee $2
|
||||
f64.add
|
||||
f64.const 0.5849624872207642
|
||||
f64.const 0
|
||||
local.get $12
|
||||
local.get $11
|
||||
select
|
||||
local.tee $0
|
||||
f64.add
|
||||
local.get $7
|
||||
local.get $6
|
||||
f64.convert_i32_s
|
||||
local.tee $3
|
||||
f64.add
|
||||
local.set $8
|
||||
local.get $2
|
||||
local.get $8
|
||||
i64.reinterpret_f64
|
||||
i64.const -4294967296
|
||||
i64.and
|
||||
f64.reinterpret_i64
|
||||
local.tee $8
|
||||
local.set $8
|
||||
local.get $2
|
||||
local.get $8
|
||||
local.get $3
|
||||
f64.sub
|
||||
local.get $0
|
||||
f64.sub
|
||||
local.get $19
|
||||
local.get $17
|
||||
f64.sub
|
||||
f64.sub
|
||||
end
|
||||
@ -929,7 +918,7 @@
|
||||
local.get $2
|
||||
f64.mul
|
||||
f64.add
|
||||
local.tee $6
|
||||
local.tee $1
|
||||
local.get $0
|
||||
local.get $8
|
||||
f64.mul
|
||||
@ -937,26 +926,26 @@
|
||||
f64.add
|
||||
local.tee $2
|
||||
i64.reinterpret_f64
|
||||
local.tee $17
|
||||
local.tee $18
|
||||
i32.wrap_i64
|
||||
local.set $4
|
||||
block $folding-inner1
|
||||
block $folding-inner0
|
||||
local.get $17
|
||||
local.get $18
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.tee $9
|
||||
local.tee $7
|
||||
i32.const 1083179008
|
||||
i32.ge_s
|
||||
if
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 1083179008
|
||||
i32.sub
|
||||
local.get $4
|
||||
i32.or
|
||||
br_if $folding-inner0
|
||||
local.get $6
|
||||
local.get $1
|
||||
f64.const 8.008566259537294e-17
|
||||
f64.add
|
||||
local.get $2
|
||||
@ -965,19 +954,19 @@
|
||||
f64.gt
|
||||
br_if $folding-inner0
|
||||
else
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
i32.const 1083231232
|
||||
i32.ge_s
|
||||
if
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const -1064252416
|
||||
i32.sub
|
||||
local.get $4
|
||||
i32.or
|
||||
br_if $folding-inner1
|
||||
local.get $6
|
||||
local.get $1
|
||||
local.get $2
|
||||
local.get $0
|
||||
f64.sub
|
||||
@ -985,7 +974,7 @@
|
||||
br_if $folding-inner1
|
||||
end
|
||||
end
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
local.tee $4
|
||||
@ -993,65 +982,65 @@
|
||||
i32.shr_s
|
||||
i32.const 1023
|
||||
i32.sub
|
||||
local.set $12
|
||||
local.set $11
|
||||
i32.const 0
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $4
|
||||
i32.const 1071644672
|
||||
i32.gt_s
|
||||
if
|
||||
i32.const 1048576
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.const 1
|
||||
i32.add
|
||||
i32.shr_s
|
||||
local.get $9
|
||||
local.get $7
|
||||
i32.add
|
||||
local.tee $7
|
||||
local.tee $6
|
||||
i32.const 2147483647
|
||||
i32.and
|
||||
i32.const 20
|
||||
i32.shr_s
|
||||
i32.const 1023
|
||||
i32.sub
|
||||
local.set $12
|
||||
local.set $11
|
||||
i32.const 1048575
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.shr_s
|
||||
i32.const -1
|
||||
i32.xor
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.and
|
||||
i64.extend_i32_s
|
||||
i64.const 32
|
||||
i64.shl
|
||||
f64.reinterpret_i64
|
||||
local.set $3
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.const 1048575
|
||||
i32.and
|
||||
i32.const 1048576
|
||||
i32.or
|
||||
i32.const 20
|
||||
local.get $12
|
||||
local.get $11
|
||||
i32.sub
|
||||
i32.shr_s
|
||||
local.set $7
|
||||
local.set $6
|
||||
i32.const 0
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.sub
|
||||
local.get $6
|
||||
local.get $7
|
||||
local.get $9
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
select
|
||||
local.set $7
|
||||
local.set $6
|
||||
local.get $0
|
||||
local.get $3
|
||||
f64.sub
|
||||
local.set $0
|
||||
end
|
||||
local.get $6
|
||||
local.get $1
|
||||
local.get $0
|
||||
f64.add
|
||||
i64.reinterpret_f64
|
||||
@ -1061,8 +1050,8 @@
|
||||
local.tee $3
|
||||
f64.const 0.6931471824645996
|
||||
f64.mul
|
||||
local.tee $16
|
||||
local.get $6
|
||||
local.tee $15
|
||||
local.get $1
|
||||
local.get $3
|
||||
local.get $0
|
||||
f64.sub
|
||||
@ -1073,13 +1062,13 @@
|
||||
f64.const -1.904654299957768e-09
|
||||
f64.mul
|
||||
f64.add
|
||||
local.tee $6
|
||||
local.tee $16
|
||||
f64.add
|
||||
local.tee $2
|
||||
local.get $2
|
||||
f64.mul
|
||||
local.set $3
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1
|
||||
local.get $2
|
||||
local.get $2
|
||||
@ -1109,9 +1098,9 @@
|
||||
f64.const 2
|
||||
f64.sub
|
||||
f64.div
|
||||
local.get $6
|
||||
local.get $2
|
||||
local.get $16
|
||||
local.get $2
|
||||
local.get $15
|
||||
f64.sub
|
||||
f64.sub
|
||||
local.tee $0
|
||||
@ -1128,25 +1117,25 @@
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.const 20
|
||||
i32.shl
|
||||
i32.add
|
||||
local.tee $9
|
||||
local.tee $7
|
||||
i32.const 20
|
||||
i32.shr_s
|
||||
i32.const 0
|
||||
i32.le_s
|
||||
if (result f64)
|
||||
local.get $2
|
||||
local.get $7
|
||||
local.get $6
|
||||
call $~lib/math/NativeMath.scalbn
|
||||
else
|
||||
local.get $2
|
||||
i64.reinterpret_f64
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.get $9
|
||||
local.get $7
|
||||
i64.extend_i32_s
|
||||
i64.const 32
|
||||
i64.shl
|
||||
@ -1156,14 +1145,14 @@
|
||||
f64.mul
|
||||
return
|
||||
end
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
f64.const 1.e+300
|
||||
f64.mul
|
||||
return
|
||||
end
|
||||
local.get $10
|
||||
local.get $9
|
||||
f64.const 1e-300
|
||||
f64.mul
|
||||
f64.const 1e-300
|
||||
|
@ -1557,7 +1557,6 @@
|
||||
i32.const 0
|
||||
)
|
||||
(func $~lib/set/Set<i16>#has (; 19 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $1
|
||||
@ -1565,14 +1564,14 @@
|
||||
i32.shl
|
||||
i32.const 16
|
||||
i32.shr_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.const -2128831035
|
||||
i32.xor
|
||||
i32.const 16777619
|
||||
i32.mul
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.xor
|
||||
@ -2122,20 +2121,19 @@
|
||||
end
|
||||
)
|
||||
(func $~lib/set/Set<u16>#has (; 24 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
(local $2 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $1
|
||||
i32.const 65535
|
||||
i32.and
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.const -2128831035
|
||||
i32.xor
|
||||
i32.const 16777619
|
||||
i32.mul
|
||||
local.get $2
|
||||
local.get $0
|
||||
i32.const 8
|
||||
i32.shr_u
|
||||
i32.xor
|
||||
|
@ -4115,44 +4115,44 @@
|
||||
)
|
||||
(func $~lib/internal/number/genDigits (; 48 ;) (type $FUNCSIG$iijijiji) (param $0 i32) (param $1 i64) (param $2 i32) (param $3 i64) (param $4 i32) (param $5 i64) (param $6 i32) (result i32)
|
||||
(local $7 i32)
|
||||
(local $8 i64)
|
||||
(local $9 i32)
|
||||
(local $8 i32)
|
||||
(local $9 i64)
|
||||
(local $10 i32)
|
||||
(local $11 i32)
|
||||
(local $12 i64)
|
||||
(local $11 i64)
|
||||
(local $12 i32)
|
||||
(local $13 i64)
|
||||
(local $14 i64)
|
||||
local.get $3
|
||||
local.get $1
|
||||
i64.sub
|
||||
local.set $12
|
||||
local.set $11
|
||||
i64.const 1
|
||||
i32.const 0
|
||||
local.get $4
|
||||
i32.sub
|
||||
local.tee $11
|
||||
local.tee $10
|
||||
i64.extend_i32_s
|
||||
local.tee $1
|
||||
i64.shl
|
||||
local.tee $13
|
||||
i64.shl
|
||||
local.tee $9
|
||||
i64.const 1
|
||||
i64.sub
|
||||
local.tee $14
|
||||
local.get $3
|
||||
i64.and
|
||||
local.set $8
|
||||
local.set $1
|
||||
local.get $3
|
||||
local.get $1
|
||||
local.get $13
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.tee $7
|
||||
call $~lib/internal/number/decimalCount32
|
||||
local.set $9
|
||||
local.set $8
|
||||
i32.const 4104
|
||||
i32.load
|
||||
local.set $10
|
||||
local.set $12
|
||||
loop $continue|0
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 0
|
||||
i32.gt_s
|
||||
if
|
||||
@ -4167,7 +4167,7 @@
|
||||
block $case3|1
|
||||
block $case2|1
|
||||
block $case1|1
|
||||
local.get $9
|
||||
local.get $8
|
||||
local.tee $2
|
||||
i32.const 10
|
||||
i32.ne
|
||||
@ -4297,40 +4297,43 @@
|
||||
i32.add
|
||||
i32.store16 offset=4
|
||||
end
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $9
|
||||
local.set $8
|
||||
local.get $7
|
||||
i64.extend_i32_u
|
||||
local.get $11
|
||||
local.get $10
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
local.get $8
|
||||
local.get $1
|
||||
i64.add
|
||||
local.tee $1
|
||||
local.tee $3
|
||||
local.get $5
|
||||
i64.le_u
|
||||
if
|
||||
global.get $~lib/internal/number/_K
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.add
|
||||
global.set $~lib/internal/number/_K
|
||||
local.get $5
|
||||
local.set $3
|
||||
local.get $10
|
||||
local.get $9
|
||||
local.set $9
|
||||
local.get $3
|
||||
local.set $1
|
||||
local.get $12
|
||||
local.get $8
|
||||
i32.const 2
|
||||
i32.shl
|
||||
i32.add
|
||||
i64.load32_u offset=8
|
||||
local.get $11
|
||||
local.get $10
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
local.set $8
|
||||
local.get $12
|
||||
local.set $3
|
||||
local.get $11
|
||||
local.set $5
|
||||
local.get $6
|
||||
local.tee $7
|
||||
i32.const 1
|
||||
i32.sub
|
||||
i32.const 1
|
||||
@ -4339,24 +4342,24 @@
|
||||
i32.add
|
||||
local.tee $2
|
||||
i32.load16_u offset=4
|
||||
local.set $10
|
||||
local.set $6
|
||||
loop $continue|2
|
||||
local.get $1
|
||||
local.get $5
|
||||
i64.lt_u
|
||||
local.tee $0
|
||||
if
|
||||
local.get $3
|
||||
local.get $9
|
||||
local.get $1
|
||||
i64.sub
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.ge_u
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
if
|
||||
local.get $1
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $5
|
||||
i64.lt_u
|
||||
@ -4367,7 +4370,7 @@
|
||||
local.get $1
|
||||
i64.sub
|
||||
local.get $1
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $5
|
||||
i64.sub
|
||||
@ -4377,21 +4380,21 @@
|
||||
end
|
||||
local.get $0
|
||||
if
|
||||
local.get $10
|
||||
local.get $6
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $10
|
||||
local.set $6
|
||||
local.get $1
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.add
|
||||
local.set $1
|
||||
br $continue|2
|
||||
end
|
||||
end
|
||||
local.get $2
|
||||
local.get $10
|
||||
i32.store16 offset=4
|
||||
local.get $6
|
||||
i32.store16 offset=4
|
||||
local.get $7
|
||||
return
|
||||
end
|
||||
br $continue|0
|
||||
@ -4402,14 +4405,14 @@
|
||||
i64.const 10
|
||||
i64.mul
|
||||
local.set $5
|
||||
local.get $8
|
||||
local.get $1
|
||||
i64.const 10
|
||||
i64.mul
|
||||
local.tee $8
|
||||
local.get $11
|
||||
local.tee $1
|
||||
local.get $10
|
||||
i64.extend_i32_s
|
||||
i64.shr_u
|
||||
local.tee $1
|
||||
local.tee $3
|
||||
local.get $6
|
||||
i64.extend_i32_s
|
||||
i64.or
|
||||
@ -4426,7 +4429,7 @@
|
||||
i32.shl
|
||||
local.get $0
|
||||
i32.add
|
||||
local.get $1
|
||||
local.get $3
|
||||
i32.wrap_i64
|
||||
i32.const 65535
|
||||
i32.and
|
||||
@ -4434,36 +4437,37 @@
|
||||
i32.add
|
||||
i32.store16 offset=4
|
||||
end
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $9
|
||||
local.get $8
|
||||
local.set $8
|
||||
local.get $1
|
||||
local.get $14
|
||||
i64.and
|
||||
local.tee $8
|
||||
local.tee $1
|
||||
local.get $5
|
||||
i64.ge_u
|
||||
br_if $continue|3
|
||||
global.get $~lib/internal/number/_K
|
||||
local.get $9
|
||||
local.get $8
|
||||
i32.add
|
||||
global.set $~lib/internal/number/_K
|
||||
local.get $13
|
||||
local.set $1
|
||||
local.get $10
|
||||
i32.const 0
|
||||
local.get $1
|
||||
local.set $3
|
||||
local.get $9
|
||||
local.set $1
|
||||
local.get $12
|
||||
i32.const 0
|
||||
local.get $8
|
||||
i32.sub
|
||||
i32.const 2
|
||||
i32.shl
|
||||
i32.add
|
||||
i64.load32_u offset=8
|
||||
local.get $12
|
||||
local.get $11
|
||||
i64.mul
|
||||
local.set $3
|
||||
local.set $9
|
||||
local.get $6
|
||||
local.tee $10
|
||||
i32.const 1
|
||||
i32.sub
|
||||
i32.const 1
|
||||
@ -4472,15 +4476,15 @@
|
||||
i32.add
|
||||
local.tee $4
|
||||
i32.load16_u offset=4
|
||||
local.set $6
|
||||
local.set $7
|
||||
loop $continue|4
|
||||
local.get $8
|
||||
local.get $3
|
||||
local.get $9
|
||||
i64.lt_u
|
||||
local.tee $2
|
||||
if
|
||||
local.get $5
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.sub
|
||||
local.get $1
|
||||
i64.ge_u
|
||||
@ -4489,20 +4493,20 @@
|
||||
local.get $2
|
||||
if
|
||||
local.get $1
|
||||
local.get $8
|
||||
i64.add
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $9
|
||||
i64.lt_u
|
||||
local.tee $2
|
||||
i32.eqz
|
||||
if
|
||||
local.get $9
|
||||
local.get $3
|
||||
local.get $8
|
||||
i64.sub
|
||||
local.get $1
|
||||
local.get $8
|
||||
i64.add
|
||||
local.get $3
|
||||
i64.add
|
||||
local.get $9
|
||||
i64.sub
|
||||
i64.gt_u
|
||||
local.set $2
|
||||
@ -4510,27 +4514,26 @@
|
||||
end
|
||||
local.get $2
|
||||
if
|
||||
local.get $6
|
||||
local.get $7
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $6
|
||||
local.set $7
|
||||
local.get $1
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.add
|
||||
local.set $8
|
||||
local.set $3
|
||||
br $continue|4
|
||||
end
|
||||
end
|
||||
local.get $4
|
||||
local.get $6
|
||||
local.get $7
|
||||
i32.store16 offset=4
|
||||
local.get $10
|
||||
local.get $6
|
||||
end
|
||||
)
|
||||
(func $~lib/internal/number/prettify (; 49 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
(local $3 i32)
|
||||
(local $4 i32)
|
||||
(local $5 i32)
|
||||
local.get $2
|
||||
i32.eqz
|
||||
if
|
||||
@ -4709,7 +4712,7 @@
|
||||
local.tee $3
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
if
|
||||
i32.const 0
|
||||
local.get $3
|
||||
@ -4722,31 +4725,31 @@
|
||||
call $~lib/internal/number/decimalCount32
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $5
|
||||
local.tee $2
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
local.get $4
|
||||
i32.const 45
|
||||
i32.const 43
|
||||
local.get $2
|
||||
local.get $0
|
||||
select
|
||||
i32.store16 offset=4
|
||||
local.get $5
|
||||
local.get $2
|
||||
i32.const 2
|
||||
i32.add
|
||||
else
|
||||
local.get $0
|
||||
i32.const 4
|
||||
i32.add
|
||||
local.tee $4
|
||||
local.tee $2
|
||||
i32.const 4
|
||||
i32.add
|
||||
local.get $4
|
||||
local.get $2
|
||||
i32.const 2
|
||||
i32.add
|
||||
local.get $1
|
||||
i32.const 1
|
||||
i32.shl
|
||||
local.tee $5
|
||||
local.tee $2
|
||||
i32.const 2
|
||||
i32.sub
|
||||
call $~lib/internal/memory/memmove
|
||||
@ -4754,7 +4757,7 @@
|
||||
i32.const 46
|
||||
i32.store16 offset=6
|
||||
local.get $0
|
||||
local.get $5
|
||||
local.get $2
|
||||
i32.add
|
||||
local.tee $0
|
||||
i32.const 101
|
||||
@ -4770,7 +4773,7 @@
|
||||
local.tee $3
|
||||
i32.const 0
|
||||
i32.lt_s
|
||||
local.tee $2
|
||||
local.tee $0
|
||||
if
|
||||
i32.const 0
|
||||
local.get $3
|
||||
@ -4783,16 +4786,16 @@
|
||||
call $~lib/internal/number/decimalCount32
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $0
|
||||
local.tee $2
|
||||
call $~lib/internal/number/utoa32_lut
|
||||
local.get $4
|
||||
i32.const 45
|
||||
i32.const 43
|
||||
local.get $2
|
||||
local.get $0
|
||||
select
|
||||
i32.store16 offset=4
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $2
|
||||
i32.add
|
||||
i32.const 2
|
||||
i32.add
|
||||
@ -4804,21 +4807,22 @@
|
||||
(func $~lib/internal/number/dtoa_core (; 50 ;) (type $FUNCSIG$iid) (param $0 i32) (param $1 f64) (result i32)
|
||||
(local $2 i64)
|
||||
(local $3 i64)
|
||||
(local $4 i32)
|
||||
(local $5 i64)
|
||||
(local $4 i64)
|
||||
(local $5 i32)
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
(local $8 i32)
|
||||
(local $8 i64)
|
||||
(local $9 i64)
|
||||
(local $10 i64)
|
||||
(local $11 i64)
|
||||
(local $12 i64)
|
||||
(local $13 i32)
|
||||
(local $14 i64)
|
||||
(local $12 i32)
|
||||
(local $13 i64)
|
||||
(local $14 i32)
|
||||
(local $15 i64)
|
||||
local.get $1
|
||||
f64.const 0
|
||||
f64.lt
|
||||
local.tee $13
|
||||
local.tee $12
|
||||
if (result f64)
|
||||
local.get $0
|
||||
i32.const 45
|
||||
@ -4829,72 +4833,70 @@
|
||||
local.get $1
|
||||
end
|
||||
i64.reinterpret_f64
|
||||
local.tee $14
|
||||
local.tee $3
|
||||
i64.const 9218868437227405312
|
||||
i64.and
|
||||
i64.const 52
|
||||
i64.shr_u
|
||||
i32.wrap_i64
|
||||
local.set $7
|
||||
local.get $14
|
||||
local.set $6
|
||||
local.get $3
|
||||
i64.const 4503599627370495
|
||||
i64.and
|
||||
local.get $7
|
||||
local.get $6
|
||||
i32.const 0
|
||||
i32.ne
|
||||
local.tee $4
|
||||
local.tee $7
|
||||
i64.extend_i32_u
|
||||
i64.const 52
|
||||
i64.shl
|
||||
i64.add
|
||||
local.set $2
|
||||
local.get $7
|
||||
i32.const 1
|
||||
local.get $4
|
||||
select
|
||||
i32.const 1075
|
||||
i32.sub
|
||||
local.tee $7
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.set $8
|
||||
local.get $2
|
||||
local.tee $4
|
||||
i64.const 1
|
||||
i64.shl
|
||||
i64.const 1
|
||||
i64.add
|
||||
local.tee $5
|
||||
local.tee $3
|
||||
i64.clz
|
||||
i32.wrap_i64
|
||||
local.set $4
|
||||
local.set $5
|
||||
local.get $3
|
||||
local.get $5
|
||||
local.get $4
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
global.set $~lib/internal/number/_frc_plus
|
||||
local.get $2
|
||||
local.get $2
|
||||
local.get $6
|
||||
i32.const 1
|
||||
local.get $7
|
||||
select
|
||||
i32.const 1075
|
||||
i32.sub
|
||||
local.tee $6
|
||||
i32.const 1
|
||||
i32.sub
|
||||
local.get $5
|
||||
i32.sub
|
||||
local.set $5
|
||||
local.get $4
|
||||
local.get $4
|
||||
i64.const 4503599627370496
|
||||
i64.eq
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $6
|
||||
local.tee $7
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
i64.const 1
|
||||
i64.sub
|
||||
local.get $7
|
||||
local.get $6
|
||||
local.get $7
|
||||
i32.sub
|
||||
local.get $8
|
||||
local.get $4
|
||||
i32.sub
|
||||
local.tee $8
|
||||
local.get $5
|
||||
i32.sub
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
global.set $~lib/internal/number/_frc_minus
|
||||
local.get $8
|
||||
local.get $5
|
||||
global.set $~lib/internal/number/_exp
|
||||
i32.const 348
|
||||
i32.const -61
|
||||
@ -4907,8 +4909,8 @@
|
||||
f64.add
|
||||
local.tee $1
|
||||
i32.trunc_f64_s
|
||||
local.tee $4
|
||||
local.get $4
|
||||
local.tee $5
|
||||
local.get $5
|
||||
f64.convert_i32_s
|
||||
local.get $1
|
||||
f64.ne
|
||||
@ -4917,63 +4919,63 @@
|
||||
i32.shr_s
|
||||
i32.const 1
|
||||
i32.add
|
||||
local.tee $8
|
||||
local.tee $5
|
||||
i32.const 3
|
||||
i32.shl
|
||||
local.tee $4
|
||||
local.tee $14
|
||||
i32.sub
|
||||
global.set $~lib/internal/number/_K
|
||||
i32.const 4032
|
||||
i32.load
|
||||
local.set $6
|
||||
local.set $7
|
||||
i32.const 3768
|
||||
i32.load
|
||||
local.get $4
|
||||
local.get $14
|
||||
i32.add
|
||||
i64.load offset=8
|
||||
global.set $~lib/internal/number/_frc_pow
|
||||
local.get $6
|
||||
local.get $8
|
||||
local.get $7
|
||||
local.get $5
|
||||
i32.const 1
|
||||
i32.shl
|
||||
i32.add
|
||||
i32.load16_s offset=8
|
||||
global.set $~lib/internal/number/_exp_pow
|
||||
local.get $2
|
||||
local.get $2
|
||||
local.get $4
|
||||
local.get $4
|
||||
i64.clz
|
||||
i32.wrap_i64
|
||||
local.tee $6
|
||||
local.tee $7
|
||||
i64.extend_i32_s
|
||||
i64.shl
|
||||
local.tee $2
|
||||
local.tee $4
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $9
|
||||
global.get $~lib/internal/number/_frc_pow
|
||||
local.tee $5
|
||||
local.tee $3
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $10
|
||||
i64.mul
|
||||
local.set $3
|
||||
local.get $5
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $11
|
||||
local.get $9
|
||||
i64.mul
|
||||
local.get $2
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $2
|
||||
local.get $10
|
||||
i64.mul
|
||||
local.set $13
|
||||
local.get $3
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $8
|
||||
local.get $9
|
||||
i64.mul
|
||||
local.get $4
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $11
|
||||
local.get $10
|
||||
i64.mul
|
||||
local.get $13
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
local.tee $3
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
i64.add
|
||||
@ -4981,39 +4983,39 @@
|
||||
i64.add
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.get $2
|
||||
local.get $8
|
||||
local.get $11
|
||||
i64.mul
|
||||
local.get $3
|
||||
local.get $2
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
i64.add
|
||||
local.set $14
|
||||
local.get $5
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $2
|
||||
global.get $~lib/internal/number/_frc_plus
|
||||
local.tee $3
|
||||
local.set $15
|
||||
local.get $3
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $11
|
||||
global.get $~lib/internal/number/_frc_plus
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $8
|
||||
i64.mul
|
||||
local.set $12
|
||||
local.get $11
|
||||
local.get $5
|
||||
local.set $4
|
||||
local.get $8
|
||||
local.get $3
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $9
|
||||
i64.mul
|
||||
local.get $11
|
||||
local.get $2
|
||||
local.get $3
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $10
|
||||
i64.mul
|
||||
local.get $12
|
||||
local.get $4
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
@ -5033,39 +5035,40 @@
|
||||
i64.shr_u
|
||||
i64.add
|
||||
i64.add
|
||||
local.set $12
|
||||
local.set $8
|
||||
global.get $~lib/internal/number/_frc_minus
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $9
|
||||
local.get $5
|
||||
local.get $3
|
||||
local.tee $4
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
local.tee $10
|
||||
i64.mul
|
||||
local.set $3
|
||||
local.get $12
|
||||
local.set $13
|
||||
local.get $8
|
||||
i64.const 1
|
||||
i64.sub
|
||||
local.tee $12
|
||||
local.get $5
|
||||
local.tee $3
|
||||
local.get $4
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $11
|
||||
local.tee $8
|
||||
local.get $9
|
||||
i64.mul
|
||||
local.get $2
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.tee $2
|
||||
local.tee $11
|
||||
local.get $10
|
||||
i64.mul
|
||||
local.get $3
|
||||
local.get $13
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
local.tee $3
|
||||
local.tee $2
|
||||
i64.const 4294967295
|
||||
i64.and
|
||||
i64.add
|
||||
@ -5073,10 +5076,10 @@
|
||||
i64.add
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
local.get $2
|
||||
local.get $8
|
||||
local.get $11
|
||||
i64.mul
|
||||
local.get $3
|
||||
local.get $2
|
||||
i64.const 32
|
||||
i64.shr_u
|
||||
i64.add
|
||||
@ -5084,36 +5087,36 @@
|
||||
i64.const 1
|
||||
i64.add
|
||||
i64.sub
|
||||
local.set $3
|
||||
local.get $13
|
||||
local.set $2
|
||||
local.get $12
|
||||
i32.const 1
|
||||
i32.shl
|
||||
local.get $0
|
||||
i32.add
|
||||
local.get $0
|
||||
local.get $14
|
||||
local.get $7
|
||||
local.get $15
|
||||
local.get $6
|
||||
local.get $7
|
||||
i32.sub
|
||||
global.get $~lib/internal/number/_exp_pow
|
||||
local.tee $6
|
||||
i32.add
|
||||
i32.const -64
|
||||
i32.sub
|
||||
local.get $12
|
||||
local.get $3
|
||||
global.get $~lib/internal/number/_exp
|
||||
local.get $6
|
||||
i32.add
|
||||
i32.const -64
|
||||
i32.sub
|
||||
local.get $3
|
||||
local.get $13
|
||||
local.get $2
|
||||
local.get $12
|
||||
call $~lib/internal/number/genDigits
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.sub
|
||||
global.get $~lib/internal/number/_K
|
||||
call $~lib/internal/number/prettify
|
||||
local.get $13
|
||||
local.get $12
|
||||
i32.add
|
||||
)
|
||||
(func $~lib/string/String#substring (; 51 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
|
@ -2370,7 +2370,7 @@
|
||||
i32.const 1
|
||||
i32.ne
|
||||
if
|
||||
local.get $1
|
||||
local.get $0
|
||||
i32.const 2
|
||||
i32.sub
|
||||
br_table $case1|0 $case2|0 $case3|0 $case4|0 $case5|0 $case6|0 $case7|0 $case8|0 $case9|0 $case10|0 $case11|0
|
||||
@ -2411,17 +2411,17 @@
|
||||
global.get $~lib/symbol/idToString
|
||||
i32.const 0
|
||||
i32.ne
|
||||
local.tee $1
|
||||
local.tee $0
|
||||
if
|
||||
global.get $~lib/symbol/idToString
|
||||
local.get $0
|
||||
local.get $1
|
||||
call $~lib/map/Map<usize,String>#has
|
||||
local.set $1
|
||||
local.set $0
|
||||
end
|
||||
local.get $1
|
||||
local.get $0
|
||||
if (result i32)
|
||||
global.get $~lib/symbol/idToString
|
||||
local.get $0
|
||||
local.get $1
|
||||
call $~lib/map/Map<usize,String>#get
|
||||
else
|
||||
i32.const 168
|
||||
|
@ -467,12 +467,13 @@
|
||||
)
|
||||
(func $~lib/typedarray/Int8Array#constructor (; 5 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
||||
local.get $0
|
||||
if (result i32)
|
||||
local.get $0
|
||||
else
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 12
|
||||
call $~lib/allocator/arena/__memory_allocate
|
||||
local.set $0
|
||||
end
|
||||
local.get $0
|
||||
local.get $1
|
||||
call $~lib/internal/typedarray/TypedArray<i8>#constructor
|
||||
)
|
||||
@ -8842,11 +8843,11 @@
|
||||
end
|
||||
)
|
||||
(func $std/typedarray/testArrayForEach<Int32Array,i32>~anonymous|0 (; 204 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
||||
(local $3 i32)
|
||||
local.get $0
|
||||
local.get $1
|
||||
global.get $std/typedarray/forEachValues
|
||||
i32.load
|
||||
local.tee $3
|
||||
local.tee $0
|
||||
i32.load
|
||||
i32.const 2
|
||||
i32.shr_u
|
||||
@ -8855,13 +8856,12 @@
|
||||
local.get $1
|
||||
i32.const 2
|
||||
i32.shl
|
||||
local.get $3
|
||||
local.get $0
|
||||
i32.add
|
||||
i32.load offset=8
|
||||
else
|
||||
unreachable
|
||||
end
|
||||
local.get $0
|
||||
i32.ne
|
||||
if
|
||||
i32.const 664
|
||||
|
@ -11,7 +11,6 @@
|
||||
(export "table" (table $0))
|
||||
(start $start)
|
||||
(func $switch/doSwitch (; 1 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
(local $1 i32)
|
||||
block $case4|0
|
||||
block $case2|0
|
||||
local.get $0
|
||||
@ -19,14 +18,13 @@
|
||||
i32.ne
|
||||
if
|
||||
local.get $0
|
||||
local.tee $1
|
||||
i32.eqz
|
||||
br_if $case2|0
|
||||
local.get $1
|
||||
local.get $0
|
||||
i32.const 2
|
||||
i32.eq
|
||||
br_if $case4|0
|
||||
local.get $1
|
||||
local.get $0
|
||||
i32.const 3
|
||||
i32.eq
|
||||
br_if $case4|0
|
||||
@ -41,7 +39,6 @@
|
||||
i32.const 23
|
||||
)
|
||||
(func $switch/doSwitchDefaultOmitted (; 2 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
(local $1 i32)
|
||||
block $break|0
|
||||
block $case2|0
|
||||
local.get $0
|
||||
@ -49,11 +46,10 @@
|
||||
i32.ne
|
||||
if
|
||||
local.get $0
|
||||
local.tee $1
|
||||
i32.const 2
|
||||
i32.eq
|
||||
br_if $case2|0
|
||||
local.get $1
|
||||
local.get $0
|
||||
i32.const 3
|
||||
i32.eq
|
||||
br_if $case2|0
|
||||
|
Loading…
x
Reference in New Issue
Block a user