Debian Codegraph @

tests/snapshots/testsuite/float_exprs.wast/921.print

raw
1 (module
2 (type (;0;) (func (param i32) (result f64)))
3 (export "tau" (func 0))
4 (func (;0;) (type 0) (param i32) (result f64)
5 (local f64 f64 f64 f64)
6 f64.const 0x0p+0 (;=0;)
7 local.set 1
8 block ;; label = @1
9 local.get 0
10 i32.const 1
11 i32.lt_s
12 br_if 0 (;@1;)
13 f64.const 0x1p+0 (;=1;)
14 local.set 2
15 f64.const 0x0p+0 (;=0;)
16 local.set 3
17 loop ;; label = @2
18 local.get 1
19 local.get 2
20 f64.const 0x1p+3 (;=8;)
21 local.get 3
22 f64.const 0x1p+3 (;=8;)
23 f64.mul
24 local.tee 4
25 f64.const 0x1p+0 (;=1;)
26 f64.add
27 f64.div
28 f64.const 0x1p+2 (;=4;)
29 local.get 4
30 f64.const 0x1p+2 (;=4;)
31 f64.add
32 f64.div
33 f64.sub
34 f64.const 0x1p+1 (;=2;)
35 local.get 4
36 f64.const 0x1.4p+2 (;=5;)
37 f64.add
38 f64.div
39 f64.sub
40 f64.const 0x1p+1 (;=2;)
41 local.get 4
42 f64.const 0x1.8p+2 (;=6;)
43 f64.add
44 f64.div
45 f64.sub
46 f64.mul
47 f64.add
48 local.set 1
49 local.get 3
50 f64.const 0x1p+0 (;=1;)
51 f64.add
52 local.set 3
53 local.get 2
54 f64.const 0x1p-4 (;=0.0625;)
55 f64.mul
56 local.set 2
57 local.get 0
58 i32.const -1
59 i32.add
60 local.tee 0
61 br_if 0 (;@2;)
62 end
63 end
64 local.get 1
65 )
66 )