Lines Matching refs:V8

2 ; RUN: llc -mtriple=sparc-linux-gnu < %s | FileCheck %s -check-prefixes=ALL,V8,V8-OPT
3 ; RUN: llc -mtriple=sparcel-linux-gnu < %s | FileCheck %s -check-prefixes=ALL,V8,V8-OPT
4 ; RUN: llc -mtriple=sparc-linux-gnu -O0 < %s | FileCheck %s -check-prefixes=ALL,V8,V8-UNOPT
20 ; V8-LABEL: test_fpextend_float:
21 ; V8: ! %bb.0:
22 ; V8-NEXT: save %sp, -96, %sp
23 ; V8-NEXT: call __gnu_h2f_ieee
24 ; V8-NEXT: lduh [%i0], %o0
25 ; V8-NEXT: ret
26 ; V8-NEXT: restore
49 ; V8-LABEL: test_fpextend_double:
50 ; V8: ! %bb.0:
51 ; V8-NEXT: save %sp, -96, %sp
52 ; V8-NEXT: call __gnu_h2f_ieee
53 ; V8-NEXT: lduh [%i0], %o0
54 ; V8-NEXT: fstod %f0, %f0
55 ; V8-NEXT: ret
56 ; V8-NEXT: restore
81 ; V8-OPT-LABEL: test_fptrunc_float:
82 ; V8-OPT: ! %bb.0:
83 ; V8-OPT-NEXT: save %sp, -96, %sp
84 ; V8-OPT-NEXT: call __gnu_f2h_ieee
85 ; V8-OPT-NEXT: mov %i0, %o0
86 ; V8-OPT-NEXT: sth %o0, [%i1]
87 ; V8-OPT-NEXT: ret
88 ; V8-OPT-NEXT: restore
90 ; V8-UNOPT-LABEL: test_fptrunc_float:
91 ; V8-UNOPT: ! %bb.0:
92 ; V8-UNOPT-NEXT: save %sp, -96, %sp
93 ; V8-UNOPT-NEXT: mov %i0, %o0
94 ; V8-UNOPT-NEXT: st %o0, [%fp+-4]
95 ; V8-UNOPT-NEXT: call __gnu_f2h_ieee
96 ; V8-UNOPT-NEXT: ld [%fp+-4], %f0
97 ; V8-UNOPT-NEXT: sth %o0, [%i1]
98 ; V8-UNOPT-NEXT: ret
99 ; V8-UNOPT-NEXT: restore
124 ; V8-OPT-LABEL: test_fptrunc_double:
125 ; V8-OPT: ! %bb.0:
126 ; V8-OPT-NEXT: save %sp, -112, %sp
127 ; V8-OPT-NEXT: ! kill: def $i1 killed $i1 killed $i0_i1 def $i0_i1
128 ; V8-OPT-NEXT: ! kill: def $i0 killed $i0 killed $i0_i1 def $i0_i1
129 ; V8-OPT-NEXT: std %i0, [%fp+-8]
130 ; V8-OPT-NEXT: ldd [%fp+-8], %f0
131 ; V8-OPT-NEXT: std %f0, [%fp+-16]
132 ; V8-OPT-NEXT: call __truncdfhf2
133 ; V8-OPT-NEXT: ldd [%fp+-16], %o0
134 ; V8-OPT-NEXT: sth %o0, [%i2]
135 ; V8-OPT-NEXT: ret
136 ; V8-OPT-NEXT: restore
138 ; V8-UNOPT-LABEL: test_fptrunc_double:
139 ; V8-UNOPT: ! %bb.0:
140 ; V8-UNOPT-NEXT: save %sp, -112, %sp
141 ; V8-UNOPT-NEXT: mov %i1, %i3
142 ; V8-UNOPT-NEXT: mov %i0, %i4
143 ; V8-UNOPT-NEXT: ! implicit-def: $i0_i1
144 ; V8-UNOPT-NEXT: mov %i4, %i0
145 ; V8-UNOPT-NEXT: mov %i3, %i1
146 ; V8-UNOPT-NEXT: std %i0, [%fp+-8]
147 ; V8-UNOPT-NEXT: ldd [%fp+-8], %f0
148 ; V8-UNOPT-NEXT: std %f0, [%fp+-16]
149 ; V8-UNOPT-NEXT: ldd [%fp+-16], %i0
150 ; V8-UNOPT-NEXT: mov %i0, %o0
151 ; V8-UNOPT-NEXT: call __truncdfhf2
152 ; V8-UNOPT-NEXT: mov %i1, %o1
153 ; V8-UNOPT-NEXT: sth %o0, [%i2]
154 ; V8-UNOPT-NEXT: ret
155 ; V8-UNOPT-NEXT: restore
185 ; V8-OPT-LABEL: test_fadd:
186 ; V8-OPT: ! %bb.0:
187 ; V8-OPT-NEXT: save %sp, -104, %sp
188 ; V8-OPT-NEXT: call __gnu_h2f_ieee
189 ; V8-OPT-NEXT: lduh [%i0], %o0
190 ; V8-OPT-NEXT: st %f0, [%fp+-8] ! 4-byte Folded Spill
191 ; V8-OPT-NEXT: call __gnu_h2f_ieee
192 ; V8-OPT-NEXT: lduh [%i1], %o0
193 ; V8-OPT-NEXT: ld [%fp+-8], %f1 ! 4-byte Folded Reload
194 ; V8-OPT-NEXT: fadds %f1, %f0, %f0
195 ; V8-OPT-NEXT: st %f0, [%fp+-4]
196 ; V8-OPT-NEXT: call __gnu_f2h_ieee
197 ; V8-OPT-NEXT: ld [%fp+-4], %o0
198 ; V8-OPT-NEXT: sth %o0, [%i0]
199 ; V8-OPT-NEXT: ret
200 ; V8-OPT-NEXT: restore
202 ; V8-UNOPT-LABEL: test_fadd:
203 ; V8-UNOPT: ! %bb.0:
204 ; V8-UNOPT-NEXT: save %sp, -104, %sp
205 ; V8-UNOPT-NEXT: call __gnu_h2f_ieee
206 ; V8-UNOPT-NEXT: lduh [%i0], %o0
207 ; V8-UNOPT-NEXT: st %f0, [%fp+-8] ! 4-byte Folded Spill
208 ; V8-UNOPT-NEXT: call __gnu_h2f_ieee
209 ; V8-UNOPT-NEXT: lduh [%i1], %o0
210 ; V8-UNOPT-NEXT: fmovs %f0, %f1
211 ; V8-UNOPT-NEXT: ld [%fp+-8], %f0 ! 4-byte Folded Reload
212 ; V8-UNOPT-NEXT: fadds %f0, %f1, %f0
213 ; V8-UNOPT-NEXT: st %f0, [%fp+-4]
214 ; V8-UNOPT-NEXT: call __gnu_f2h_ieee
215 ; V8-UNOPT-NEXT: ld [%fp+-4], %o0
216 ; V8-UNOPT-NEXT: sth %o0, [%i0]
217 ; V8-UNOPT-NEXT: ret
218 ; V8-UNOPT-NEXT: restore
259 ; V8-OPT-LABEL: test_fmul:
260 ; V8-OPT: ! %bb.0:
261 ; V8-OPT-NEXT: save %sp, -104, %sp
262 ; V8-OPT-NEXT: call __gnu_h2f_ieee
263 ; V8-OPT-NEXT: lduh [%i0], %o0
264 ; V8-OPT-NEXT: st %f0, [%fp+-8] ! 4-byte Folded Spill
265 ; V8-OPT-NEXT: call __gnu_h2f_ieee
266 ; V8-OPT-NEXT: lduh [%i1], %o0
267 ; V8-OPT-NEXT: ld [%fp+-8], %f1 ! 4-byte Folded Reload
268 ; V8-OPT-NEXT: fmuls %f1, %f0, %f0
269 ; V8-OPT-NEXT: st %f0, [%fp+-4]
270 ; V8-OPT-NEXT: call __gnu_f2h_ieee
271 ; V8-OPT-NEXT: ld [%fp+-4], %o0
272 ; V8-OPT-NEXT: sth %o0, [%i0]
273 ; V8-OPT-NEXT: ret
274 ; V8-OPT-NEXT: restore
276 ; V8-UNOPT-LABEL: test_fmul:
277 ; V8-UNOPT: ! %bb.0:
278 ; V8-UNOPT-NEXT: save %sp, -104, %sp
279 ; V8-UNOPT-NEXT: call __gnu_h2f_ieee
280 ; V8-UNOPT-NEXT: lduh [%i0], %o0
281 ; V8-UNOPT-NEXT: st %f0, [%fp+-8] ! 4-byte Folded Spill
282 ; V8-UNOPT-NEXT: call __gnu_h2f_ieee
283 ; V8-UNOPT-NEXT: lduh [%i1], %o0
284 ; V8-UNOPT-NEXT: fmovs %f0, %f1
285 ; V8-UNOPT-NEXT: ld [%fp+-8], %f0 ! 4-byte Folded Reload
286 ; V8-UNOPT-NEXT: fmuls %f0, %f1, %f0
287 ; V8-UNOPT-NEXT: st %f0, [%fp+-4]
288 ; V8-UNOPT-NEXT: call __gnu_f2h_ieee
289 ; V8-UNOPT-NEXT: ld [%fp+-4], %o0
290 ; V8-UNOPT-NEXT: sth %o0, [%i0]
291 ; V8-UNOPT-NEXT: ret
292 ; V8-UNOPT-NEXT: restore