1 ; Test the MSA intrinsics that are encoded with the BIT instruction format.
3 ; RUN: llc -march=mips -mattr=+msa,+fp64 < %s | FileCheck %s
4 ; RUN: llc -march=mipsel -mattr=+msa,+fp64 < %s | FileCheck %s
6 @llvm_mips_sat_s_b_ARG1 = global <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, align 16
7 @llvm_mips_sat_s_b_RES = global <16 x i8> <i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>, align 16
9 define void @llvm_mips_sat_s_b_test() nounwind {
11 %0 = load <16 x i8>* @llvm_mips_sat_s_b_ARG1
12 %1 = tail call <16 x i8> @llvm.mips.sat.s.b(<16 x i8> %0, i32 7)
13 store <16 x i8> %1, <16 x i8>* @llvm_mips_sat_s_b_RES
17 declare <16 x i8> @llvm.mips.sat.s.b(<16 x i8>, i32) nounwind
19 ; CHECK: llvm_mips_sat_s_b_test:
23 ; CHECK: .size llvm_mips_sat_s_b_test
25 @llvm_mips_sat_s_h_ARG1 = global <8 x i16> <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>, align 16
26 @llvm_mips_sat_s_h_RES = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
28 define void @llvm_mips_sat_s_h_test() nounwind {
30 %0 = load <8 x i16>* @llvm_mips_sat_s_h_ARG1
31 %1 = tail call <8 x i16> @llvm.mips.sat.s.h(<8 x i16> %0, i32 7)
32 store <8 x i16> %1, <8 x i16>* @llvm_mips_sat_s_h_RES
36 declare <8 x i16> @llvm.mips.sat.s.h(<8 x i16>, i32) nounwind
38 ; CHECK: llvm_mips_sat_s_h_test:
42 ; CHECK: .size llvm_mips_sat_s_h_test
44 @llvm_mips_sat_s_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
45 @llvm_mips_sat_s_w_RES = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
47 define void @llvm_mips_sat_s_w_test() nounwind {
49 %0 = load <4 x i32>* @llvm_mips_sat_s_w_ARG1
50 %1 = tail call <4 x i32> @llvm.mips.sat.s.w(<4 x i32> %0, i32 7)
51 store <4 x i32> %1, <4 x i32>* @llvm_mips_sat_s_w_RES
55 declare <4 x i32> @llvm.mips.sat.s.w(<4 x i32>, i32) nounwind
57 ; CHECK: llvm_mips_sat_s_w_test:
61 ; CHECK: .size llvm_mips_sat_s_w_test
63 @llvm_mips_sat_s_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
64 @llvm_mips_sat_s_d_RES = global <2 x i64> <i64 0, i64 0>, align 16
66 define void @llvm_mips_sat_s_d_test() nounwind {
68 %0 = load <2 x i64>* @llvm_mips_sat_s_d_ARG1
69 %1 = tail call <2 x i64> @llvm.mips.sat.s.d(<2 x i64> %0, i32 7)
70 store <2 x i64> %1, <2 x i64>* @llvm_mips_sat_s_d_RES
74 declare <2 x i64> @llvm.mips.sat.s.d(<2 x i64>, i32) nounwind
76 ; CHECK: llvm_mips_sat_s_d_test:
80 ; CHECK: .size llvm_mips_sat_s_d_test
82 @llvm_mips_sat_u_b_ARG1 = global <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, align 16
83 @llvm_mips_sat_u_b_RES = global <16 x i8> <i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>, align 16
85 define void @llvm_mips_sat_u_b_test() nounwind {
87 %0 = load <16 x i8>* @llvm_mips_sat_u_b_ARG1
88 %1 = tail call <16 x i8> @llvm.mips.sat.u.b(<16 x i8> %0, i32 7)
89 store <16 x i8> %1, <16 x i8>* @llvm_mips_sat_u_b_RES
93 declare <16 x i8> @llvm.mips.sat.u.b(<16 x i8>, i32) nounwind
95 ; CHECK: llvm_mips_sat_u_b_test:
99 ; CHECK: .size llvm_mips_sat_u_b_test
101 @llvm_mips_sat_u_h_ARG1 = global <8 x i16> <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>, align 16
102 @llvm_mips_sat_u_h_RES = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
104 define void @llvm_mips_sat_u_h_test() nounwind {
106 %0 = load <8 x i16>* @llvm_mips_sat_u_h_ARG1
107 %1 = tail call <8 x i16> @llvm.mips.sat.u.h(<8 x i16> %0, i32 7)
108 store <8 x i16> %1, <8 x i16>* @llvm_mips_sat_u_h_RES
112 declare <8 x i16> @llvm.mips.sat.u.h(<8 x i16>, i32) nounwind
114 ; CHECK: llvm_mips_sat_u_h_test:
118 ; CHECK: .size llvm_mips_sat_u_h_test
120 @llvm_mips_sat_u_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
121 @llvm_mips_sat_u_w_RES = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
123 define void @llvm_mips_sat_u_w_test() nounwind {
125 %0 = load <4 x i32>* @llvm_mips_sat_u_w_ARG1
126 %1 = tail call <4 x i32> @llvm.mips.sat.u.w(<4 x i32> %0, i32 7)
127 store <4 x i32> %1, <4 x i32>* @llvm_mips_sat_u_w_RES
131 declare <4 x i32> @llvm.mips.sat.u.w(<4 x i32>, i32) nounwind
133 ; CHECK: llvm_mips_sat_u_w_test:
137 ; CHECK: .size llvm_mips_sat_u_w_test
139 @llvm_mips_sat_u_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
140 @llvm_mips_sat_u_d_RES = global <2 x i64> <i64 0, i64 0>, align 16
142 define void @llvm_mips_sat_u_d_test() nounwind {
144 %0 = load <2 x i64>* @llvm_mips_sat_u_d_ARG1
145 %1 = tail call <2 x i64> @llvm.mips.sat.u.d(<2 x i64> %0, i32 7)
146 store <2 x i64> %1, <2 x i64>* @llvm_mips_sat_u_d_RES
150 declare <2 x i64> @llvm.mips.sat.u.d(<2 x i64>, i32) nounwind
152 ; CHECK: llvm_mips_sat_u_d_test:
156 ; CHECK: .size llvm_mips_sat_u_d_test
158 @llvm_mips_slli_b_ARG1 = global <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, align 16
159 @llvm_mips_slli_b_RES = global <16 x i8> <i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>, align 16
161 define void @llvm_mips_slli_b_test() nounwind {
163 %0 = load <16 x i8>* @llvm_mips_slli_b_ARG1
164 %1 = tail call <16 x i8> @llvm.mips.slli.b(<16 x i8> %0, i32 7)
165 store <16 x i8> %1, <16 x i8>* @llvm_mips_slli_b_RES
169 declare <16 x i8> @llvm.mips.slli.b(<16 x i8>, i32) nounwind
171 ; CHECK: llvm_mips_slli_b_test:
175 ; CHECK: .size llvm_mips_slli_b_test
177 @llvm_mips_slli_h_ARG1 = global <8 x i16> <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>, align 16
178 @llvm_mips_slli_h_RES = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
180 define void @llvm_mips_slli_h_test() nounwind {
182 %0 = load <8 x i16>* @llvm_mips_slli_h_ARG1
183 %1 = tail call <8 x i16> @llvm.mips.slli.h(<8 x i16> %0, i32 7)
184 store <8 x i16> %1, <8 x i16>* @llvm_mips_slli_h_RES
188 declare <8 x i16> @llvm.mips.slli.h(<8 x i16>, i32) nounwind
190 ; CHECK: llvm_mips_slli_h_test:
194 ; CHECK: .size llvm_mips_slli_h_test
196 @llvm_mips_slli_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
197 @llvm_mips_slli_w_RES = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
199 define void @llvm_mips_slli_w_test() nounwind {
201 %0 = load <4 x i32>* @llvm_mips_slli_w_ARG1
202 %1 = tail call <4 x i32> @llvm.mips.slli.w(<4 x i32> %0, i32 7)
203 store <4 x i32> %1, <4 x i32>* @llvm_mips_slli_w_RES
207 declare <4 x i32> @llvm.mips.slli.w(<4 x i32>, i32) nounwind
209 ; CHECK: llvm_mips_slli_w_test:
213 ; CHECK: .size llvm_mips_slli_w_test
215 @llvm_mips_slli_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
216 @llvm_mips_slli_d_RES = global <2 x i64> <i64 0, i64 0>, align 16
218 define void @llvm_mips_slli_d_test() nounwind {
220 %0 = load <2 x i64>* @llvm_mips_slli_d_ARG1
221 %1 = tail call <2 x i64> @llvm.mips.slli.d(<2 x i64> %0, i32 7)
222 store <2 x i64> %1, <2 x i64>* @llvm_mips_slli_d_RES
226 declare <2 x i64> @llvm.mips.slli.d(<2 x i64>, i32) nounwind
228 ; CHECK: llvm_mips_slli_d_test:
232 ; CHECK: .size llvm_mips_slli_d_test
234 @llvm_mips_srai_b_ARG1 = global <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, align 16
235 @llvm_mips_srai_b_RES = global <16 x i8> <i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>, align 16
237 define void @llvm_mips_srai_b_test() nounwind {
239 %0 = load <16 x i8>* @llvm_mips_srai_b_ARG1
240 %1 = tail call <16 x i8> @llvm.mips.srai.b(<16 x i8> %0, i32 7)
241 store <16 x i8> %1, <16 x i8>* @llvm_mips_srai_b_RES
245 declare <16 x i8> @llvm.mips.srai.b(<16 x i8>, i32) nounwind
247 ; CHECK: llvm_mips_srai_b_test:
251 ; CHECK: .size llvm_mips_srai_b_test
253 @llvm_mips_srai_h_ARG1 = global <8 x i16> <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>, align 16
254 @llvm_mips_srai_h_RES = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
256 define void @llvm_mips_srai_h_test() nounwind {
258 %0 = load <8 x i16>* @llvm_mips_srai_h_ARG1
259 %1 = tail call <8 x i16> @llvm.mips.srai.h(<8 x i16> %0, i32 7)
260 store <8 x i16> %1, <8 x i16>* @llvm_mips_srai_h_RES
264 declare <8 x i16> @llvm.mips.srai.h(<8 x i16>, i32) nounwind
266 ; CHECK: llvm_mips_srai_h_test:
270 ; CHECK: .size llvm_mips_srai_h_test
272 @llvm_mips_srai_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
273 @llvm_mips_srai_w_RES = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
275 define void @llvm_mips_srai_w_test() nounwind {
277 %0 = load <4 x i32>* @llvm_mips_srai_w_ARG1
278 %1 = tail call <4 x i32> @llvm.mips.srai.w(<4 x i32> %0, i32 7)
279 store <4 x i32> %1, <4 x i32>* @llvm_mips_srai_w_RES
283 declare <4 x i32> @llvm.mips.srai.w(<4 x i32>, i32) nounwind
285 ; CHECK: llvm_mips_srai_w_test:
289 ; CHECK: .size llvm_mips_srai_w_test
291 @llvm_mips_srai_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
292 @llvm_mips_srai_d_RES = global <2 x i64> <i64 0, i64 0>, align 16
294 define void @llvm_mips_srai_d_test() nounwind {
296 %0 = load <2 x i64>* @llvm_mips_srai_d_ARG1
297 %1 = tail call <2 x i64> @llvm.mips.srai.d(<2 x i64> %0, i32 7)
298 store <2 x i64> %1, <2 x i64>* @llvm_mips_srai_d_RES
302 declare <2 x i64> @llvm.mips.srai.d(<2 x i64>, i32) nounwind
304 ; CHECK: llvm_mips_srai_d_test:
308 ; CHECK: .size llvm_mips_srai_d_test
310 @llvm_mips_srari_b_ARG1 = global <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, align 16
311 @llvm_mips_srari_b_RES = global <16 x i8> <i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>, align 16
313 define void @llvm_mips_srari_b_test() nounwind {
315 %0 = load <16 x i8>* @llvm_mips_srari_b_ARG1
316 %1 = tail call <16 x i8> @llvm.mips.srari.b(<16 x i8> %0, i32 7)
317 store <16 x i8> %1, <16 x i8>* @llvm_mips_srari_b_RES
321 declare <16 x i8> @llvm.mips.srari.b(<16 x i8>, i32) nounwind
323 ; CHECK: llvm_mips_srari_b_test:
327 ; CHECK: .size llvm_mips_srari_b_test
329 @llvm_mips_srari_h_ARG1 = global <8 x i16> <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>, align 16
330 @llvm_mips_srari_h_RES = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
332 define void @llvm_mips_srari_h_test() nounwind {
334 %0 = load <8 x i16>* @llvm_mips_srari_h_ARG1
335 %1 = tail call <8 x i16> @llvm.mips.srari.h(<8 x i16> %0, i32 7)
336 store <8 x i16> %1, <8 x i16>* @llvm_mips_srari_h_RES
340 declare <8 x i16> @llvm.mips.srari.h(<8 x i16>, i32) nounwind
342 ; CHECK: llvm_mips_srari_h_test:
346 ; CHECK: .size llvm_mips_srari_h_test
348 @llvm_mips_srari_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
349 @llvm_mips_srari_w_RES = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
351 define void @llvm_mips_srari_w_test() nounwind {
353 %0 = load <4 x i32>* @llvm_mips_srari_w_ARG1
354 %1 = tail call <4 x i32> @llvm.mips.srari.w(<4 x i32> %0, i32 7)
355 store <4 x i32> %1, <4 x i32>* @llvm_mips_srari_w_RES
359 declare <4 x i32> @llvm.mips.srari.w(<4 x i32>, i32) nounwind
361 ; CHECK: llvm_mips_srari_w_test:
365 ; CHECK: .size llvm_mips_srari_w_test
367 @llvm_mips_srari_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
368 @llvm_mips_srari_d_RES = global <2 x i64> <i64 0, i64 0>, align 16
370 define void @llvm_mips_srari_d_test() nounwind {
372 %0 = load <2 x i64>* @llvm_mips_srari_d_ARG1
373 %1 = tail call <2 x i64> @llvm.mips.srari.d(<2 x i64> %0, i32 7)
374 store <2 x i64> %1, <2 x i64>* @llvm_mips_srari_d_RES
378 declare <2 x i64> @llvm.mips.srari.d(<2 x i64>, i32) nounwind
380 ; CHECK: llvm_mips_srari_d_test:
384 ; CHECK: .size llvm_mips_srari_d_test
386 @llvm_mips_srli_b_ARG1 = global <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, align 16
387 @llvm_mips_srli_b_RES = global <16 x i8> <i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>, align 16
389 define void @llvm_mips_srli_b_test() nounwind {
391 %0 = load <16 x i8>* @llvm_mips_srli_b_ARG1
392 %1 = tail call <16 x i8> @llvm.mips.srli.b(<16 x i8> %0, i32 7)
393 store <16 x i8> %1, <16 x i8>* @llvm_mips_srli_b_RES
397 declare <16 x i8> @llvm.mips.srli.b(<16 x i8>, i32) nounwind
399 ; CHECK: llvm_mips_srli_b_test:
403 ; CHECK: .size llvm_mips_srli_b_test
405 @llvm_mips_srli_h_ARG1 = global <8 x i16> <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>, align 16
406 @llvm_mips_srli_h_RES = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
408 define void @llvm_mips_srli_h_test() nounwind {
410 %0 = load <8 x i16>* @llvm_mips_srli_h_ARG1
411 %1 = tail call <8 x i16> @llvm.mips.srli.h(<8 x i16> %0, i32 7)
412 store <8 x i16> %1, <8 x i16>* @llvm_mips_srli_h_RES
416 declare <8 x i16> @llvm.mips.srli.h(<8 x i16>, i32) nounwind
418 ; CHECK: llvm_mips_srli_h_test:
422 ; CHECK: .size llvm_mips_srli_h_test
424 @llvm_mips_srli_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
425 @llvm_mips_srli_w_RES = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
427 define void @llvm_mips_srli_w_test() nounwind {
429 %0 = load <4 x i32>* @llvm_mips_srli_w_ARG1
430 %1 = tail call <4 x i32> @llvm.mips.srli.w(<4 x i32> %0, i32 7)
431 store <4 x i32> %1, <4 x i32>* @llvm_mips_srli_w_RES
435 declare <4 x i32> @llvm.mips.srli.w(<4 x i32>, i32) nounwind
437 ; CHECK: llvm_mips_srli_w_test:
441 ; CHECK: .size llvm_mips_srli_w_test
443 @llvm_mips_srli_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
444 @llvm_mips_srli_d_RES = global <2 x i64> <i64 0, i64 0>, align 16
446 define void @llvm_mips_srli_d_test() nounwind {
448 %0 = load <2 x i64>* @llvm_mips_srli_d_ARG1
449 %1 = tail call <2 x i64> @llvm.mips.srli.d(<2 x i64> %0, i32 7)
450 store <2 x i64> %1, <2 x i64>* @llvm_mips_srli_d_RES
454 declare <2 x i64> @llvm.mips.srli.d(<2 x i64>, i32) nounwind
456 ; CHECK: llvm_mips_srli_d_test:
460 ; CHECK: .size llvm_mips_srli_d_test
462 @llvm_mips_srlri_b_ARG1 = global <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, align 16
463 @llvm_mips_srlri_b_RES = global <16 x i8> <i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0, i8 0>, align 16
465 define void @llvm_mips_srlri_b_test() nounwind {
467 %0 = load <16 x i8>* @llvm_mips_srlri_b_ARG1
468 %1 = tail call <16 x i8> @llvm.mips.srlri.b(<16 x i8> %0, i32 7)
469 store <16 x i8> %1, <16 x i8>* @llvm_mips_srlri_b_RES
473 declare <16 x i8> @llvm.mips.srlri.b(<16 x i8>, i32) nounwind
475 ; CHECK: llvm_mips_srlri_b_test:
479 ; CHECK: .size llvm_mips_srlri_b_test
481 @llvm_mips_srlri_h_ARG1 = global <8 x i16> <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>, align 16
482 @llvm_mips_srlri_h_RES = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
484 define void @llvm_mips_srlri_h_test() nounwind {
486 %0 = load <8 x i16>* @llvm_mips_srlri_h_ARG1
487 %1 = tail call <8 x i16> @llvm.mips.srlri.h(<8 x i16> %0, i32 7)
488 store <8 x i16> %1, <8 x i16>* @llvm_mips_srlri_h_RES
492 declare <8 x i16> @llvm.mips.srlri.h(<8 x i16>, i32) nounwind
494 ; CHECK: llvm_mips_srlri_h_test:
498 ; CHECK: .size llvm_mips_srlri_h_test
500 @llvm_mips_srlri_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
501 @llvm_mips_srlri_w_RES = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
503 define void @llvm_mips_srlri_w_test() nounwind {
505 %0 = load <4 x i32>* @llvm_mips_srlri_w_ARG1
506 %1 = tail call <4 x i32> @llvm.mips.srlri.w(<4 x i32> %0, i32 7)
507 store <4 x i32> %1, <4 x i32>* @llvm_mips_srlri_w_RES
511 declare <4 x i32> @llvm.mips.srlri.w(<4 x i32>, i32) nounwind
513 ; CHECK: llvm_mips_srlri_w_test:
517 ; CHECK: .size llvm_mips_srlri_w_test
519 @llvm_mips_srlri_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
520 @llvm_mips_srlri_d_RES = global <2 x i64> <i64 0, i64 0>, align 16
522 define void @llvm_mips_srlri_d_test() nounwind {
524 %0 = load <2 x i64>* @llvm_mips_srlri_d_ARG1
525 %1 = tail call <2 x i64> @llvm.mips.srlri.d(<2 x i64> %0, i32 7)
526 store <2 x i64> %1, <2 x i64>* @llvm_mips_srlri_d_RES
530 declare <2 x i64> @llvm.mips.srlri.d(<2 x i64>, i32) nounwind
532 ; CHECK: llvm_mips_srlri_d_test:
536 ; CHECK: .size llvm_mips_srlri_d_test