2017-12-03 23:04:33 +01:00
|
|
|
(module
|
2018-02-04 07:51:40 +01:00
|
|
|
(type $iiiiv (func (param i32 i32 i32 i32)))
|
2018-01-21 16:34:50 +01:00
|
|
|
(type $i (func (result i32)))
|
2017-12-03 23:04:33 +01:00
|
|
|
(type $v (func))
|
2018-02-04 07:51:40 +01:00
|
|
|
(import "env" "abort" (func $abort (param i32 i32 i32 i32)))
|
2018-01-04 06:00:42 +01:00
|
|
|
(global $builtins/b (mut i32) (i32.const 0))
|
2017-12-03 23:04:33 +01:00
|
|
|
(global $builtins/i (mut i32) (i32.const 0))
|
|
|
|
(global $builtins/I (mut i64) (i64.const 0))
|
|
|
|
(global $builtins/f (mut f32) (f32.const 0))
|
|
|
|
(global $builtins/F (mut f64) (f64.const 0))
|
2018-01-21 16:34:50 +01:00
|
|
|
(global $builtins/constantOffset i32 (i32.const 8))
|
2018-01-23 15:44:25 +01:00
|
|
|
(global $builtins/u (mut i32) (i32.const 0))
|
|
|
|
(global $builtins/U (mut i64) (i64.const 0))
|
2017-12-03 23:04:33 +01:00
|
|
|
(global $builtins/s (mut i32) (i32.const 0))
|
2018-03-17 12:54:37 +01:00
|
|
|
(global $HEAP_BASE i32 (i32.const 40))
|
2017-12-03 23:04:33 +01:00
|
|
|
(memory $0 1)
|
2018-02-14 09:18:43 +01:00
|
|
|
(data (i32.const 4) "\0b\00\00\00b\00u\00i\00l\00t\00i\00n\00s\00.\00t\00s\00")
|
2018-03-17 12:54:37 +01:00
|
|
|
(data (i32.const 32) "\01\00\00\001\00")
|
2017-12-30 05:11:58 +01:00
|
|
|
(export "test" (func $builtins/test))
|
2017-12-03 23:04:33 +01:00
|
|
|
(export "memory" (memory $0))
|
|
|
|
(start $start)
|
2018-02-04 07:51:40 +01:00
|
|
|
(func $builtins/test (; 1 ;) (type $v)
|
2017-12-30 05:11:58 +01:00
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(func $start (; 2 ;) (type $v)
|
2017-12-05 22:47:20 +01:00
|
|
|
(local $0 i32)
|
|
|
|
(local $1 i32)
|
2017-12-12 09:32:03 +01:00
|
|
|
(local $2 i64)
|
|
|
|
(local $3 i64)
|
|
|
|
(local $4 f32)
|
|
|
|
(local $5 f64)
|
2018-03-17 12:54:37 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 5)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 6)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 7)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 9)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 10)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 11)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 12)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 13)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eqz
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 4)
|
|
|
|
(i32.const 14)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
(drop
|
|
|
|
(i32.clz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.ctz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.popcnt
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.rotl
|
|
|
|
(i32.const 1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.rotr
|
|
|
|
(i32.const 1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(drop
|
|
|
|
(select
|
2018-01-10 13:09:05 +01:00
|
|
|
(tee_local $0
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const -42)
|
2018-01-10 13:09:05 +01:00
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.gt_s
|
2017-12-05 22:47:20 +01:00
|
|
|
(get_local $0)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(select
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $0
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $1
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(i32.gt_s
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $0)
|
2017-12-05 22:47:20 +01:00
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(select
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $0
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $1
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(i32.lt_s
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $0)
|
|
|
|
(get_local $1)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.clz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.ctz
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.popcnt
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.rotl
|
|
|
|
(i32.const 1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.rotr
|
|
|
|
(i32.const 1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(set_global $builtins/i
|
|
|
|
(select
|
2018-01-10 13:09:05 +01:00
|
|
|
(tee_local $0
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const -42)
|
2018-01-10 13:09:05 +01:00
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.sub
|
|
|
|
(i32.const 0)
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $0)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.gt_s
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $0)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(get_global $builtins/i)
|
|
|
|
(i32.const 42)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 34)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 19)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(select
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $0
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $1
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(i32.gt_s
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $0)
|
|
|
|
(get_local $1)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(get_global $builtins/i)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 35)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 20)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(select
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $0
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $1
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(i32.lt_s
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $0)
|
|
|
|
(get_local $1)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(get_global $builtins/i)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 36)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 20)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
(drop
|
|
|
|
(i64.clz
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i64.ctz
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i64.popcnt
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i64.rotl
|
|
|
|
(i64.const 1)
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i64.rotr
|
|
|
|
(i64.const 1)
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(drop
|
|
|
|
(select
|
2018-01-10 13:09:05 +01:00
|
|
|
(tee_local $2
|
2018-02-14 09:18:43 +01:00
|
|
|
(i64.const -42)
|
2018-01-10 13:09:05 +01:00
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i64.sub
|
|
|
|
(i64.const 0)
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $2)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2018-01-10 13:09:05 +01:00
|
|
|
(i64.gt_s
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $2)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i64.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.clz
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.ctz
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.popcnt
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.rotl
|
|
|
|
(i64.const 1)
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.rotr
|
|
|
|
(i64.const 1)
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(set_global $builtins/I
|
|
|
|
(select
|
2018-01-10 13:09:05 +01:00
|
|
|
(tee_local $2
|
2018-02-14 09:18:43 +01:00
|
|
|
(i64.const -42)
|
2018-01-10 13:09:05 +01:00
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i64.sub
|
|
|
|
(i64.const 0)
|
2018-01-10 13:09:05 +01:00
|
|
|
(get_local $2)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2018-01-10 13:09:05 +01:00
|
|
|
(i64.gt_s
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $2)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i64.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i64.eq
|
|
|
|
(get_global $builtins/I)
|
|
|
|
(i64.const 42)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 52)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 19)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(select
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $2
|
2017-12-05 22:47:20 +01:00
|
|
|
(i64.const 1)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $3
|
2017-12-05 22:47:20 +01:00
|
|
|
(i64.const 2)
|
|
|
|
)
|
|
|
|
(i64.gt_s
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $2)
|
|
|
|
(get_local $3)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i64.eq
|
|
|
|
(get_global $builtins/I)
|
|
|
|
(i64.const 2)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 53)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 20)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(select
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $2
|
2017-12-05 22:47:20 +01:00
|
|
|
(i64.const 1)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $3
|
2017-12-05 22:47:20 +01:00
|
|
|
(i64.const 2)
|
|
|
|
)
|
|
|
|
(i64.lt_s
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $2)
|
|
|
|
(get_local $3)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(get_global $builtins/i)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 54)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 20)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
(drop
|
|
|
|
(f32.const nan:0x400000)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.const inf)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.abs
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.ceil
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.copysign
|
|
|
|
(f32.const 1.25)
|
|
|
|
(f32.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.floor
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.max
|
|
|
|
(f32.const 1.25)
|
|
|
|
(f32.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.min
|
|
|
|
(f32.const 1.25)
|
|
|
|
(f32.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.nearest
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.sqrt
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.trunc
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.ne
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $4
|
2017-12-03 23:04:33 +01:00
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $4)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(select
|
|
|
|
(f32.ne
|
|
|
|
(f32.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $4
|
2017-12-04 14:49:24 +01:00
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
(f32.const inf)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
(i32.const 0)
|
|
|
|
(f32.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $4)
|
|
|
|
(get_local $4)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.const nan:0x400000)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.const inf)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.abs
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.ceil
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.copysign
|
|
|
|
(f32.const 1.25)
|
|
|
|
(f32.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.floor
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.max
|
|
|
|
(f32.const 1.25)
|
|
|
|
(f32.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.min
|
|
|
|
(f32.const 1.25)
|
|
|
|
(f32.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.nearest
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.sqrt
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.trunc
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/b
|
|
|
|
(f32.ne
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $4
|
2017-12-03 23:04:33 +01:00
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $4)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/b
|
|
|
|
(select
|
|
|
|
(f32.ne
|
|
|
|
(f32.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $4
|
2017-12-04 14:49:24 +01:00
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
(f32.const inf)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
(i32.const 0)
|
|
|
|
(f32.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $4)
|
|
|
|
(get_local $4)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.const nan:0x8000000000000)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.const inf)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.const nan:0x8000000000000)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.const inf)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.abs
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.ceil
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.copysign
|
|
|
|
(f64.const 1.25)
|
|
|
|
(f64.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.floor
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.max
|
|
|
|
(f64.const 1.25)
|
|
|
|
(f64.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.min
|
|
|
|
(f64.const 1.25)
|
|
|
|
(f64.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.nearest
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.sqrt
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.trunc
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.ne
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $5
|
2017-12-03 23:04:33 +01:00
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $5)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(select
|
|
|
|
(f64.ne
|
|
|
|
(f64.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $5
|
2017-12-04 14:49:24 +01:00
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
(f64.const inf)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
(i32.const 0)
|
|
|
|
(f64.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $5)
|
|
|
|
(get_local $5)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.const nan:0x8000000000000)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.const inf)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.abs
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.ceil
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.copysign
|
|
|
|
(f64.const 1.25)
|
|
|
|
(f64.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.floor
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.max
|
|
|
|
(f64.const 1.25)
|
|
|
|
(f64.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.min
|
|
|
|
(f64.const 1.25)
|
|
|
|
(f64.const 2.5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.nearest
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.sqrt
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.trunc
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/b
|
|
|
|
(f64.ne
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $5
|
2017-12-03 23:04:33 +01:00
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $5)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/b
|
|
|
|
(select
|
|
|
|
(f64.ne
|
|
|
|
(f64.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $5
|
2017-12-04 14:49:24 +01:00
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
(f64.const inf)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
(i32.const 0)
|
|
|
|
(f64.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $5)
|
|
|
|
(get_local $5)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2017-12-04 22:47:08 +01:00
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.const 8)
|
|
|
|
(get_global $builtins/i)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.store
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
2017-12-04 22:47:08 +01:00
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i64.store
|
|
|
|
(i32.const 8)
|
|
|
|
(get_global $builtins/I)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i64.store
|
|
|
|
(i32.const 8)
|
|
|
|
(i64.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
2017-12-04 22:47:08 +01:00
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f32.store
|
|
|
|
(i32.const 8)
|
|
|
|
(get_global $builtins/f)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(f32.store
|
|
|
|
(i32.const 8)
|
|
|
|
(f32.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
2017-12-04 22:47:08 +01:00
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f64.store
|
|
|
|
(i32.const 8)
|
|
|
|
(get_global $builtins/F)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(f64.store
|
|
|
|
(i32.const 8)
|
|
|
|
(f64.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
2018-01-21 16:34:50 +01:00
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.load offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
(get_global $builtins/i)
|
|
|
|
)
|
|
|
|
(i32.store offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.load offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.load offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i64.store offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
(get_global $builtins/I)
|
|
|
|
)
|
|
|
|
(i64.store offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
(i64.load offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.load offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f32.store offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
(get_global $builtins/f)
|
|
|
|
)
|
|
|
|
(f32.store offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
(f32.load offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.load offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f64.store offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
(get_global $builtins/F)
|
|
|
|
)
|
|
|
|
(f64.store offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
(f64.load offset=8
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
2018-01-23 15:44:25 +01:00
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.load8_s
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.load16_s
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.load8_u
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.load16_u
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/u
|
|
|
|
(i32.load8_u
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/u
|
|
|
|
(i32.load16_u
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/u
|
|
|
|
(i32.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/u
|
|
|
|
(i32.load8_s
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/u
|
|
|
|
(i32.load16_s
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/u
|
|
|
|
(i32.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.load8_s
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.load16_s
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.load32_s
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/U
|
|
|
|
(i64.load8_u
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/U
|
|
|
|
(i64.load16_u
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/U
|
|
|
|
(i64.load32_u
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/U
|
|
|
|
(i64.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.store16
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i64.store8
|
|
|
|
(i32.const 8)
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
(i64.store16
|
|
|
|
(i32.const 8)
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
(i64.store32
|
|
|
|
(i32.const 8)
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
(i64.store
|
|
|
|
(i32.const 8)
|
|
|
|
(i64.const 1)
|
|
|
|
)
|
|
|
|
(i64.store
|
|
|
|
(i32.const 8)
|
|
|
|
(i64.extend_s/i32
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2017-12-04 22:47:08 +01:00
|
|
|
(drop
|
|
|
|
(i32.reinterpret/f32
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f32.reinterpret/i32
|
|
|
|
(i32.const 25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i64.reinterpret/f64
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(f64.reinterpret/i64
|
|
|
|
(i64.const 25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(i32.reinterpret/f32
|
|
|
|
(f32.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(f32.reinterpret/i32
|
|
|
|
(i32.const 25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(i64.reinterpret/f64
|
|
|
|
(f64.const 1.25)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(f64.reinterpret/i64
|
|
|
|
(i64.const 25)
|
|
|
|
)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
(drop
|
|
|
|
(current_memory)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(grow_memory
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/s
|
|
|
|
(current_memory)
|
|
|
|
)
|
|
|
|
(set_global $builtins/s
|
|
|
|
(grow_memory
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2017-12-04 22:47:08 +01:00
|
|
|
(drop
|
|
|
|
(select
|
|
|
|
(i32.const 10)
|
|
|
|
(i32.const 20)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(select
|
|
|
|
(i64.const 100)
|
|
|
|
(i64.const 200)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(select
|
|
|
|
(f32.const 1.25)
|
|
|
|
(f32.const 2.5)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(select
|
|
|
|
(f64.const 12.5)
|
|
|
|
(f64.const 25)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/i
|
|
|
|
(select
|
|
|
|
(i32.const 10)
|
|
|
|
(i32.const 20)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/I
|
|
|
|
(select
|
|
|
|
(i64.const 100)
|
|
|
|
(i64.const 200)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/f
|
|
|
|
(select
|
|
|
|
(f32.const 1.25)
|
|
|
|
(f32.const 2.5)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $builtins/F
|
|
|
|
(select
|
|
|
|
(f64.const 12.5)
|
|
|
|
(f64.const 25)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
(if
|
2018-03-17 14:40:58 +01:00
|
|
|
(i32.eqz
|
|
|
|
(get_global $builtins/i)
|
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-04 02:00:48 +01:00
|
|
|
(drop
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(drop
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
(if
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.eqz
|
|
|
|
(f64.ne
|
|
|
|
(f64.const nan:0x8000000000000)
|
|
|
|
(f64.const nan:0x8000000000000)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 234)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f32.ne
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $4
|
2017-12-04 14:49:24 +01:00
|
|
|
(f32.const nan:0x400000)
|
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $4)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 235)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
|
|
|
(if
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.eqz
|
|
|
|
(f64.ne
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $5
|
2017-12-05 22:47:20 +01:00
|
|
|
(f64.const nan:0x8000000000000)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $5)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 236)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eqz
|
|
|
|
(select
|
|
|
|
(f32.ne
|
|
|
|
(f32.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $4
|
2017-12-05 22:47:20 +01:00
|
|
|
(f32.const nan:0x400000)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f32.const inf)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
(f32.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $4)
|
|
|
|
(get_local $4)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 237)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
|
|
|
(if
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.eqz
|
|
|
|
(i32.eqz
|
|
|
|
(select
|
|
|
|
(f32.ne
|
|
|
|
(f32.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $4
|
2017-12-05 22:47:20 +01:00
|
|
|
(f32.const inf)
|
|
|
|
)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
(f32.const inf)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
(i32.const 0)
|
|
|
|
(f32.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $4)
|
|
|
|
(get_local $4)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 238)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eqz
|
|
|
|
(select
|
|
|
|
(f64.ne
|
|
|
|
(f64.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $5
|
2017-12-05 22:47:20 +01:00
|
|
|
(f64.const nan:0x8000000000000)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f64.const inf)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
(f64.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $5)
|
|
|
|
(get_local $5)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 239)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eqz
|
|
|
|
(select
|
|
|
|
(f64.ne
|
|
|
|
(f64.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $5
|
2017-12-05 22:47:20 +01:00
|
|
|
(f64.const inf)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f64.const inf)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
(f64.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $5)
|
|
|
|
(get_local $5)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 240)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(select
|
|
|
|
(f32.ne
|
|
|
|
(f32.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $4
|
2017-12-05 22:47:20 +01:00
|
|
|
(f32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f32.const inf)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
(f32.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $4)
|
|
|
|
(get_local $4)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 241)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(select
|
|
|
|
(f64.ne
|
|
|
|
(f64.abs
|
2017-12-12 09:32:03 +01:00
|
|
|
(tee_local $5
|
2017-12-04 14:49:24 +01:00
|
|
|
(f64.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f64.const inf)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
(f64.eq
|
2017-12-12 09:32:03 +01:00
|
|
|
(get_local $5)
|
|
|
|
(get_local $5)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 242)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-04 14:49:24 +01:00
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const -128)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.const 128)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 255)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 127)
|
|
|
|
(i32.const 127)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 256)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const -32768)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.shr_s
|
|
|
|
(i32.shl
|
|
|
|
(i32.const 32768)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 257)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 32767)
|
|
|
|
(i32.const 32767)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 258)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const -2147483648)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.wrap/i64
|
|
|
|
(i64.const 2147483648)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 259)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 2147483647)
|
|
|
|
(i32.const 2147483647)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 260)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i64.eq
|
|
|
|
(i64.const -9223372036854775808)
|
|
|
|
(i64.const -9223372036854775808)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 261)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i64.eq
|
|
|
|
(i64.const 9223372036854775807)
|
|
|
|
(i64.const 9223372036854775807)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 262)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 264)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 255)
|
|
|
|
(i32.const 255)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 265)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 266)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 65535)
|
|
|
|
(i32.const 65535)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 267)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 268)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const -1)
|
|
|
|
(i32.const -1)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 269)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i64.eq
|
|
|
|
(i64.const 0)
|
|
|
|
(i64.const 0)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 270)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i64.eq
|
|
|
|
(i64.const -1)
|
|
|
|
(i64.const -1)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 271)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 272)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 272)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 29)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 273)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.eq
|
|
|
|
(i32.const 1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 273)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 29)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f32.eq
|
|
|
|
(f32.const -3402823466385288598117041e14)
|
2018-02-14 09:18:43 +01:00
|
|
|
(f32.const -3402823466385288598117041e14)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 275)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f32.eq
|
|
|
|
(f32.const 3402823466385288598117041e14)
|
|
|
|
(f32.const 3402823466385288598117041e14)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 276)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f32.eq
|
|
|
|
(f32.const -16777215)
|
2018-02-14 09:18:43 +01:00
|
|
|
(f32.const -16777215)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 277)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f32.eq
|
|
|
|
(f32.const 16777215)
|
|
|
|
(f32.const 16777215)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 278)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f32.eq
|
|
|
|
(f32.const 1.1920928955078125e-07)
|
|
|
|
(f32.const 1.1920928955078125e-07)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 279)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f64.eq
|
|
|
|
(f64.const -1797693134862315708145274e284)
|
2018-02-14 09:18:43 +01:00
|
|
|
(f64.const -1797693134862315708145274e284)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 280)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f64.eq
|
|
|
|
(f64.const 1797693134862315708145274e284)
|
|
|
|
(f64.const 1797693134862315708145274e284)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 281)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f64.eq
|
|
|
|
(f64.const -9007199254740991)
|
2018-02-14 09:18:43 +01:00
|
|
|
(f64.const -9007199254740991)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 282)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f64.eq
|
|
|
|
(f64.const 9007199254740991)
|
|
|
|
(f64.const 9007199254740991)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 283)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(f64.eq
|
|
|
|
(f64.const 2.220446049250313e-16)
|
|
|
|
(f64.const 2.220446049250313e-16)
|
|
|
|
)
|
|
|
|
)
|
2018-02-04 07:51:40 +01:00
|
|
|
(block
|
|
|
|
(call $abort
|
|
|
|
(i32.const 0)
|
2018-02-14 09:18:43 +01:00
|
|
|
(i32.const 4)
|
2018-03-17 12:54:37 +01:00
|
|
|
(i32.const 284)
|
2018-02-04 07:51:40 +01:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-01-02 21:41:25 +01:00
|
|
|
)
|
2017-12-03 23:04:33 +01:00
|
|
|
)
|
|
|
|
)
|