]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/two_sides.fromasm.imprecise.no-opts
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / two_sides.fromasm.imprecise.no-opts
1 (module
2 (import "env" "memory" (memory $0 256 256))
3 (import "env" "table" (table 0 0 anyfunc))
4 (import "env" "memoryBase" (global $memoryBase i32))
5 (import "env" "tableBase" (global $tableBase i32))
6 (export "_test" (func $_test))
7 (func $_test (; 0 ;) (param $i1 i32) (param $i2 i32) (param $i3 i32) (param $i4 i32) (param $i5 i32) (result i32)
8 (local $d6 f64)
9 (if
10 (i32.eqz
11 (get_local $i5)
12 )
13 (block
14 (set_local $d6
15 (f64.convert_s/i32
16 (i32.mul
17 (get_local $i4)
18 (get_local $i3)
19 )
20 )
21 )
22 (set_local $d6
23 (f64.mul
24 (f64.add
25 (f64.convert_s/i32
26 (get_local $i3)
27 )
28 (get_local $d6)
29 )
30 (f64.add
31 (f64.convert_s/i32
32 (get_local $i4)
33 )
34 (get_local $d6)
35 )
36 )
37 )
38 (set_local $i5
39 (i32.trunc_s/f64
40 (get_local $d6)
41 )
42 )
43 (return
44 (get_local $i5)
45 )
46 )
47 (block
48 (set_local $d6
49 (f64.convert_s/i32
50 (i32.mul
51 (get_local $i2)
52 (get_local $i1)
53 )
54 )
55 )
56 (set_local $d6
57 (f64.mul
58 (f64.add
59 (f64.convert_s/i32
60 (get_local $i3)
61 )
62 (get_local $d6)
63 )
64 (f64.add
65 (get_local $d6)
66 (f64.convert_s/i32
67 (get_local $i4)
68 )
69 )
70 )
71 )
72 (set_local $i5
73 (i32.trunc_s/f64
74 (get_local $d6)
75 )
76 )
77 (return
78 (get_local $i5)
79 )
80 )
81 )
82 (return
83 (i32.const 0)
84 )
85 )
86 )