Skip to content

Commit 1d20e5b

Browse files
authored
Update spec test suite submodule (bytecodealliance#1740)
Nothing major here, just minor updates
1 parent 223442f commit 1d20e5b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+2152
-893
lines changed

tests/snapshots/testsuite/float_exprs.wast.json

Lines changed: 1268 additions & 658 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
(module
22
(type (;0;) (func (param f64 f32) (result f32)))
3+
(type (;1;) (func (param f32 f64) (result f32)))
34
(func (;0;) (type 0) (param $x f64) (param $y f32) (result f32)
45
local.get $x
56
local.get $y
67
f64.promote_f32
78
f64.sub
89
f32.demote_f64
910
)
11+
(func (;1;) (type 1) (param $y f32) (param $x f64) (result f32)
12+
local.get $y
13+
f64.promote_f32
14+
local.get $x
15+
f64.sub
16+
f32.demote_f64
17+
)
1018
(export "no_demote_mixed_sub" (func 0))
19+
(export "no_demote_mixed_sub_commuted" (func 1))
1120
)
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
(module
2+
(type (;0;) (func (param f64 f32) (result f32)))
3+
(type (;1;) (func (param f32 f64) (result f32)))
4+
(func (;0;) (type 0) (param $x f64) (param $y f32) (result f32)
5+
local.get $x
6+
local.get $y
7+
f64.promote_f32
8+
f64.mul
9+
f32.demote_f64
10+
)
11+
(func (;1;) (type 1) (param $y f32) (param $x f64) (result f32)
12+
local.get $y
13+
f64.promote_f32
14+
local.get $x
15+
f64.mul
16+
f32.demote_f64
17+
)
18+
(export "no_demote_mixed_mul" (func 0))
19+
(export "no_demote_mixed_mul_commuted" (func 1))
20+
)
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
(module
2+
(type (;0;) (func (param f64 f32) (result f32)))
3+
(type (;1;) (func (param f32 f64) (result f32)))
4+
(func (;0;) (type 0) (param $x f64) (param $y f32) (result f32)
5+
local.get $x
6+
local.get $y
7+
f64.promote_f32
8+
f64.div
9+
f32.demote_f64
10+
)
11+
(func (;1;) (type 1) (param $y f32) (param $x f64) (result f32)
12+
local.get $y
13+
f64.promote_f32
14+
local.get $x
15+
f64.div
16+
f32.demote_f64
17+
)
18+
(export "no_demote_mixed_div" (func 0))
19+
(export "no_demote_mixed_div_commuted" (func 1))
20+
)

0 commit comments

Comments
 (0)