1 ; Test the MSA intrinsics that are encoded with the I5 instruction format.
2 ; There are lots of these so this covers those beginning with 'c'
4 ; RUN: llc -march=mips -mattr=+msa,+fp64,+mips32r2 < %s | FileCheck %s
5 ; RUN: llc -march=mipsel -mattr=+msa,+fp64,+mips32r2 < %s | FileCheck %s
7 @llvm_mips_ceqi_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
8 @llvm_mips_ceqi_b_RES1 = 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 @llvm_mips_ceqi_b_RES2 = 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
11 define void @llvm_mips_ceqi_b_test() nounwind {
13 %0 = load <16 x i8>, <16 x i8>* @llvm_mips_ceqi_b_ARG1
14 %1 = tail call <16 x i8> @llvm.mips.ceqi.b(<16 x i8> %0, i32 14)
15 store <16 x i8> %1, <16 x i8>* @llvm_mips_ceqi_b_RES1
16 %2 = tail call <16 x i8> @llvm.mips.ceqi.b(<16 x i8> %0, i32 -14)
17 store <16 x i8> %2, <16 x i8>* @llvm_mips_ceqi_b_RES2
21 declare <16 x i8> @llvm.mips.ceqi.b(<16 x i8>, i32) nounwind
23 ; CHECK: llvm_mips_ceqi_b_test:
24 ; CHECK: ld.b [[RS:\$w[0-9]+]]
25 ; CHECK: ceqi.b [[RD1:\$w[0-9]]], [[RS]], 14
27 ; CHECK: ceqi.b [[RD2:\$w[0-9]]], [[RS]], -14
29 ; CHECK: .size llvm_mips_ceqi_b_test
31 @llvm_mips_ceqi_h_ARG1 = global <8 x i16> <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>, align 16
32 @llvm_mips_ceqi_h_RES1 = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
33 @llvm_mips_ceqi_h_RES2 = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
35 define void @llvm_mips_ceqi_h_test() nounwind {
37 %0 = load <8 x i16>, <8 x i16>* @llvm_mips_ceqi_h_ARG1
38 %1 = tail call <8 x i16> @llvm.mips.ceqi.h(<8 x i16> %0, i32 14)
39 store <8 x i16> %1, <8 x i16>* @llvm_mips_ceqi_h_RES1
40 %2 = tail call <8 x i16> @llvm.mips.ceqi.h(<8 x i16> %0, i32 -14)
41 store <8 x i16> %2, <8 x i16>* @llvm_mips_ceqi_h_RES2
45 declare <8 x i16> @llvm.mips.ceqi.h(<8 x i16>, i32) nounwind
47 ; CHECK: llvm_mips_ceqi_h_test:
48 ; CHECK: ld.h [[RS:\$w[0-9]+]]
49 ; CHECK: ceqi.h [[RD1:\$w[0-9]]], [[RS]], 14
51 ; CHECK: ceqi.h [[RD2:\$w[0-9]]], [[RS]], -14
53 ; CHECK: .size llvm_mips_ceqi_h_test
55 @llvm_mips_ceqi_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
56 @llvm_mips_ceqi_w_RES1 = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
57 @llvm_mips_ceqi_w_RES2 = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
59 define void @llvm_mips_ceqi_w_test() nounwind {
61 %0 = load <4 x i32>, <4 x i32>* @llvm_mips_ceqi_w_ARG1
62 %1 = tail call <4 x i32> @llvm.mips.ceqi.w(<4 x i32> %0, i32 14)
63 store <4 x i32> %1, <4 x i32>* @llvm_mips_ceqi_w_RES1
64 %2 = tail call <4 x i32> @llvm.mips.ceqi.w(<4 x i32> %0, i32 -14)
65 store <4 x i32> %2, <4 x i32>* @llvm_mips_ceqi_w_RES2
69 declare <4 x i32> @llvm.mips.ceqi.w(<4 x i32>, i32) nounwind
71 ; CHECK: llvm_mips_ceqi_w_test:
72 ; CHECK: ld.w [[RS:\$w[0-9]+]]
73 ; CHECK: ceqi.w [[RD1:\$w[0-9]]], [[RS]], 14
75 ; CHECK: ceqi.w [[RD2:\$w[0-9]]], [[RS]], -14
77 ; CHECK: .size llvm_mips_ceqi_w_test
79 @llvm_mips_ceqi_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
80 @llvm_mips_ceqi_d_RES1 = global <2 x i64> <i64 0, i64 0>, align 16
81 @llvm_mips_ceqi_d_RES2 = global <2 x i64> <i64 0, i64 0>, align 16
83 define void @llvm_mips_ceqi_d_test() nounwind {
85 %0 = load <2 x i64>, <2 x i64>* @llvm_mips_ceqi_d_ARG1
86 %1 = tail call <2 x i64> @llvm.mips.ceqi.d(<2 x i64> %0, i32 14)
87 store <2 x i64> %1, <2 x i64>* @llvm_mips_ceqi_d_RES1
88 %2 = tail call <2 x i64> @llvm.mips.ceqi.d(<2 x i64> %0, i32 -14)
89 store <2 x i64> %2, <2 x i64>* @llvm_mips_ceqi_d_RES2
93 declare <2 x i64> @llvm.mips.ceqi.d(<2 x i64>, i32) nounwind
95 ; CHECK: llvm_mips_ceqi_d_test:
96 ; CHECK: ld.d [[RS:\$w[0-9]+]]
97 ; CHECK: ceqi.d [[RD1:\$w[0-9]]], [[RS]], 14
99 ; CHECK: ceqi.d [[RD2:\$w[0-9]]], [[RS]], -14
100 ; CHECK: st.d [[RD2]]
101 ; CHECK: .size llvm_mips_ceqi_d_test
103 @llvm_mips_clei_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
104 @llvm_mips_clei_s_b_RES1 = 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
105 @llvm_mips_clei_s_b_RES2 = 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
107 define void @llvm_mips_clei_s_b_test() nounwind {
109 %0 = load <16 x i8>, <16 x i8>* @llvm_mips_clei_s_b_ARG1
110 %1 = tail call <16 x i8> @llvm.mips.clei.s.b(<16 x i8> %0, i32 14)
111 store <16 x i8> %1, <16 x i8>* @llvm_mips_clei_s_b_RES1
112 %2 = tail call <16 x i8> @llvm.mips.clei.s.b(<16 x i8> %0, i32 -14)
113 store <16 x i8> %2, <16 x i8>* @llvm_mips_clei_s_b_RES2
117 declare <16 x i8> @llvm.mips.clei.s.b(<16 x i8>, i32) nounwind
119 ; CHECK: llvm_mips_clei_s_b_test:
120 ; CHECK: ld.b [[RS:\$w[0-9]+]]
121 ; CHECK: clei_s.b [[RD1:\$w[0-9]]], [[RS]], 14
122 ; CHECK: st.b [[RD1]]
123 ; CHECK: clei_s.b [[RD2:\$w[0-9]]], [[RS]], -14
124 ; CHECK: st.b [[RD2]]
125 ; CHECK: .size llvm_mips_clei_s_b_test
127 @llvm_mips_clei_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
128 @llvm_mips_clei_s_h_RES1 = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
129 @llvm_mips_clei_s_h_RES2 = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
131 define void @llvm_mips_clei_s_h_test() nounwind {
133 %0 = load <8 x i16>, <8 x i16>* @llvm_mips_clei_s_h_ARG1
134 %1 = tail call <8 x i16> @llvm.mips.clei.s.h(<8 x i16> %0, i32 14)
135 store <8 x i16> %1, <8 x i16>* @llvm_mips_clei_s_h_RES1
136 %2 = tail call <8 x i16> @llvm.mips.clei.s.h(<8 x i16> %0, i32 -14)
137 store <8 x i16> %2, <8 x i16>* @llvm_mips_clei_s_h_RES2
141 declare <8 x i16> @llvm.mips.clei.s.h(<8 x i16>, i32) nounwind
143 ; CHECK: llvm_mips_clei_s_h_test:
144 ; CHECK: ld.h [[RS:\$w[0-9]+]]
145 ; CHECK: clei_s.h [[RD1:\$w[0-9]]], [[RS]], 14
146 ; CHECK: st.h [[RD1]]
147 ; CHECK: clei_s.h [[RD2:\$w[0-9]]], [[RS]], -14
148 ; CHECK: st.h [[RD2]]
149 ; CHECK: .size llvm_mips_clei_s_h_test
151 @llvm_mips_clei_s_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
152 @llvm_mips_clei_s_w_RES1 = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
153 @llvm_mips_clei_s_w_RES2 = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
155 define void @llvm_mips_clei_s_w_test() nounwind {
157 %0 = load <4 x i32>, <4 x i32>* @llvm_mips_clei_s_w_ARG1
158 %1 = tail call <4 x i32> @llvm.mips.clei.s.w(<4 x i32> %0, i32 14)
159 store <4 x i32> %1, <4 x i32>* @llvm_mips_clei_s_w_RES1
160 %2 = tail call <4 x i32> @llvm.mips.clei.s.w(<4 x i32> %0, i32 -14)
161 store <4 x i32> %2, <4 x i32>* @llvm_mips_clei_s_w_RES2
165 declare <4 x i32> @llvm.mips.clei.s.w(<4 x i32>, i32) nounwind
167 ; CHECK: llvm_mips_clei_s_w_test:
168 ; CHECK: ld.w [[RS:\$w[0-9]+]]
169 ; CHECK: clei_s.w [[RD1:\$w[0-9]]], [[RS]], 14
170 ; CHECK: st.w [[RD1]]
171 ; CHECK: clei_s.w [[RD2:\$w[0-9]]], [[RS]], -14
172 ; CHECK: st.w [[RD2]]
173 ; CHECK: .size llvm_mips_clei_s_w_test
175 @llvm_mips_clei_s_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
176 @llvm_mips_clei_s_d_RES1 = global <2 x i64> <i64 0, i64 0>, align 16
177 @llvm_mips_clei_s_d_RES2 = global <2 x i64> <i64 0, i64 0>, align 16
179 define void @llvm_mips_clei_s_d_test() nounwind {
181 %0 = load <2 x i64>, <2 x i64>* @llvm_mips_clei_s_d_ARG1
182 %1 = tail call <2 x i64> @llvm.mips.clei.s.d(<2 x i64> %0, i32 14)
183 store <2 x i64> %1, <2 x i64>* @llvm_mips_clei_s_d_RES1
184 %2 = tail call <2 x i64> @llvm.mips.clei.s.d(<2 x i64> %0, i32 -14)
185 store <2 x i64> %2, <2 x i64>* @llvm_mips_clei_s_d_RES2
189 declare <2 x i64> @llvm.mips.clei.s.d(<2 x i64>, i32) nounwind
191 ; CHECK: llvm_mips_clei_s_d_test:
192 ; CHECK: ld.d [[RS:\$w[0-9]+]]
193 ; CHECK: clei_s.d [[RD1:\$w[0-9]]], [[RS]], 14
194 ; CHECK: st.d [[RD1]]
195 ; CHECK: clei_s.d [[RD2:\$w[0-9]]], [[RS]], -14
196 ; CHECK: st.d [[RD2]]
197 ; CHECK: .size llvm_mips_clei_s_d_test
199 @llvm_mips_clei_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
200 @llvm_mips_clei_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
202 define void @llvm_mips_clei_u_b_test() nounwind {
204 %0 = load <16 x i8>, <16 x i8>* @llvm_mips_clei_u_b_ARG1
205 %1 = tail call <16 x i8> @llvm.mips.clei.u.b(<16 x i8> %0, i32 14)
206 store <16 x i8> %1, <16 x i8>* @llvm_mips_clei_u_b_RES
210 declare <16 x i8> @llvm.mips.clei.u.b(<16 x i8>, i32) nounwind
212 ; CHECK: llvm_mips_clei_u_b_test:
216 ; CHECK: .size llvm_mips_clei_u_b_test
218 @llvm_mips_clei_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
219 @llvm_mips_clei_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
221 define void @llvm_mips_clei_u_h_test() nounwind {
223 %0 = load <8 x i16>, <8 x i16>* @llvm_mips_clei_u_h_ARG1
224 %1 = tail call <8 x i16> @llvm.mips.clei.u.h(<8 x i16> %0, i32 14)
225 store <8 x i16> %1, <8 x i16>* @llvm_mips_clei_u_h_RES
229 declare <8 x i16> @llvm.mips.clei.u.h(<8 x i16>, i32) nounwind
231 ; CHECK: llvm_mips_clei_u_h_test:
235 ; CHECK: .size llvm_mips_clei_u_h_test
237 @llvm_mips_clei_u_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
238 @llvm_mips_clei_u_w_RES = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
240 define void @llvm_mips_clei_u_w_test() nounwind {
242 %0 = load <4 x i32>, <4 x i32>* @llvm_mips_clei_u_w_ARG1
243 %1 = tail call <4 x i32> @llvm.mips.clei.u.w(<4 x i32> %0, i32 14)
244 store <4 x i32> %1, <4 x i32>* @llvm_mips_clei_u_w_RES
248 declare <4 x i32> @llvm.mips.clei.u.w(<4 x i32>, i32) nounwind
250 ; CHECK: llvm_mips_clei_u_w_test:
254 ; CHECK: .size llvm_mips_clei_u_w_test
256 @llvm_mips_clei_u_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
257 @llvm_mips_clei_u_d_RES = global <2 x i64> <i64 0, i64 0>, align 16
259 define void @llvm_mips_clei_u_d_test() nounwind {
261 %0 = load <2 x i64>, <2 x i64>* @llvm_mips_clei_u_d_ARG1
262 %1 = tail call <2 x i64> @llvm.mips.clei.u.d(<2 x i64> %0, i32 14)
263 store <2 x i64> %1, <2 x i64>* @llvm_mips_clei_u_d_RES
267 declare <2 x i64> @llvm.mips.clei.u.d(<2 x i64>, i32) nounwind
269 ; CHECK: llvm_mips_clei_u_d_test:
273 ; CHECK: .size llvm_mips_clei_u_d_test
275 @llvm_mips_clti_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
276 @llvm_mips_clti_s_b_RES1 = 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
277 @llvm_mips_clti_s_b_RES2 = 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
279 define void @llvm_mips_clti_s_b_test() nounwind {
281 %0 = load <16 x i8>, <16 x i8>* @llvm_mips_clti_s_b_ARG1
282 %1 = tail call <16 x i8> @llvm.mips.clti.s.b(<16 x i8> %0, i32 14)
283 store <16 x i8> %1, <16 x i8>* @llvm_mips_clti_s_b_RES1
284 %2 = tail call <16 x i8> @llvm.mips.clti.s.b(<16 x i8> %0, i32 -14)
285 store <16 x i8> %2, <16 x i8>* @llvm_mips_clti_s_b_RES2
289 declare <16 x i8> @llvm.mips.clti.s.b(<16 x i8>, i32) nounwind
291 ; CHECK: llvm_mips_clti_s_b_test:
292 ; CHECK: ld.b [[RS:\$w[0-9]+]]
293 ; CHECK: clti_s.b [[RD1:\$w[0-9]]], [[RS]], 14
294 ; CHECK: st.b [[RD1]]
295 ; CHECK: clti_s.b [[RD2:\$w[0-9]]], [[RS]], -14
296 ; CHECK: st.b [[RD2]]
297 ; CHECK: .size llvm_mips_clti_s_b_test
299 @llvm_mips_clti_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
300 @llvm_mips_clti_s_h_RES1 = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
301 @llvm_mips_clti_s_h_RES2 = global <8 x i16> <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>, align 16
303 define void @llvm_mips_clti_s_h_test() nounwind {
305 %0 = load <8 x i16>, <8 x i16>* @llvm_mips_clti_s_h_ARG1
306 %1 = tail call <8 x i16> @llvm.mips.clti.s.h(<8 x i16> %0, i32 14)
307 store <8 x i16> %1, <8 x i16>* @llvm_mips_clti_s_h_RES1
308 %2 = tail call <8 x i16> @llvm.mips.clti.s.h(<8 x i16> %0, i32 -14)
309 store <8 x i16> %2, <8 x i16>* @llvm_mips_clti_s_h_RES2
313 declare <8 x i16> @llvm.mips.clti.s.h(<8 x i16>, i32) nounwind
315 ; CHECK: llvm_mips_clti_s_h_test:
316 ; CHECK: ld.h [[RS:\$w[0-9]+]]
317 ; CHECK: clti_s.h [[RD1:\$w[0-9]]], [[RS]], 14
318 ; CHECK: st.h [[RD1]]
319 ; CHECK: clti_s.h [[RD2:\$w[0-9]]], [[RS]], -14
320 ; CHECK: st.h [[RD2]]
321 ; CHECK: .size llvm_mips_clti_s_h_test
323 @llvm_mips_clti_s_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
324 @llvm_mips_clti_s_w_RES1 = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
325 @llvm_mips_clti_s_w_RES2 = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
327 define void @llvm_mips_clti_s_w_test() nounwind {
329 %0 = load <4 x i32>, <4 x i32>* @llvm_mips_clti_s_w_ARG1
330 %1 = tail call <4 x i32> @llvm.mips.clti.s.w(<4 x i32> %0, i32 14)
331 store <4 x i32> %1, <4 x i32>* @llvm_mips_clti_s_w_RES1
332 %2 = tail call <4 x i32> @llvm.mips.clti.s.w(<4 x i32> %0, i32 -14)
333 store <4 x i32> %2, <4 x i32>* @llvm_mips_clti_s_w_RES2
337 declare <4 x i32> @llvm.mips.clti.s.w(<4 x i32>, i32) nounwind
339 ; CHECK: llvm_mips_clti_s_w_test:
340 ; CHECK: ld.w [[RS:\$w[0-9]+]]
341 ; CHECK: clti_s.w [[RD1:\$w[0-9]]], [[RS]], 14
342 ; CHECK: st.w [[RD1]]
343 ; CHECK: clti_s.w [[RD2:\$w[0-9]]], [[RS]], -14
344 ; CHECK: st.w [[RD2]]
345 ; CHECK: .size llvm_mips_clti_s_w_test
347 @llvm_mips_clti_s_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
348 @llvm_mips_clti_s_d_RES1 = global <2 x i64> <i64 0, i64 0>, align 16
349 @llvm_mips_clti_s_d_RES2 = global <2 x i64> <i64 0, i64 0>, align 16
351 define void @llvm_mips_clti_s_d_test() nounwind {
353 %0 = load <2 x i64>, <2 x i64>* @llvm_mips_clti_s_d_ARG1
354 %1 = tail call <2 x i64> @llvm.mips.clti.s.d(<2 x i64> %0, i32 14)
355 store <2 x i64> %1, <2 x i64>* @llvm_mips_clti_s_d_RES1
356 %2 = tail call <2 x i64> @llvm.mips.clti.s.d(<2 x i64> %0, i32 -14)
357 store <2 x i64> %2, <2 x i64>* @llvm_mips_clti_s_d_RES2
361 declare <2 x i64> @llvm.mips.clti.s.d(<2 x i64>, i32) nounwind
363 ; CHECK: llvm_mips_clti_s_d_test:
364 ; CHECK: ld.d [[RS:\$w[0-9]+]]
365 ; CHECK: clti_s.d [[RD1:\$w[0-9]]], [[RS]], 14
366 ; CHECK: st.d [[RD1]]
367 ; CHECK: clti_s.d [[RD2:\$w[0-9]]], [[RS]], -14
368 ; CHECK: st.d [[RD2]]
369 ; CHECK: .size llvm_mips_clti_s_d_test
371 @llvm_mips_clti_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
372 @llvm_mips_clti_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
374 define void @llvm_mips_clti_u_b_test() nounwind {
376 %0 = load <16 x i8>, <16 x i8>* @llvm_mips_clti_u_b_ARG1
377 %1 = tail call <16 x i8> @llvm.mips.clti.u.b(<16 x i8> %0, i32 14)
378 store <16 x i8> %1, <16 x i8>* @llvm_mips_clti_u_b_RES
382 declare <16 x i8> @llvm.mips.clti.u.b(<16 x i8>, i32) nounwind
384 ; CHECK: llvm_mips_clti_u_b_test:
388 ; CHECK: .size llvm_mips_clti_u_b_test
390 @llvm_mips_clti_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
391 @llvm_mips_clti_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
393 define void @llvm_mips_clti_u_h_test() nounwind {
395 %0 = load <8 x i16>, <8 x i16>* @llvm_mips_clti_u_h_ARG1
396 %1 = tail call <8 x i16> @llvm.mips.clti.u.h(<8 x i16> %0, i32 14)
397 store <8 x i16> %1, <8 x i16>* @llvm_mips_clti_u_h_RES
401 declare <8 x i16> @llvm.mips.clti.u.h(<8 x i16>, i32) nounwind
403 ; CHECK: llvm_mips_clti_u_h_test:
407 ; CHECK: .size llvm_mips_clti_u_h_test
409 @llvm_mips_clti_u_w_ARG1 = global <4 x i32> <i32 0, i32 1, i32 2, i32 3>, align 16
410 @llvm_mips_clti_u_w_RES = global <4 x i32> <i32 0, i32 0, i32 0, i32 0>, align 16
412 define void @llvm_mips_clti_u_w_test() nounwind {
414 %0 = load <4 x i32>, <4 x i32>* @llvm_mips_clti_u_w_ARG1
415 %1 = tail call <4 x i32> @llvm.mips.clti.u.w(<4 x i32> %0, i32 14)
416 store <4 x i32> %1, <4 x i32>* @llvm_mips_clti_u_w_RES
420 declare <4 x i32> @llvm.mips.clti.u.w(<4 x i32>, i32) nounwind
422 ; CHECK: llvm_mips_clti_u_w_test:
426 ; CHECK: .size llvm_mips_clti_u_w_test
428 @llvm_mips_clti_u_d_ARG1 = global <2 x i64> <i64 0, i64 1>, align 16
429 @llvm_mips_clti_u_d_RES = global <2 x i64> <i64 0, i64 0>, align 16
431 define void @llvm_mips_clti_u_d_test() nounwind {
433 %0 = load <2 x i64>, <2 x i64>* @llvm_mips_clti_u_d_ARG1
434 %1 = tail call <2 x i64> @llvm.mips.clti.u.d(<2 x i64> %0, i32 14)
435 store <2 x i64> %1, <2 x i64>* @llvm_mips_clti_u_d_RES
439 declare <2 x i64> @llvm.mips.clti.u.d(<2 x i64>, i32) nounwind
441 ; CHECK: llvm_mips_clti_u_d_test:
445 ; CHECK: .size llvm_mips_clti_u_d_test