Impressum simd_f64x2.wast.js
Interaktion und PortierbarkeitJAVA
|
|
// |jit-test| skip-if: !wasmSimdEnabled()
/* Copyright 2021 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// ./test/core/simd/simd_f64x2.wast
// ./test/core/simd/simd_f64x2.wast:4
let $0 = instantiate(`(module
(func (export "f64x2.min") (param v128 v128) (result v128) (f64x2.min (local.get 0) (local. get 1)))
(func (export "f64x2.max") (param v128 v128) (result v128) (f64x2.max (local.get 0) (local.get 1)))
(func (export "f64x2.abs") (param v128) (result v128) (f64x2.abs (local.get 0)))
;; f64x2.min const vs const
(func (export "f64x2.min_with_const_0") (result v128) (f64x2.min (v128.const f64x2 0 1) (v128.const f64x2 0 2)))
(func (export "f64x2.min_with_const_1") (result v128) (f64x2.min (v128.const f64x2 2 -3) (v128.const f64x2 1 3)))
(func (export "f64x2.min_with_const_2") (result v128) (f64x2.min (v128.const f64x2 0 1) (v128.const f64x2 0 1)))
(func (export "f64x2.min_with_const_3") (result v128) (f64x2.min (v128.const f64x2 2 3) (v128.const f64x2 2 3)))
(func (export "f64x2.min_with_const_4") (result v128) (f64x2.min (v128.const f64x2 0x00 0x01) (v128.const f64x2 0x00 0x02)))
(func (export "f64x2.min_with_const_5") (result v128) (f64x2.min (v128.const f64x2 0x02 0x80000000) (v128.const f64x2 0x01 2147483648)))
(func (export "f64x2.min_with_const_6") (result v128) (f64x2.min (v128.const f64x2 0x00 0x01) (v128.const f64x2 0x00 0x01)))
(func (export "f64x2.min_with_const_7") (result v128) (f64x2.min (v128.const f64x2 0x02 0x80000000) (v128.const f64x2 0x02 0x80000000)))
;; f64x2.min param vs const
(func (export "f64x2.min_with_const_9") (param v128) (result v128) (f64x2.min (local.get 0) (v128.const f64x2 0 1)))
(func (export "f64x2.min_with_const_10") (param v128) (result v128) (f64x2.min (v128.const f64x2 2 -3) (local.get 0)))
(func (export "f64x2.min_with_const_11") (param v128) (result v128) (f64x2.min (v128.const f64x2 0 1) (local.get 0)))
(func (export "f64x2.min_with_const_12") (param v128) (result v128) (f64x2.min (local.get 0) (v128.const f64x2 2 3)))
(func (export "f64x2.min_with_const_13") (param v128) (result v128) (f64x2.min (v128.const f64x2 0x00 0x01) (local.get 0)))
(func (export "f64x2.min_with_const_14") (param v128) (result v128) (f64x2.min (v128.const f64x2 0x02 0x80000000) (local.get 0)))
(func (export "f64x2.min_with_const_15") (param v128) (result v128) (f64x2.min (v128.const f64x2 0x00 0x01) (local.get 0)))
(func (export "f64x2.min_with_const_16") (param v128) (result v128) (f64x2.min (v128.const f64x2 0x02 0x80000000) (local.get 0)))
;; f64x2.max const vs const
(func (export "f64x2.max_with_const_18") (result v128) (f64x2.max (v128.const f64x2 0 1) (v128.const f64x2 0 2)))
(func (export "f64x2.max_with_const_19") (result v128) (f64x2.max (v128.const f64x2 2 -3) (v128.const f64x2 1 3)))
(func (export "f64x2.max_with_const_20") (result v128) (f64x2.max (v128.const f64x2 0 1) (v128.const f64x2 0 1)))
(func (export "f64x2.max_with_const_21") (result v128) (f64x2.max (v128.const f64x2 2 3) (v128.const f64x2 2 3)))
(func (export "f64x2.max_with_const_22") (result v128) (f64x2.max (v128.const f64x2 0x00 0x01) (v128.const f64x2 0x00 0x02)))
(func (export "f64x2.max_with_const_23") (result v128) (f64x2.max (v128.const f64x2 0x02 0x80000000) (v128.const f64x2 0x01 2147483648)))
(func (export "f64x2.max_with_const_24") (result v128) (f64x2.max (v128.const f64x2 0x00 0x01) (v128.const f64x2 0x00 0x01)))
(func (export "f64x2.max_with_const_25") (result v128) (f64x2.max (v128.const f64x2 0x02 0x80000000) (v128.const f64x2 0x02 0x80000000)))
;; f64x2.max param vs const
(func (export "f64x2.max_with_const_27") (param v128) (result v128) (f64x2.max (local.get 0) (v128.const f64x2 0 1)))
(func (export "f64x2.max_with_const_28") (param v128) (result v128) (f64x2.max (v128.const f64x2 2 -3) (local.get 0)))
(func (export "f64x2.max_with_const_29") (param v128) (result v128) (f64x2.max (v128.const f64x2 0 1) (local.get 0)))
(func (export "f64x2.max_with_const_30") (param v128) (result v128) (f64x2.max (local.get 0) (v128.const f64x2 2 3)))
(func (export "f64x2.max_with_const_31") (param v128) (result v128) (f64x2.max (v128.const f64x2 0x00 0x01) (local.get 0)))
(func (export "f64x2.max_with_const_32") (param v128) (result v128) (f64x2.max (v128.const f64x2 0x02 0x80000000) (local.get 0)))
(func (export "f64x2.max_with_const_33") (param v128) (result v128) (f64x2.max (v128.const f64x2 0x00 0x01) (local.get 0)))
(func (export "f64x2.max_with_const_34") (param v128) (result v128) (f64x2.max (v128.const f64x2 0x02 0x80000000) (local.get 0)))
(func (export "f64x2.abs_with_const_35") (result v128) (f64x2.abs (v128.const f64x2 -0 -1)))
(func (export "f64x2.abs_with_const_36") (result v128) (f64x2.abs (v128.const f64x2 -2 -3)))
)`);
// ./test/core/simd/simd_f64x2.wast:50
assert_return(
() => invoke($0, `f64x2.min_with_const_0`, []),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:51
assert_return(
() => invoke($0, `f64x2.min_with_const_1`, []),
[new F64x2Pattern(value("f64", 1), value("f64", -3))],
);
// ./test/core/simd/simd_f64x2.wast:52
assert_return(
() => invoke($0, `f64x2.min_with_const_2`, []),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:53
assert_return(
() => invoke($0, `f64x2.min_with_const_3`, []),
[new F64x2Pattern(value("f64", 2), value("f64", 3))],
);
// ./test/core/simd/simd_f64x2.wast:55
assert_return(
() => invoke($0, `f64x2.min_with_const_4`, []),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:56
assert_return(
() => invoke($0, `f64x2.min_with_const_5`, []),
[new F64x2Pattern(value("f64", 1), value("f64", 2147483648))],
);
// ./test/core/simd/simd_f64x2.wast:57
assert_return(
() => invoke($0, `f64x2.min_with_const_6`, []),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:58
assert_return(
() => invoke($0, `f64x2.min_with_const_7`, []),
[new F64x2Pattern(value("f64", 2), value("f64", 2147483648))],
);
// ./test/core/simd/simd_f64x2.wast:59
assert_return(
() => invoke($0, `f64x2.min_with_const_9`, [f64x2([0, 2])]),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:61
assert_return(
() => invoke($0, `f64x2.min_with_const_10`, [f64x2([1, 3])]),
[new F64x2Pattern(value("f64", 1), value("f64", -3))],
);
// ./test/core/simd/simd_f64x2.wast:63
assert_return(
() => invoke($0, `f64x2.min_with_const_11`, [f64x2([0, 1])]),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:65
assert_return(
() => invoke($0, `f64x2.min_with_const_12`, [f64x2([2, 3])]),
[new F64x2Pattern(value("f64", 2), value("f64", 3))],
);
// ./test/core/simd/simd_f64x2.wast:67
assert_return(
() => invoke($0, `f64x2.min_with_const_13`, [f64x2([0, 2])]),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:69
assert_return(
() => invoke($0, `f64x2.min_with_const_14`, [f64x2([1, 2147483648])]),
[new F64x2Pattern(value("f64", 1), value("f64", 2147483648))],
);
// ./test/core/simd/simd_f64x2.wast:71
assert_return(
() => invoke($0, `f64x2.min_with_const_15`, [f64x2([0, 1])]),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:73
assert_return(
() => invoke($0, `f64x2.min_with_const_16`, [f64x2([2, 2147483648])]),
[new F64x2Pattern(value("f64", 2), value("f64", 2147483648))],
);
// ./test/core/simd/simd_f64x2.wast:76
assert_return(
() => invoke($0, `f64x2.max_with_const_18`, []),
[new F64x2Pattern(value("f64", 0), value("f64", 2))],
);
// ./test/core/simd/simd_f64x2.wast:77
assert_return(
() => invoke($0, `f64x2.max_with_const_19`, []),
[new F64x2Pattern(value("f64", 2), value("f64", 3))],
);
// ./test/core/simd/simd_f64x2.wast:78
assert_return(
() => invoke($0, `f64x2.max_with_const_20`, []),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:79
assert_return(
() => invoke($0, `f64x2.max_with_const_21`, []),
[new F64x2Pattern(value("f64", 2), value("f64", 3))],
);
// ./test/core/simd/simd_f64x2.wast:81
assert_return(
() => invoke($0, `f64x2.max_with_const_22`, []),
[new F64x2Pattern(value("f64", 0), value("f64", 2))],
);
// ./test/core/simd/simd_f64x2.wast:82
assert_return(
() => invoke($0, `f64x2.max_with_const_23`, []),
[new F64x2Pattern(value("f64", 2), value("f64", 2147483648))],
);
// ./test/core/simd/simd_f64x2.wast:83
assert_return(
() => invoke($0, `f64x2.max_with_const_24`, []),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:84
assert_return(
() => invoke($0, `f64x2.max_with_const_25`, []),
[new F64x2Pattern(value("f64", 2), value("f64", 2147483648))],
);
// ./test/core/simd/simd_f64x2.wast:85
assert_return(
() => invoke($0, `f64x2.max_with_const_27`, [f64x2([0, 2])]),
[new F64x2Pattern(value("f64", 0), value("f64", 2))],
);
// ./test/core/simd/simd_f64x2.wast:87
assert_return(
() => invoke($0, `f64x2.max_with_const_28`, [f64x2([1, 3])]),
[new F64x2Pattern(value("f64", 2), value("f64", 3))],
);
// ./test/core/simd/simd_f64x2.wast:89
assert_return(
() => invoke($0, `f64x2.max_with_const_29`, [f64x2([0, 1])]),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:91
assert_return(
() => invoke($0, `f64x2.max_with_const_30`, [f64x2([2, 3])]),
[new F64x2Pattern(value("f64", 2), value("f64", 3))],
);
// ./test/core/simd/simd_f64x2.wast:93
assert_return(
() => invoke($0, `f64x2.max_with_const_31`, [f64x2([0, 2])]),
[new F64x2Pattern(value("f64", 0), value("f64", 2))],
);
// ./test/core/simd/simd_f64x2.wast:95
assert_return(
() => invoke($0, `f64x2.max_with_const_32`, [f64x2([1, 2147483648])]),
[new F64x2Pattern(value("f64", 2), value("f64", 2147483648))],
);
// ./test/core/simd/simd_f64x2.wast:97
assert_return(
() => invoke($0, `f64x2.max_with_const_33`, [f64x2([0, 1])]),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:99
assert_return(
() => invoke($0, `f64x2.max_with_const_34`, [f64x2([2, 2147483648])]),
[new F64x2Pattern(value("f64", 2), value("f64", 2147483648))],
);
// ./test/core/simd/simd_f64x2.wast:102
assert_return(
() => invoke($0, `f64x2.abs_with_const_35`, []),
[new F64x2Pattern(value("f64", 0), value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:103
assert_return(
() => invoke($0, `f64x2.abs_with_const_36`, []),
[new F64x2Pattern(value("f64", 2), value("f64", 3))],
);
// ./test/core/simd/simd_f64x2.wast:107
assert_return(
() => invoke($0, `f64x2.min`, [
bytes('v128', [
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0xf8,
0x7f,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
]),
f64x2([0, 1]),
]),
[new F64x2Pattern(`canonical_nan`, value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:115
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 1]),
bytes('v128', [
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0xf8,
0xff,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
]),
]),
[new F64x2Pattern(`canonical_nan`, value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:123
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 1]),
bytes('v128', [
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0xf8,
0xff,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0xf0,
0x3f,
]),
]),
[new F64x2Pattern(`canonical_nan`, value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:131
assert_return(
() => invoke($0, `f64x2.max`, [
bytes('v128', [
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0xf8,
0x7f,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
]),
f64x2([0, 1]),
]),
[new F64x2Pattern(`canonical_nan`, value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:139
assert_return(
() => invoke($0, `f64x2.max`, [
f64x2([0, 1]),
bytes('v128', [
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0xf8,
0xff,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
]),
]),
[new F64x2Pattern(`canonical_nan`, value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:147
assert_return(
() => invoke($0, `f64x2.max`, [
f64x2([0, 1]),
bytes('v128', [
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0xf8,
0xff,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0xf0,
0x3f,
]),
]),
[new F64x2Pattern(`canonical_nan`, value("f64", 1))],
);
// ./test/core/simd/simd_f64x2.wast:155
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([0, 0]), f64x2([0, 0])]),
[new F64x2Pattern(value("f64", 0), value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:158
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([0, 0]), f64x2([-0, -0])]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:161
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 0]),
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
]),
[new F64x2Pattern(value("f64", 0), value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:164
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 0]),
f64x2([
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
]),
[
new F64x2Pattern(
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005),
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005),
),
],
);
// ./test/core/simd/simd_f64x2.wast:167
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 0]),
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
]),
]),
[new F64x2Pattern(value("f64", 0), value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:170
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 0]),
f64x2([
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
]),
]),
[
new F64x2Pattern(
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014),
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014),
),
],
);
// ./test/core/simd/simd_f64x2.wast:173
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([0, 0]), f64x2([0.5, 0.5])]),
[new F64x2Pattern(value("f64", 0), value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:176
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([0, 0]), f64x2([-0.5, -0.5])]),
[new F64x2Pattern(value("f64", -0.5), value("f64", -0.5))],
);
// ./test/core/simd/simd_f64x2.wast:179
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([0, 0]), f64x2([1, 1])]),
[new F64x2Pattern(value("f64", 0), value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:182
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([0, 0]), f64x2([-1, -1])]),
[new F64x2Pattern(value("f64", -1), value("f64", -1))],
);
// ./test/core/simd/simd_f64x2.wast:185
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 0]),
f64x2([6.283185307179586, 6.283185307179586]),
]),
[new F64x2Pattern(value("f64", 0), value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:188
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 0]),
f64x2([-6.283185307179586, -6.283185307179586]),
]),
[
new F64x2Pattern(
value("f64", -6.283185307179586),
value("f64", -6.283185307179586),
),
],
);
// ./test/core/simd/simd_f64x2.wast:191
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 0]),
f64x2([
179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
]),
]),
[new F64x2Pattern(value("f64", 0), value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:194
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([0, 0]),
f64x2([
-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
]),
]),
[
new F64x2Pattern(
value("f64", -179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000),
value("f64", -179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000),
),
],
);
// ./test/core/simd/simd_f64x2.wast:197
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([0, 0]), f64x2([Infinity, Infinity])]),
[new F64x2Pattern(value("f64", 0), value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:200
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([0, 0]), f64x2([-Infinity, -Infinity])]),
[new F64x2Pattern(value("f64", -Infinity), value("f64", -Infinity))],
);
// ./test/core/simd/simd_f64x2.wast:203
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([-0, -0]), f64x2([0, 0])]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:206
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([-0, -0]), f64x2([-0, -0])]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:209
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([-0, -0]),
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:212
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([-0, -0]),
f64x2([
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
]),
[
new F64x2Pattern(
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005),
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005),
),
],
);
// ./test/core/simd/simd_f64x2.wast:215
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([-0, -0]),
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
]),
]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:218
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([-0, -0]),
f64x2([
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
]),
]),
[
new F64x2Pattern(
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014),
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014),
),
],
);
// ./test/core/simd/simd_f64x2.wast:221
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([-0, -0]), f64x2([0.5, 0.5])]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:224
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([-0, -0]), f64x2([-0.5, -0.5])]),
[new F64x2Pattern(value("f64", -0.5), value("f64", -0.5))],
);
// ./test/core/simd/simd_f64x2.wast:227
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([-0, -0]), f64x2([1, 1])]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:230
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([-0, -0]), f64x2([-1, -1])]),
[new F64x2Pattern(value("f64", -1), value("f64", -1))],
);
// ./test/core/simd/simd_f64x2.wast:233
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([-0, -0]),
f64x2([6.283185307179586, 6.283185307179586]),
]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:236
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([-0, -0]),
f64x2([-6.283185307179586, -6.283185307179586]),
]),
[
new F64x2Pattern(
value("f64", -6.283185307179586),
value("f64", -6.283185307179586),
),
],
);
// ./test/core/simd/simd_f64x2.wast:239
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([-0, -0]),
f64x2([
179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
]),
]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:242
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([-0, -0]),
f64x2([
-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
]),
]),
[
new F64x2Pattern(
value("f64", -179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000),
value("f64", -179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000),
),
],
);
// ./test/core/simd/simd_f64x2.wast:245
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([-0, -0]), f64x2([Infinity, Infinity])]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:248
assert_return(
() => invoke($0, `f64x2.min`, [f64x2([-0, -0]), f64x2([-Infinity, -Infinity])]),
[new F64x2Pattern(value("f64", -Infinity), value("f64", -Infinity))],
);
// ./test/core/simd/simd_f64x2.wast:251
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
f64x2([0, 0]),
]),
[new F64x2Pattern(value("f64", 0), value("f64", 0))],
);
// ./test/core/simd/simd_f64x2.wast:254
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
f64x2([-0, -0]),
]),
[new F64x2Pattern(value("f64", -0), value("f64", -0))],
);
// ./test/core/simd/simd_f64x2.wast:257
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
]),
[
new F64x2Pattern(
value("f64", 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005),
value("f64", 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005),
),
],
);
// ./test/core/simd/simd_f64x2.wast:260
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
f64x2([
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
-0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
]),
[
new F64x2Pattern(
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005),
value("f64", -0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005),
),
],
);
// ./test/core/simd/simd_f64x2.wast:263
assert_return(
() => invoke($0, `f64x2.min`, [
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005,
]),
f64x2([
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585072014,
]),
]),
[
new F64x2Pattern(
value("f64", 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005),
value("f64", 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |