Lines Matching +full:test +full:- +full:check
1 ; Test vector insertion of constants.
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s
5 ; Test v16i8 insertion into the first element.
7 ; CHECK-LABEL: f1:
8 ; CHECK: vleib %v24, 0, 0
9 ; CHECK: br %r14
14 ; Test v16i8 insertion into the last element.
16 ; CHECK-LABEL: f2:
17 ; CHECK: vleib %v24, 100, 15
18 ; CHECK: br %r14
23 ; Test v16i8 insertion with the maximum signed value.
25 ; CHECK-LABEL: f3:
26 ; CHECK: vleib %v24, 127, 10
27 ; CHECK: br %r14
32 ; Test v16i8 insertion with the minimum signed value.
34 ; CHECK-LABEL: f4:
35 ; CHECK: vleib %v24, -128, 11
36 ; CHECK: br %r14
41 ; Test v16i8 insertion with the maximum unsigned value.
43 ; CHECK-LABEL: f5:
44 ; CHECK: vleib %v24, -1, 12
45 ; CHECK: br %r14
50 ; Test v16i8 insertion into a variable element.
52 ; CHECK-LABEL: f6:
53 ; CHECK-NOT: vleib
54 ; CHECK: br %r14
59 ; Test v8i16 insertion into the first element.
61 ; CHECK-LABEL: f7:
62 ; CHECK: vleih %v24, 0, 0
63 ; CHECK: br %r14
68 ; Test v8i16 insertion into the last element.
70 ; CHECK-LABEL: f8:
71 ; CHECK: vleih %v24, 0, 7
72 ; CHECK: br %r14
77 ; Test v8i16 insertion with the maximum signed value.
79 ; CHECK-LABEL: f9:
80 ; CHECK: vleih %v24, 32767, 4
81 ; CHECK: br %r14
86 ; Test v8i16 insertion with the minimum signed value.
88 ; CHECK-LABEL: f10:
89 ; CHECK: vleih %v24, -32768, 5
90 ; CHECK: br %r14
95 ; Test v8i16 insertion with the maximum unsigned value.
97 ; CHECK-LABEL: f11:
98 ; CHECK: vleih %v24, -1, 6
99 ; CHECK: br %r14
104 ; Test v8i16 insertion into a variable element.
106 ; CHECK-LABEL: f12:
107 ; CHECK-NOT: vleih
108 ; CHECK: br %r14
113 ; Test v4i32 insertion into the first element.
115 ; CHECK-LABEL: f13:
116 ; CHECK: vleif %v24, 0, 0
117 ; CHECK: br %r14
122 ; Test v4i32 insertion into the last element.
124 ; CHECK-LABEL: f14:
125 ; CHECK: vleif %v24, 0, 3
126 ; CHECK: br %r14
131 ; Test v4i32 insertion with the maximum value allowed by VLEIF.
133 ; CHECK-LABEL: f15:
134 ; CHECK: vleif %v24, 32767, 1
135 ; CHECK: br %r14
140 ; Test v4i32 insertion with the next value up.
142 ; CHECK-LABEL: f16:
143 ; CHECK-NOT: vleif
144 ; CHECK: br %r14
149 ; Test v4i32 insertion with the minimum value allowed by VLEIF.
151 ; CHECK-LABEL: f17:
152 ; CHECK: vleif %v24, -32768, 2
153 ; CHECK: br %r14
154 %ret = insertelement <4 x i32> %val, i32 -32768, i32 2
158 ; Test v4i32 insertion with the next value down.
160 ; CHECK-LABEL: f18:
161 ; CHECK-NOT: vleif
162 ; CHECK: br %r14
163 %ret = insertelement <4 x i32> %val, i32 -32769, i32 2
167 ; Test v4i32 insertion into a variable element.
169 ; CHECK-LABEL: f19:
170 ; CHECK-NOT: vleif
171 ; CHECK: br %r14
176 ; Test v2i64 insertion into the first element.
178 ; CHECK-LABEL: f20:
179 ; CHECK: vleig %v24, 0, 0
180 ; CHECK: br %r14
185 ; Test v2i64 insertion into the last element.
187 ; CHECK-LABEL: f21:
188 ; CHECK: vleig %v24, 0, 1
189 ; CHECK: br %r14
194 ; Test v2i64 insertion with the maximum value allowed by VLEIG.
196 ; CHECK-LABEL: f22:
197 ; CHECK: vleig %v24, 32767, 1
198 ; CHECK: br %r14
203 ; Test v2i64 insertion with the next value up.
205 ; CHECK-LABEL: f23:
206 ; CHECK-NOT: vleig
207 ; CHECK: br %r14
212 ; Test v2i64 insertion with the minimum value allowed by VLEIG.
214 ; CHECK-LABEL: f24:
215 ; CHECK: vleig %v24, -32768, 0
216 ; CHECK: br %r14
217 %ret = insertelement <2 x i64> %val, i64 -32768, i32 0
221 ; Test v2i64 insertion with the next value down.
223 ; CHECK-LABEL: f25:
224 ; CHECK-NOT: vleig
225 ; CHECK: br %r14
226 %ret = insertelement <2 x i64> %val, i64 -32769, i32 0
230 ; Test v2i64 insertion into a variable element.
232 ; CHECK-LABEL: f26:
233 ; CHECK-NOT: vleig
234 ; CHECK: br %r14
239 ; Test v4f32 insertion of 0 into the first element.
241 ; CHECK-LABEL: f27:
242 ; CHECK: vleif %v24, 0, 0
243 ; CHECK: br %r14
248 ; Test v4f32 insertion of 0 into the last element.
250 ; CHECK-LABEL: f28:
251 ; CHECK: vleif %v24, 0, 3
252 ; CHECK: br %r14
257 ; Test v4f32 insertion of a nonzero value.
259 ; CHECK-LABEL: f29:
260 ; CHECK-NOT: vleif
261 ; CHECK: br %r14
266 ; Test v2f64 insertion of 0 into the first element.
268 ; CHECK-LABEL: f30:
269 ; CHECK: vleig %v24, 0, 0
270 ; CHECK: br %r14
275 ; Test v2f64 insertion of 0 into the last element.
277 ; CHECK-LABEL: f31:
278 ; CHECK: vleig %v24, 0, 1
279 ; CHECK: br %r14
284 ; Test v2f64 insertion of a nonzero value.
286 ; CHECK-LABEL: f32:
287 ; CHECK-NOT: vleig
288 ; CHECK: br %r14