blob: 45c69f17b32158f8baed492ee5b5f0e861cd4623 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
(module
(type $0 (func (param f32 f32) (result f32)))
(type $1 (func (param f64 f64) (result f64)))
(export "f32.compute_radix" (func $0))
(export "f64.compute_radix" (func $1))
(func $0 (; 0 ;) (type $0) (param $var$0 f32) (param $var$1 f32) (result f32)
(block $label$1
(loop $label$2
(br_if $label$2
(f32.eq
(f32.add
(f32.sub
(f32.add
(tee_local $var$0
(f32.add
(get_local $var$0)
(get_local $var$0)
)
)
(f32.const 1)
)
(get_local $var$0)
)
(f32.const -1)
)
(f32.const 0)
)
)
)
(block
(drop
(call $0
(f32.add
(get_local $var$0)
(tee_local $var$1
(f32.add
(get_local $var$1)
(f32.const 1)
)
)
)
(get_local $var$0)
)
)
(unreachable)
)
)
)
(func $1 (; 1 ;) (type $1) (param $var$0 f64) (param $var$1 f64) (result f64)
(block $label$1 (result f64)
(loop $label$2
(br_if $label$2
(f64.eq
(f64.add
(f64.sub
(f64.add
(tee_local $var$0
(f64.add
(get_local $var$0)
(get_local $var$0)
)
)
(f64.const 1)
)
(get_local $var$0)
)
(f64.const -1)
)
(f64.const 0)
)
)
)
(loop $label$3
(br_if $label$3
(f64.ne
(f64.sub
(f64.sub
(f64.add
(get_local $var$0)
(tee_local $var$1
(f64.add
(get_local $var$1)
(f64.const 1)
)
)
)
(get_local $var$0)
)
(get_local $var$1)
)
(f64.const 0)
)
)
)
(get_local $var$1)
)
)
)
|