]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/llvm_autogenerated/f32.wast
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / llvm_autogenerated / f32.wast
1 (module
2 (type $FUNCSIG$ffff (func (param f32 f32 f32) (result f32)))
3 (import "env" "fmaf" (func $fmaf (param f32 f32 f32) (result f32)))
4 (import "env" "memory" (memory $0 1))
5 (table 0 anyfunc)
6 (data (i32.const 4) "\10\04\00\00")
7 (export "fadd32" (func $fadd32))
8 (export "fsub32" (func $fsub32))
9 (export "fmul32" (func $fmul32))
10 (export "fdiv32" (func $fdiv32))
11 (export "fabs32" (func $fabs32))
12 (export "fneg32" (func $fneg32))
13 (export "copysign32" (func $copysign32))
14 (export "sqrt32" (func $sqrt32))
15 (export "ceil32" (func $ceil32))
16 (export "floor32" (func $floor32))
17 (export "trunc32" (func $trunc32))
18 (export "nearest32" (func $nearest32))
19 (export "nearest32_via_rint" (func $nearest32_via_rint))
20 (export "fmin32" (func $fmin32))
21 (export "fmax32" (func $fmax32))
22 (export "fma32" (func $fma32))
23 (export "stackSave" (func $stackSave))
24 (export "stackAlloc" (func $stackAlloc))
25 (export "stackRestore" (func $stackRestore))
26 (func $fadd32 (; 1 ;) (param $0 f32) (param $1 f32) (result f32)
27 (return
28 (f32.add
29 (get_local $0)
30 (get_local $1)
31 )
32 )
33 )
34 (func $fsub32 (; 2 ;) (param $0 f32) (param $1 f32) (result f32)
35 (return
36 (f32.sub
37 (get_local $0)
38 (get_local $1)
39 )
40 )
41 )
42 (func $fmul32 (; 3 ;) (param $0 f32) (param $1 f32) (result f32)
43 (return
44 (f32.mul
45 (get_local $0)
46 (get_local $1)
47 )
48 )
49 )
50 (func $fdiv32 (; 4 ;) (param $0 f32) (param $1 f32) (result f32)
51 (return
52 (f32.div
53 (get_local $0)
54 (get_local $1)
55 )
56 )
57 )
58 (func $fabs32 (; 5 ;) (param $0 f32) (result f32)
59 (return
60 (f32.abs
61 (get_local $0)
62 )
63 )
64 )
65 (func $fneg32 (; 6 ;) (param $0 f32) (result f32)
66 (return
67 (f32.neg
68 (get_local $0)
69 )
70 )
71 )
72 (func $copysign32 (; 7 ;) (param $0 f32) (param $1 f32) (result f32)
73 (return
74 (f32.copysign
75 (get_local $0)
76 (get_local $1)
77 )
78 )
79 )
80 (func $sqrt32 (; 8 ;) (param $0 f32) (result f32)
81 (return
82 (f32.sqrt
83 (get_local $0)
84 )
85 )
86 )
87 (func $ceil32 (; 9 ;) (param $0 f32) (result f32)
88 (return
89 (f32.ceil
90 (get_local $0)
91 )
92 )
93 )
94 (func $floor32 (; 10 ;) (param $0 f32) (result f32)
95 (return
96 (f32.floor
97 (get_local $0)
98 )
99 )
100 )
101 (func $trunc32 (; 11 ;) (param $0 f32) (result f32)
102 (return
103 (f32.trunc
104 (get_local $0)
105 )
106 )
107 )
108 (func $nearest32 (; 12 ;) (param $0 f32) (result f32)
109 (return
110 (f32.nearest
111 (get_local $0)
112 )
113 )
114 )
115 (func $nearest32_via_rint (; 13 ;) (param $0 f32) (result f32)
116 (return
117 (f32.nearest
118 (get_local $0)
119 )
120 )
121 )
122 (func $fmin32 (; 14 ;) (param $0 f32) (result f32)
123 (return
124 (f32.min
125 (get_local $0)
126 (f32.const 0)
127 )
128 )
129 )
130 (func $fmax32 (; 15 ;) (param $0 f32) (result f32)
131 (return
132 (f32.max
133 (get_local $0)
134 (f32.const 0)
135 )
136 )
137 )
138 (func $fma32 (; 16 ;) (param $0 f32) (param $1 f32) (param $2 f32) (result f32)
139 (return
140 (call $fmaf
141 (get_local $0)
142 (get_local $1)
143 (get_local $2)
144 )
145 )
146 )
147 (func $stackSave (; 17 ;) (result i32)
148 (i32.load offset=4
149 (i32.const 0)
150 )
151 )
152 (func $stackAlloc (; 18 ;) (param $0 i32) (result i32)
153 (local $1 i32)
154 (set_local $1
155 (i32.load offset=4
156 (i32.const 0)
157 )
158 )
159 (i32.store offset=4
160 (i32.const 0)
161 (i32.and
162 (i32.sub
163 (get_local $1)
164 (get_local $0)
165 )
166 (i32.const -16)
167 )
168 )
169 (get_local $1)
170 )
171 (func $stackRestore (; 19 ;) (param $0 i32)
172 (i32.store offset=4
173 (i32.const 0)
174 (get_local $0)
175 )
176 )
177 )
178 ;; METADATA: { "asmConsts": {},"staticBump": 1040, "initializers": [] }