1//===-- BuiltinsMips.def - Mips Builtin function database --------*- C++ -*-==//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file defines the MIPS-specific builtin function database. Users of
11// this file must define the BUILTIN macro to make use of this information.
12//
13//===----------------------------------------------------------------------===//
14
15// The format of this database matches clang/Basic/Builtins.def.
16
17// MIPS DSP Rev 1
18
19// Add/subtract with optional saturation
20BUILTIN(__builtin_mips_addu_qb, "V4ScV4ScV4Sc", "n")
21BUILTIN(__builtin_mips_addu_s_qb, "V4ScV4ScV4Sc", "n")
22BUILTIN(__builtin_mips_subu_qb, "V4ScV4ScV4Sc", "n")
23BUILTIN(__builtin_mips_subu_s_qb, "V4ScV4ScV4Sc", "n")
24
25BUILTIN(__builtin_mips_addq_ph, "V2sV2sV2s", "n")
26BUILTIN(__builtin_mips_addq_s_ph, "V2sV2sV2s", "n")
27BUILTIN(__builtin_mips_subq_ph, "V2sV2sV2s", "n")
28BUILTIN(__builtin_mips_subq_s_ph, "V2sV2sV2s", "n")
29
30BUILTIN(__builtin_mips_madd, "LLiLLiii", "nc")
31BUILTIN(__builtin_mips_maddu, "LLiLLiUiUi", "nc")
32BUILTIN(__builtin_mips_msub, "LLiLLiii", "nc")
33BUILTIN(__builtin_mips_msubu, "LLiLLiUiUi", "nc")
34
35BUILTIN(__builtin_mips_addq_s_w, "iii", "n")
36BUILTIN(__builtin_mips_subq_s_w, "iii", "n")
37
38BUILTIN(__builtin_mips_addsc, "iii", "n")
39BUILTIN(__builtin_mips_addwc, "iii", "n")
40
41BUILTIN(__builtin_mips_modsub, "iii", "nc")
42
43BUILTIN(__builtin_mips_raddu_w_qb, "iV4Sc", "nc")
44
45BUILTIN(__builtin_mips_absq_s_ph, "V2sV2s", "n")
46BUILTIN(__builtin_mips_absq_s_w, "ii", "n")
47
48BUILTIN(__builtin_mips_precrq_qb_ph, "V4ScV2sV2s", "nc")
49BUILTIN(__builtin_mips_precrqu_s_qb_ph, "V4ScV2sV2s", "n")
50BUILTIN(__builtin_mips_precrq_ph_w, "V2sii", "nc")
51BUILTIN(__builtin_mips_precrq_rs_ph_w, "V2sii", "n")
52BUILTIN(__builtin_mips_preceq_w_phl, "iV2s", "nc")
53BUILTIN(__builtin_mips_preceq_w_phr, "iV2s", "nc")
54BUILTIN(__builtin_mips_precequ_ph_qbl, "V2sV4Sc", "nc")
55BUILTIN(__builtin_mips_precequ_ph_qbr, "V2sV4Sc", "nc")
56BUILTIN(__builtin_mips_precequ_ph_qbla, "V2sV4Sc", "nc")
57BUILTIN(__builtin_mips_precequ_ph_qbra, "V2sV4Sc", "nc")
58BUILTIN(__builtin_mips_preceu_ph_qbl, "V2sV4Sc", "nc")
59BUILTIN(__builtin_mips_preceu_ph_qbr, "V2sV4Sc", "nc")
60BUILTIN(__builtin_mips_preceu_ph_qbla, "V2sV4Sc", "nc")
61BUILTIN(__builtin_mips_preceu_ph_qbra, "V2sV4Sc", "nc")
62
63BUILTIN(__builtin_mips_shll_qb, "V4ScV4Sci", "n")
64BUILTIN(__builtin_mips_shrl_qb, "V4ScV4Sci", "nc")
65BUILTIN(__builtin_mips_shll_ph, "V2sV2si", "n")
66BUILTIN(__builtin_mips_shll_s_ph, "V2sV2si", "n")
67BUILTIN(__builtin_mips_shra_ph, "V2sV2si", "nc")
68BUILTIN(__builtin_mips_shra_r_ph, "V2sV2si", "nc")
69BUILTIN(__builtin_mips_shll_s_w, "iii", "n")
70BUILTIN(__builtin_mips_shra_r_w, "iii", "nc")
71BUILTIN(__builtin_mips_shilo, "LLiLLii", "nc")
72
73BUILTIN(__builtin_mips_muleu_s_ph_qbl, "V2sV4ScV2s", "n")
74BUILTIN(__builtin_mips_muleu_s_ph_qbr, "V2sV4ScV2s", "n")
75BUILTIN(__builtin_mips_mulq_rs_ph, "V2sV2sV2s", "n")
76BUILTIN(__builtin_mips_muleq_s_w_phl, "iV2sV2s", "n")
77BUILTIN(__builtin_mips_muleq_s_w_phr, "iV2sV2s", "n")
78BUILTIN(__builtin_mips_mulsaq_s_w_ph, "LLiLLiV2sV2s", "n")
79BUILTIN(__builtin_mips_maq_s_w_phl, "LLiLLiV2sV2s", "n")
80BUILTIN(__builtin_mips_maq_s_w_phr, "LLiLLiV2sV2s", "n")
81BUILTIN(__builtin_mips_maq_sa_w_phl, "LLiLLiV2sV2s", "n")
82BUILTIN(__builtin_mips_maq_sa_w_phr, "LLiLLiV2sV2s", "n")
83BUILTIN(__builtin_mips_mult, "LLiii", "nc")
84BUILTIN(__builtin_mips_multu, "LLiUiUi", "nc")
85
86BUILTIN(__builtin_mips_dpau_h_qbl, "LLiLLiV4ScV4Sc", "nc")
87BUILTIN(__builtin_mips_dpau_h_qbr, "LLiLLiV4ScV4Sc", "nc")
88BUILTIN(__builtin_mips_dpsu_h_qbl, "LLiLLiV4ScV4Sc", "nc")
89BUILTIN(__builtin_mips_dpsu_h_qbr, "LLiLLiV4ScV4Sc", "nc")
90BUILTIN(__builtin_mips_dpaq_s_w_ph, "LLiLLiV2sV2s", "n")
91BUILTIN(__builtin_mips_dpsq_s_w_ph, "LLiLLiV2sV2s", "n")
92BUILTIN(__builtin_mips_dpaq_sa_l_w, "LLiLLiii", "n")
93BUILTIN(__builtin_mips_dpsq_sa_l_w, "LLiLLiii", "n")
94
95BUILTIN(__builtin_mips_cmpu_eq_qb, "vV4ScV4Sc", "n")
96BUILTIN(__builtin_mips_cmpu_lt_qb, "vV4ScV4Sc", "n")
97BUILTIN(__builtin_mips_cmpu_le_qb, "vV4ScV4Sc", "n")
98BUILTIN(__builtin_mips_cmpgu_eq_qb, "iV4ScV4Sc", "n")
99BUILTIN(__builtin_mips_cmpgu_lt_qb, "iV4ScV4Sc", "n")
100BUILTIN(__builtin_mips_cmpgu_le_qb, "iV4ScV4Sc", "n")
101BUILTIN(__builtin_mips_cmp_eq_ph, "vV2sV2s", "n")
102BUILTIN(__builtin_mips_cmp_lt_ph, "vV2sV2s", "n")
103BUILTIN(__builtin_mips_cmp_le_ph, "vV2sV2s", "n")
104
105BUILTIN(__builtin_mips_extr_s_h, "iLLii", "n")
106BUILTIN(__builtin_mips_extr_w, "iLLii", "n")
107BUILTIN(__builtin_mips_extr_rs_w, "iLLii", "n")
108BUILTIN(__builtin_mips_extr_r_w, "iLLii", "n")
109BUILTIN(__builtin_mips_extp, "iLLii", "n")
110BUILTIN(__builtin_mips_extpdp, "iLLii", "n")
111
112BUILTIN(__builtin_mips_wrdsp, "viIi", "n")
113BUILTIN(__builtin_mips_rddsp, "iIi", "n")
114BUILTIN(__builtin_mips_insv, "iii", "n")
115BUILTIN(__builtin_mips_bitrev, "ii", "nc")
116BUILTIN(__builtin_mips_packrl_ph, "V2sV2sV2s", "nc")
117BUILTIN(__builtin_mips_repl_qb, "V4Sci", "nc")
118BUILTIN(__builtin_mips_repl_ph, "V2si", "nc")
119BUILTIN(__builtin_mips_pick_qb, "V4ScV4ScV4Sc", "n")
120BUILTIN(__builtin_mips_pick_ph, "V2sV2sV2s", "n")
121BUILTIN(__builtin_mips_mthlip, "LLiLLii", "n")
122BUILTIN(__builtin_mips_bposge32, "i", "n")
123BUILTIN(__builtin_mips_lbux, "iv*i", "n")
124BUILTIN(__builtin_mips_lhx, "iv*i", "n")
125BUILTIN(__builtin_mips_lwx, "iv*i", "n")
126
127// MIPS DSP Rev 2
128
129BUILTIN(__builtin_mips_absq_s_qb, "V4ScV4Sc", "n")
130
131BUILTIN(__builtin_mips_addqh_ph, "V2sV2sV2s", "nc")
132BUILTIN(__builtin_mips_addqh_r_ph, "V2sV2sV2s", "nc")
133BUILTIN(__builtin_mips_addqh_w, "iii", "nc")
134BUILTIN(__builtin_mips_addqh_r_w, "iii", "nc")
135
136BUILTIN(__builtin_mips_addu_ph, "V2sV2sV2s", "n")
137BUILTIN(__builtin_mips_addu_s_ph, "V2sV2sV2s", "n")
138
139BUILTIN(__builtin_mips_adduh_qb, "V4ScV4ScV4Sc", "nc")
140BUILTIN(__builtin_mips_adduh_r_qb, "V4ScV4ScV4Sc", "nc")
141
142BUILTIN(__builtin_mips_append, "iiiIi", "nc")
143BUILTIN(__builtin_mips_balign, "iiiIi", "nc")
144
145BUILTIN(__builtin_mips_cmpgdu_eq_qb, "iV4ScV4Sc", "n")
146BUILTIN(__builtin_mips_cmpgdu_lt_qb, "iV4ScV4Sc", "n")
147BUILTIN(__builtin_mips_cmpgdu_le_qb, "iV4ScV4Sc", "n")
148
149BUILTIN(__builtin_mips_dpa_w_ph, "LLiLLiV2sV2s", "nc")
150BUILTIN(__builtin_mips_dps_w_ph, "LLiLLiV2sV2s", "nc")
151
152BUILTIN(__builtin_mips_dpaqx_s_w_ph, "LLiLLiV2sV2s", "n")
153BUILTIN(__builtin_mips_dpaqx_sa_w_ph, "LLiLLiV2sV2s", "n")
154BUILTIN(__builtin_mips_dpax_w_ph, "LLiLLiV2sV2s", "nc")
155BUILTIN(__builtin_mips_dpsx_w_ph, "LLiLLiV2sV2s", "nc")
156BUILTIN(__builtin_mips_dpsqx_s_w_ph, "LLiLLiV2sV2s", "n")
157BUILTIN(__builtin_mips_dpsqx_sa_w_ph, "LLiLLiV2sV2s", "n")
158
159BUILTIN(__builtin_mips_mul_ph, "V2sV2sV2s", "n")
160BUILTIN(__builtin_mips_mul_s_ph, "V2sV2sV2s", "n")
161
162BUILTIN(__builtin_mips_mulq_rs_w, "iii", "n")
163BUILTIN(__builtin_mips_mulq_s_ph, "V2sV2sV2s", "n")
164BUILTIN(__builtin_mips_mulq_s_w, "iii", "n")
165BUILTIN(__builtin_mips_mulsa_w_ph, "LLiLLiV2sV2s", "nc")
166
167BUILTIN(__builtin_mips_precr_qb_ph, "V4ScV2sV2s", "n")
168BUILTIN(__builtin_mips_precr_sra_ph_w, "V2siiIi", "nc")
169BUILTIN(__builtin_mips_precr_sra_r_ph_w, "V2siiIi", "nc")
170
171BUILTIN(__builtin_mips_prepend, "iiiIi", "nc")
172
173BUILTIN(__builtin_mips_shra_qb, "V4ScV4Sci", "nc")
174BUILTIN(__builtin_mips_shra_r_qb, "V4ScV4Sci", "nc")
175BUILTIN(__builtin_mips_shrl_ph, "V2sV2si", "nc")
176
177BUILTIN(__builtin_mips_subqh_ph, "V2sV2sV2s", "nc")
178BUILTIN(__builtin_mips_subqh_r_ph, "V2sV2sV2s", "nc")
179BUILTIN(__builtin_mips_subqh_w, "iii", "nc")
180BUILTIN(__builtin_mips_subqh_r_w, "iii", "nc")
181
182BUILTIN(__builtin_mips_subu_ph, "V2sV2sV2s", "n")
183BUILTIN(__builtin_mips_subu_s_ph, "V2sV2sV2s", "n")
184
185BUILTIN(__builtin_mips_subuh_qb, "V4ScV4ScV4Sc", "nc")
186BUILTIN(__builtin_mips_subuh_r_qb, "V4ScV4ScV4Sc", "nc")
187
188// MIPS MSA
189
190BUILTIN(__builtin_msa_add_a_b, "V16ScV16ScV16Sc", "nc")
191BUILTIN(__builtin_msa_add_a_h, "V8SsV8SsV8Ss", "nc")
192BUILTIN(__builtin_msa_add_a_w, "V4SiV4SiV4Si", "nc")
193BUILTIN(__builtin_msa_add_a_d, "V2SLLiV2SLLiV2SLLi", "nc")
194
195BUILTIN(__builtin_msa_adds_a_b, "V16ScV16ScV16Sc", "nc")
196BUILTIN(__builtin_msa_adds_a_h, "V8SsV8SsV8Ss", "nc")
197BUILTIN(__builtin_msa_adds_a_w, "V4SiV4SiV4Si", "nc")
198BUILTIN(__builtin_msa_adds_a_d, "V2SLLiV2SLLiV2SLLi", "nc")
199
200BUILTIN(__builtin_msa_adds_s_b, "V16ScV16ScV16Sc", "nc")
201BUILTIN(__builtin_msa_adds_s_h, "V8SsV8SsV8Ss", "nc")
202BUILTIN(__builtin_msa_adds_s_w, "V4SiV4SiV4Si", "nc")
203BUILTIN(__builtin_msa_adds_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
204
205BUILTIN(__builtin_msa_adds_u_b, "V16UcV16UcV16Uc", "nc")
206BUILTIN(__builtin_msa_adds_u_h, "V8UsV8UsV8Us", "nc")
207BUILTIN(__builtin_msa_adds_u_w, "V4UiV4UiV4Ui", "nc")
208BUILTIN(__builtin_msa_adds_u_d, "V2ULLiV2ULLiV2ULLi", "nc")
209
210BUILTIN(__builtin_msa_addv_b, "V16cV16cV16c", "nc")
211BUILTIN(__builtin_msa_addv_h, "V8sV8sV8s", "nc")
212BUILTIN(__builtin_msa_addv_w, "V4iV4iV4i", "nc")
213BUILTIN(__builtin_msa_addv_d, "V2LLiV2LLiV2LLi", "nc")
214
215BUILTIN(__builtin_msa_addvi_b, "V16cV16cIUi", "nc")
216BUILTIN(__builtin_msa_addvi_h, "V8sV8sIUi", "nc")
217BUILTIN(__builtin_msa_addvi_w, "V4iV4iIUi", "nc")
218BUILTIN(__builtin_msa_addvi_d, "V2LLiV2LLiIUi", "nc")
219
220BUILTIN(__builtin_msa_and_v, "V16UcV16UcV16Uc", "nc")
221
222BUILTIN(__builtin_msa_andi_b, "V16UcV16UcIUi", "nc")
223
224BUILTIN(__builtin_msa_asub_s_b, "V16ScV16ScV16Sc", "nc")
225BUILTIN(__builtin_msa_asub_s_h, "V8SsV8SsV8Ss", "nc")
226BUILTIN(__builtin_msa_asub_s_w, "V4SiV4SiV4Si", "nc")
227BUILTIN(__builtin_msa_asub_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
228
229BUILTIN(__builtin_msa_asub_u_b, "V16UcV16UcV16Uc", "nc")
230BUILTIN(__builtin_msa_asub_u_h, "V8UsV8UsV8Us", "nc")
231BUILTIN(__builtin_msa_asub_u_w, "V4UiV4UiV4Ui", "nc")
232BUILTIN(__builtin_msa_asub_u_d, "V2ULLiV2ULLiV2ULLi", "nc")
233
234BUILTIN(__builtin_msa_ave_s_b, "V16ScV16ScV16Sc", "nc")
235BUILTIN(__builtin_msa_ave_s_h, "V8SsV8SsV8Ss", "nc")
236BUILTIN(__builtin_msa_ave_s_w, "V4SiV4SiV4Si", "nc")
237BUILTIN(__builtin_msa_ave_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
238
239BUILTIN(__builtin_msa_ave_u_b, "V16UcV16UcV16Uc", "nc")
240BUILTIN(__builtin_msa_ave_u_h, "V8UsV8UsV8Us", "nc")
241BUILTIN(__builtin_msa_ave_u_w, "V4UiV4UiV4Ui", "nc")
242BUILTIN(__builtin_msa_ave_u_d, "V2ULLiV2ULLiV2ULLi", "nc")
243
244BUILTIN(__builtin_msa_aver_s_b, "V16ScV16ScV16Sc", "nc")
245BUILTIN(__builtin_msa_aver_s_h, "V8SsV8SsV8Ss", "nc")
246BUILTIN(__builtin_msa_aver_s_w, "V4SiV4SiV4Si", "nc")
247BUILTIN(__builtin_msa_aver_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
248
249BUILTIN(__builtin_msa_aver_u_b, "V16UcV16UcV16Uc", "nc")
250BUILTIN(__builtin_msa_aver_u_h, "V8UsV8UsV8Us", "nc")
251BUILTIN(__builtin_msa_aver_u_w, "V4UiV4UiV4Ui", "nc")
252BUILTIN(__builtin_msa_aver_u_d, "V2ULLiV2ULLiV2ULLi", "nc")
253
254BUILTIN(__builtin_msa_bclr_b, "V16UcV16UcV16Uc", "nc")
255BUILTIN(__builtin_msa_bclr_h, "V8UsV8UsV8Us", "nc")
256BUILTIN(__builtin_msa_bclr_w, "V4UiV4UiV4Ui", "nc")
257BUILTIN(__builtin_msa_bclr_d, "V2ULLiV2ULLiV2ULLi", "nc")
258
259BUILTIN(__builtin_msa_bclri_b, "V16UcV16UcIUi", "nc")
260BUILTIN(__builtin_msa_bclri_h, "V8UsV8UsIUi", "nc")
261BUILTIN(__builtin_msa_bclri_w, "V4UiV4UiIUi", "nc")
262BUILTIN(__builtin_msa_bclri_d, "V2ULLiV2ULLiIUi", "nc")
263
264BUILTIN(__builtin_msa_binsl_b, "V16UcV16UcV16UcV16Uc", "nc")
265BUILTIN(__builtin_msa_binsl_h, "V8UsV8UsV8UsV8Us", "nc")
266BUILTIN(__builtin_msa_binsl_w, "V4UiV4UiV4UiV4Ui", "nc")
267BUILTIN(__builtin_msa_binsl_d, "V2ULLiV2ULLiV2ULLiV2ULLi", "nc")
268
269BUILTIN(__builtin_msa_binsli_b, "V16UcV16UcV16UcIUi", "nc")
270BUILTIN(__builtin_msa_binsli_h, "V8UsV8UsV8UsIUi", "nc")
271BUILTIN(__builtin_msa_binsli_w, "V4UiV4UiV4UiIUi", "nc")
272BUILTIN(__builtin_msa_binsli_d, "V2ULLiV2ULLiV2ULLiIUi", "nc")
273
274BUILTIN(__builtin_msa_binsr_b, "V16UcV16UcV16UcV16Uc", "nc")
275BUILTIN(__builtin_msa_binsr_h, "V8UsV8UsV8UsV8Us", "nc")
276BUILTIN(__builtin_msa_binsr_w, "V4UiV4UiV4UiV4Ui", "nc")
277BUILTIN(__builtin_msa_binsr_d, "V2ULLiV2ULLiV2ULLiV2ULLi", "nc")
278
279BUILTIN(__builtin_msa_binsri_b, "V16UcV16UcV16UcIUi", "nc")
280BUILTIN(__builtin_msa_binsri_h, "V8UsV8UsV8UsIUi", "nc")
281BUILTIN(__builtin_msa_binsri_w, "V4UiV4UiV4UiIUi", "nc")
282BUILTIN(__builtin_msa_binsri_d, "V2ULLiV2ULLiV2ULLiIUi", "nc")
283
284BUILTIN(__builtin_msa_bmnz_v, "V16UcV16UcV16UcV16Uc", "nc")
285
286BUILTIN(__builtin_msa_bmnzi_b, "V16UcV16UcV16UcIUi", "nc")
287
288BUILTIN(__builtin_msa_bmz_v, "V16UcV16UcV16UcV16Uc", "nc")
289
290BUILTIN(__builtin_msa_bmzi_b, "V16UcV16UcV16UcIUi", "nc")
291
292BUILTIN(__builtin_msa_bneg_b, "V16UcV16UcV16Uc", "nc")
293BUILTIN(__builtin_msa_bneg_h, "V8UsV8UsV8Us", "nc")
294BUILTIN(__builtin_msa_bneg_w, "V4UiV4UiV4Ui", "nc")
295BUILTIN(__builtin_msa_bneg_d, "V2ULLiV2ULLiV2ULLi", "nc")
296
297BUILTIN(__builtin_msa_bnegi_b, "V16UcV16UcIUi", "nc")
298BUILTIN(__builtin_msa_bnegi_h, "V8UsV8UsIUi", "nc")
299BUILTIN(__builtin_msa_bnegi_w, "V4UiV4UiIUi", "nc")
300BUILTIN(__builtin_msa_bnegi_d, "V2ULLiV2ULLiIUi", "nc")
301
302BUILTIN(__builtin_msa_bnz_b, "iV16Uc", "nc")
303BUILTIN(__builtin_msa_bnz_h, "iV8Us", "nc")
304BUILTIN(__builtin_msa_bnz_w, "iV4Ui", "nc")
305BUILTIN(__builtin_msa_bnz_d, "iV2ULLi", "nc")
306
307BUILTIN(__builtin_msa_bnz_v, "iV16Uc", "nc")
308
309BUILTIN(__builtin_msa_bsel_v, "V16UcV16UcV16UcV16Uc", "nc")
310
311BUILTIN(__builtin_msa_bseli_b, "V16UcV16UcV16UcIUi", "nc")
312
313BUILTIN(__builtin_msa_bset_b, "V16UcV16UcV16Uc", "nc")
314BUILTIN(__builtin_msa_bset_h, "V8UsV8UsV8Us", "nc")
315BUILTIN(__builtin_msa_bset_w, "V4UiV4UiV4Ui", "nc")
316BUILTIN(__builtin_msa_bset_d, "V2ULLiV2ULLiV2ULLi", "nc")
317
318BUILTIN(__builtin_msa_bseti_b, "V16UcV16UcIUi", "nc")
319BUILTIN(__builtin_msa_bseti_h, "V8UsV8UsIUi", "nc")
320BUILTIN(__builtin_msa_bseti_w, "V4UiV4UiIUi", "nc")
321BUILTIN(__builtin_msa_bseti_d, "V2ULLiV2ULLiIUi", "nc")
322
323BUILTIN(__builtin_msa_bz_b, "iV16Uc", "nc")
324BUILTIN(__builtin_msa_bz_h, "iV8Us", "nc")
325BUILTIN(__builtin_msa_bz_w, "iV4Ui", "nc")
326BUILTIN(__builtin_msa_bz_d, "iV2ULLi", "nc")
327
328BUILTIN(__builtin_msa_bz_v, "iV16Uc", "nc")
329
330BUILTIN(__builtin_msa_ceq_b, "V16ScV16ScV16Sc", "nc")
331BUILTIN(__builtin_msa_ceq_h, "V8SsV8SsV8Ss", "nc")
332BUILTIN(__builtin_msa_ceq_w, "V4SiV4SiV4Si", "nc")
333BUILTIN(__builtin_msa_ceq_d, "V2SLLiV2SLLiV2SLLi", "nc")
334
335BUILTIN(__builtin_msa_ceqi_b, "V16ScV16ScISi", "nc")
336BUILTIN(__builtin_msa_ceqi_h, "V8SsV8SsISi", "nc")
337BUILTIN(__builtin_msa_ceqi_w, "V4SiV4SiISi", "nc")
338BUILTIN(__builtin_msa_ceqi_d, "V2SLLiV2SLLiISi", "nc")
339
340BUILTIN(__builtin_msa_cfcmsa, "iIi", "n")
341
342BUILTIN(__builtin_msa_cle_s_b, "V16ScV16ScV16Sc", "nc")
343BUILTIN(__builtin_msa_cle_s_h, "V8SsV8SsV8Ss", "nc")
344BUILTIN(__builtin_msa_cle_s_w, "V4SiV4SiV4Si", "nc")
345BUILTIN(__builtin_msa_cle_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
346
347BUILTIN(__builtin_msa_cle_u_b, "V16ScV16UcV16Uc", "nc")
348BUILTIN(__builtin_msa_cle_u_h, "V8SsV8UsV8Us", "nc")
349BUILTIN(__builtin_msa_cle_u_w, "V4SiV4UiV4Ui", "nc")
350BUILTIN(__builtin_msa_cle_u_d, "V2SLLiV2ULLiV2ULLi", "nc")
351
352BUILTIN(__builtin_msa_clei_s_b, "V16ScV16ScISi", "nc")
353BUILTIN(__builtin_msa_clei_s_h, "V8SsV8SsISi", "nc")
354BUILTIN(__builtin_msa_clei_s_w, "V4SiV4SiISi", "nc")
355BUILTIN(__builtin_msa_clei_s_d, "V2SLLiV2SLLiISi", "nc")
356
357BUILTIN(__builtin_msa_clei_u_b, "V16ScV16UcIUi", "nc")
358BUILTIN(__builtin_msa_clei_u_h, "V8SsV8UsIUi", "nc")
359BUILTIN(__builtin_msa_clei_u_w, "V4SiV4UiIUi", "nc")
360BUILTIN(__builtin_msa_clei_u_d, "V2SLLiV2ULLiIUi", "nc")
361
362BUILTIN(__builtin_msa_clt_s_b, "V16ScV16ScV16Sc", "nc")
363BUILTIN(__builtin_msa_clt_s_h, "V8SsV8SsV8Ss", "nc")
364BUILTIN(__builtin_msa_clt_s_w, "V4SiV4SiV4Si", "nc")
365BUILTIN(__builtin_msa_clt_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
366
367BUILTIN(__builtin_msa_clt_u_b, "V16ScV16UcV16Uc", "nc")
368BUILTIN(__builtin_msa_clt_u_h, "V8SsV8UsV8Us", "nc")
369BUILTIN(__builtin_msa_clt_u_w, "V4SiV4UiV4Ui", "nc")
370BUILTIN(__builtin_msa_clt_u_d, "V2SLLiV2ULLiV2ULLi", "nc")
371
372BUILTIN(__builtin_msa_clti_s_b, "V16ScV16ScISi", "nc")
373BUILTIN(__builtin_msa_clti_s_h, "V8SsV8SsISi", "nc")
374BUILTIN(__builtin_msa_clti_s_w, "V4SiV4SiISi", "nc")
375BUILTIN(__builtin_msa_clti_s_d, "V2SLLiV2SLLiISi", "nc")
376
377BUILTIN(__builtin_msa_clti_u_b, "V16ScV16UcIUi", "nc")
378BUILTIN(__builtin_msa_clti_u_h, "V8SsV8UsIUi", "nc")
379BUILTIN(__builtin_msa_clti_u_w, "V4SiV4UiIUi", "nc")
380BUILTIN(__builtin_msa_clti_u_d, "V2SLLiV2ULLiIUi", "nc")
381
382BUILTIN(__builtin_msa_copy_s_b, "iV16ScIUi", "nc")
383BUILTIN(__builtin_msa_copy_s_h, "iV8SsIUi", "nc")
384BUILTIN(__builtin_msa_copy_s_w, "iV4SiIUi", "nc")
385BUILTIN(__builtin_msa_copy_s_d, "LLiV2SLLiIUi", "nc")
386
387BUILTIN(__builtin_msa_copy_u_b, "iV16UcIUi", "nc")
388BUILTIN(__builtin_msa_copy_u_h, "iV8UsIUi", "nc")
389BUILTIN(__builtin_msa_copy_u_w, "iV4UiIUi", "nc")
390BUILTIN(__builtin_msa_copy_u_d, "LLiV2ULLiIUi", "nc")
391
392BUILTIN(__builtin_msa_ctcmsa, "vIii", "n")
393
394BUILTIN(__builtin_msa_div_s_b, "V16ScV16ScV16Sc", "nc")
395BUILTIN(__builtin_msa_div_s_h, "V8SsV8SsV8Ss", "nc")
396BUILTIN(__builtin_msa_div_s_w, "V4SiV4SiV4Si", "nc")
397BUILTIN(__builtin_msa_div_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
398
399BUILTIN(__builtin_msa_div_u_b, "V16UcV16UcV16Uc", "nc")
400BUILTIN(__builtin_msa_div_u_h, "V8UsV8UsV8Us", "nc")
401BUILTIN(__builtin_msa_div_u_w, "V4UiV4UiV4Ui", "nc")
402BUILTIN(__builtin_msa_div_u_d, "V2ULLiV2ULLiV2ULLi", "nc")
403
404BUILTIN(__builtin_msa_dotp_s_h, "V8SsV16ScV16Sc", "nc")
405BUILTIN(__builtin_msa_dotp_s_w, "V4SiV8SsV8Ss", "nc")
406BUILTIN(__builtin_msa_dotp_s_d, "V2SLLiV4SiV4Si", "nc")
407
408BUILTIN(__builtin_msa_dotp_u_h, "V8UsV16UcV16Uc", "nc")
409BUILTIN(__builtin_msa_dotp_u_w, "V4UiV8UsV8Us", "nc")
410BUILTIN(__builtin_msa_dotp_u_d, "V2ULLiV4UiV4Ui", "nc")
411
412BUILTIN(__builtin_msa_dpadd_s_h, "V8SsV8SsV16ScV16Sc", "nc")
413BUILTIN(__builtin_msa_dpadd_s_w, "V4SiV4SiV8SsV8Ss", "nc")
414BUILTIN(__builtin_msa_dpadd_s_d, "V2SLLiV2SLLiV4SiV4Si", "nc")
415
416BUILTIN(__builtin_msa_dpadd_u_h, "V8UsV8UsV16UcV16Uc", "nc")
417BUILTIN(__builtin_msa_dpadd_u_w, "V4UiV4UiV8UsV8Us", "nc")
418BUILTIN(__builtin_msa_dpadd_u_d, "V2ULLiV2ULLiV4UiV4Ui", "nc")
419
420BUILTIN(__builtin_msa_dpsub_s_h, "V8SsV8SsV16ScV16Sc", "nc")
421BUILTIN(__builtin_msa_dpsub_s_w, "V4SiV4SiV8SsV8Ss", "nc")
422BUILTIN(__builtin_msa_dpsub_s_d, "V2SLLiV2SLLiV4SiV4Si", "nc")
423
424BUILTIN(__builtin_msa_dpsub_u_h, "V8UsV8UsV16UcV16Uc", "nc")
425BUILTIN(__builtin_msa_dpsub_u_w, "V4UiV4UiV8UsV8Us", "nc")
426BUILTIN(__builtin_msa_dpsub_u_d, "V2ULLiV2ULLiV4UiV4Ui", "nc")
427
428BUILTIN(__builtin_msa_fadd_w, "V4fV4fV4f", "nc")
429BUILTIN(__builtin_msa_fadd_d, "V2dV2dV2d", "nc")
430
431BUILTIN(__builtin_msa_fcaf_w, "V4iV4fV4f", "nc")
432BUILTIN(__builtin_msa_fcaf_d, "V2LLiV2dV2d", "nc")
433
434BUILTIN(__builtin_msa_fceq_w, "V4iV4fV4f", "nc")
435BUILTIN(__builtin_msa_fceq_d, "V2LLiV2dV2d", "nc")
436
437BUILTIN(__builtin_msa_fclass_w, "V4iV4f", "nc")
438BUILTIN(__builtin_msa_fclass_d, "V2LLiV2d", "nc")
439
440BUILTIN(__builtin_msa_fcle_w, "V4iV4fV4f", "nc")
441BUILTIN(__builtin_msa_fcle_d, "V2LLiV2dV2d", "nc")
442
443BUILTIN(__builtin_msa_fclt_w, "V4iV4fV4f", "nc")
444BUILTIN(__builtin_msa_fclt_d, "V2LLiV2dV2d", "nc")
445
446BUILTIN(__builtin_msa_fcne_w, "V4iV4fV4f", "nc")
447BUILTIN(__builtin_msa_fcne_d, "V2LLiV2dV2d", "nc")
448
449BUILTIN(__builtin_msa_fcor_w, "V4iV4fV4f", "nc")
450BUILTIN(__builtin_msa_fcor_d, "V2LLiV2dV2d", "nc")
451
452BUILTIN(__builtin_msa_fcueq_w, "V4iV4fV4f", "nc")
453BUILTIN(__builtin_msa_fcueq_d, "V2LLiV2dV2d", "nc")
454
455BUILTIN(__builtin_msa_fcule_w, "V4iV4fV4f", "nc")
456BUILTIN(__builtin_msa_fcule_d, "V2LLiV2dV2d", "nc")
457
458BUILTIN(__builtin_msa_fcult_w, "V4iV4fV4f", "nc")
459BUILTIN(__builtin_msa_fcult_d, "V2LLiV2dV2d", "nc")
460
461BUILTIN(__builtin_msa_fcun_w, "V4iV4fV4f", "nc")
462BUILTIN(__builtin_msa_fcun_d, "V2LLiV2dV2d", "nc")
463
464BUILTIN(__builtin_msa_fcune_w, "V4iV4fV4f", "nc")
465BUILTIN(__builtin_msa_fcune_d, "V2LLiV2dV2d", "nc")
466
467BUILTIN(__builtin_msa_fdiv_w, "V4fV4fV4f", "nc")
468BUILTIN(__builtin_msa_fdiv_d, "V2dV2dV2d", "nc")
469
470BUILTIN(__builtin_msa_fexdo_h, "V8hV4fV4f", "nc")
471BUILTIN(__builtin_msa_fexdo_w, "V4fV2dV2d", "nc")
472
473BUILTIN(__builtin_msa_fexp2_w, "V4fV4fV4i", "nc")
474BUILTIN(__builtin_msa_fexp2_d, "V2dV2dV2LLi", "nc")
475
476BUILTIN(__builtin_msa_fexupl_w, "V4fV8h", "nc")
477BUILTIN(__builtin_msa_fexupl_d, "V2dV4f", "nc")
478
479BUILTIN(__builtin_msa_fexupr_w, "V4fV8h", "nc")
480BUILTIN(__builtin_msa_fexupr_d, "V2dV4f", "nc")
481
482BUILTIN(__builtin_msa_ffint_s_w, "V4fV4Si", "nc")
483BUILTIN(__builtin_msa_ffint_s_d, "V2dV2SLLi", "nc")
484
485BUILTIN(__builtin_msa_ffint_u_w, "V4fV4Ui", "nc")
486BUILTIN(__builtin_msa_ffint_u_d, "V2dV2ULLi", "nc")
487
488// ffql uses integers since long _Fract is not implemented
489BUILTIN(__builtin_msa_ffql_w, "V4fV8Ss", "nc")
490BUILTIN(__builtin_msa_ffql_d, "V2dV4Si", "nc")
491
492// ffqr uses integers since long _Fract is not implemented
493BUILTIN(__builtin_msa_ffqr_w, "V4fV8Ss", "nc")
494BUILTIN(__builtin_msa_ffqr_d, "V2dV4Si", "nc")
495
496BUILTIN(__builtin_msa_fill_b, "V16Sci", "nc")
497BUILTIN(__builtin_msa_fill_h, "V8Ssi", "nc")
498BUILTIN(__builtin_msa_fill_w, "V4Sii", "nc")
499BUILTIN(__builtin_msa_fill_d, "V2SLLiLLi", "nc")
500
501BUILTIN(__builtin_msa_flog2_w, "V4fV4f", "nc")
502BUILTIN(__builtin_msa_flog2_d, "V2dV2d", "nc")
503
504BUILTIN(__builtin_msa_fmadd_w, "V4fV4fV4fV4f", "nc")
505BUILTIN(__builtin_msa_fmadd_d, "V2dV2dV2dV2d", "nc")
506
507BUILTIN(__builtin_msa_fmax_w, "V4fV4fV4f", "nc")
508BUILTIN(__builtin_msa_fmax_d, "V2dV2dV2d", "nc")
509
510BUILTIN(__builtin_msa_fmax_a_w, "V4fV4fV4f", "nc")
511BUILTIN(__builtin_msa_fmax_a_d, "V2dV2dV2d", "nc")
512
513BUILTIN(__builtin_msa_fmin_w, "V4fV4fV4f", "nc")
514BUILTIN(__builtin_msa_fmin_d, "V2dV2dV2d", "nc")
515
516BUILTIN(__builtin_msa_fmin_a_w, "V4fV4fV4f", "nc")
517BUILTIN(__builtin_msa_fmin_a_d, "V2dV2dV2d", "nc")
518
519BUILTIN(__builtin_msa_fmsub_w, "V4fV4fV4fV4f", "nc")
520BUILTIN(__builtin_msa_fmsub_d, "V2dV2dV2dV2d", "nc")
521
522BUILTIN(__builtin_msa_fmul_w, "V4fV4fV4f", "nc")
523BUILTIN(__builtin_msa_fmul_d, "V2dV2dV2d", "nc")
524
525BUILTIN(__builtin_msa_frint_w, "V4fV4f", "nc")
526BUILTIN(__builtin_msa_frint_d, "V2dV2d", "nc")
527
528BUILTIN(__builtin_msa_frcp_w, "V4fV4f", "nc")
529BUILTIN(__builtin_msa_frcp_d, "V2dV2d", "nc")
530
531BUILTIN(__builtin_msa_frsqrt_w, "V4fV4f", "nc")
532BUILTIN(__builtin_msa_frsqrt_d, "V2dV2d", "nc")
533
534BUILTIN(__builtin_msa_fsaf_w, "V4iV4fV4f", "nc")
535BUILTIN(__builtin_msa_fsaf_d, "V2LLiV2dV2d", "nc")
536
537BUILTIN(__builtin_msa_fseq_w, "V4iV4fV4f", "nc")
538BUILTIN(__builtin_msa_fseq_d, "V2LLiV2dV2d", "nc")
539
540BUILTIN(__builtin_msa_fsle_w, "V4iV4fV4f", "nc")
541BUILTIN(__builtin_msa_fsle_d, "V2LLiV2dV2d", "nc")
542
543BUILTIN(__builtin_msa_fslt_w, "V4iV4fV4f", "nc")
544BUILTIN(__builtin_msa_fslt_d, "V2LLiV2dV2d", "nc")
545
546BUILTIN(__builtin_msa_fsne_w, "V4iV4fV4f", "nc")
547BUILTIN(__builtin_msa_fsne_d, "V2LLiV2dV2d", "nc")
548
549BUILTIN(__builtin_msa_fsor_w, "V4iV4fV4f", "nc")
550BUILTIN(__builtin_msa_fsor_d, "V2LLiV2dV2d", "nc")
551
552BUILTIN(__builtin_msa_fsqrt_w, "V4fV4f", "nc")
553BUILTIN(__builtin_msa_fsqrt_d, "V2dV2d", "nc")
554
555BUILTIN(__builtin_msa_fsub_w, "V4fV4fV4f", "nc")
556BUILTIN(__builtin_msa_fsub_d, "V2dV2dV2d", "nc")
557
558BUILTIN(__builtin_msa_fsueq_w, "V4iV4fV4f", "nc")
559BUILTIN(__builtin_msa_fsueq_d, "V2LLiV2dV2d", "nc")
560
561BUILTIN(__builtin_msa_fsule_w, "V4iV4fV4f", "nc")
562BUILTIN(__builtin_msa_fsule_d, "V2LLiV2dV2d", "nc")
563
564BUILTIN(__builtin_msa_fsult_w, "V4iV4fV4f", "nc")
565BUILTIN(__builtin_msa_fsult_d, "V2LLiV2dV2d", "nc")
566
567BUILTIN(__builtin_msa_fsun_w, "V4iV4fV4f", "nc")
568BUILTIN(__builtin_msa_fsun_d, "V2LLiV2dV2d", "nc")
569
570BUILTIN(__builtin_msa_fsune_w, "V4iV4fV4f", "nc")
571BUILTIN(__builtin_msa_fsune_d, "V2LLiV2dV2d", "nc")
572
573BUILTIN(__builtin_msa_ftint_s_w, "V4SiV4f", "nc")
574BUILTIN(__builtin_msa_ftint_s_d, "V2SLLiV2d", "nc")
575
576BUILTIN(__builtin_msa_ftint_u_w, "V4UiV4f", "nc")
577BUILTIN(__builtin_msa_ftint_u_d, "V2ULLiV2d", "nc")
578
579BUILTIN(__builtin_msa_ftq_h, "V4UiV4fV4f", "nc")
580BUILTIN(__builtin_msa_ftq_w, "V2ULLiV2dV2d", "nc")
581
582BUILTIN(__builtin_msa_ftrunc_s_w, "V4SiV4f", "nc")
583BUILTIN(__builtin_msa_ftrunc_s_d, "V2SLLiV2d", "nc")
584
585BUILTIN(__builtin_msa_ftrunc_u_w, "V4UiV4f", "nc")
586BUILTIN(__builtin_msa_ftrunc_u_d, "V2ULLiV2d", "nc")
587
588BUILTIN(__builtin_msa_hadd_s_h, "V8SsV16ScV16Sc", "nc")
589BUILTIN(__builtin_msa_hadd_s_w, "V4SiV8SsV8Ss", "nc")
590BUILTIN(__builtin_msa_hadd_s_d, "V2SLLiV4SiV4Si", "nc")
591
592BUILTIN(__builtin_msa_hadd_u_h, "V8UsV16UcV16Uc", "nc")
593BUILTIN(__builtin_msa_hadd_u_w, "V4UiV8UsV8Us", "nc")
594BUILTIN(__builtin_msa_hadd_u_d, "V2ULLiV4UiV4Ui", "nc")
595
596BUILTIN(__builtin_msa_hsub_s_h, "V8SsV16ScV16Sc", "nc")
597BUILTIN(__builtin_msa_hsub_s_w, "V4SiV8SsV8Ss", "nc")
598BUILTIN(__builtin_msa_hsub_s_d, "V2SLLiV4SiV4Si", "nc")
599
600BUILTIN(__builtin_msa_hsub_u_h, "V8UsV16UcV16Uc", "nc")
601BUILTIN(__builtin_msa_hsub_u_w, "V4UiV8UsV8Us", "nc")
602BUILTIN(__builtin_msa_hsub_u_d, "V2ULLiV4UiV4Ui", "nc")
603
604BUILTIN(__builtin_msa_ilvev_b, "V16cV16cV16c", "nc")
605BUILTIN(__builtin_msa_ilvev_h, "V8sV8sV8s", "nc")
606BUILTIN(__builtin_msa_ilvev_w, "V4iV4iV4i", "nc")
607BUILTIN(__builtin_msa_ilvev_d, "V2LLiV2LLiV2LLi", "nc")
608
609BUILTIN(__builtin_msa_ilvl_b, "V16cV16cV16c", "nc")
610BUILTIN(__builtin_msa_ilvl_h, "V8sV8sV8s", "nc")
611BUILTIN(__builtin_msa_ilvl_w, "V4iV4iV4i", "nc")
612BUILTIN(__builtin_msa_ilvl_d, "V2LLiV2LLiV2LLi", "nc")
613
614BUILTIN(__builtin_msa_ilvod_b, "V16cV16cV16c", "nc")
615BUILTIN(__builtin_msa_ilvod_h, "V8sV8sV8s", "nc")
616BUILTIN(__builtin_msa_ilvod_w, "V4iV4iV4i", "nc")
617BUILTIN(__builtin_msa_ilvod_d, "V2LLiV2LLiV2LLi", "nc")
618
619BUILTIN(__builtin_msa_ilvr_b, "V16cV16cV16c", "nc")
620BUILTIN(__builtin_msa_ilvr_h, "V8sV8sV8s", "nc")
621BUILTIN(__builtin_msa_ilvr_w, "V4iV4iV4i", "nc")
622BUILTIN(__builtin_msa_ilvr_d, "V2LLiV2LLiV2LLi", "nc")
623
624BUILTIN(__builtin_msa_insert_b, "V16ScV16ScIUii", "nc")
625BUILTIN(__builtin_msa_insert_h, "V8SsV8SsIUii", "nc")
626BUILTIN(__builtin_msa_insert_w, "V4SiV4SiIUii", "nc")
627BUILTIN(__builtin_msa_insert_d, "V2SLLiV2SLLiIUiLLi", "nc")
628
629BUILTIN(__builtin_msa_insve_b, "V16ScV16ScIUiV16Sc", "nc")
630BUILTIN(__builtin_msa_insve_h, "V8SsV8SsIUiV8Ss", "nc")
631BUILTIN(__builtin_msa_insve_w, "V4SiV4SiIUiV4Si", "nc")
632BUILTIN(__builtin_msa_insve_d, "V2SLLiV2SLLiIUiV2SLLi", "nc")
633
634BUILTIN(__builtin_msa_ld_b, "V16Scv*Ii", "nc")
635BUILTIN(__builtin_msa_ld_h, "V8Ssv*Ii", "nc")
636BUILTIN(__builtin_msa_ld_w, "V4Siv*Ii", "nc")
637BUILTIN(__builtin_msa_ld_d, "V2SLLiv*Ii", "nc")
638
639BUILTIN(__builtin_msa_ldi_b, "V16cIi", "nc")
640BUILTIN(__builtin_msa_ldi_h, "V8sIi", "nc")
641BUILTIN(__builtin_msa_ldi_w, "V4iIi", "nc")
642BUILTIN(__builtin_msa_ldi_d, "V2LLiIi", "nc")
643
644BUILTIN(__builtin_msa_madd_q_h, "V8SsV8SsV8SsV8Ss", "nc")
645BUILTIN(__builtin_msa_madd_q_w, "V4SiV4SiV4SiV4Si", "nc")
646
647BUILTIN(__builtin_msa_maddr_q_h, "V8SsV8SsV8SsV8Ss", "nc")
648BUILTIN(__builtin_msa_maddr_q_w, "V4SiV4SiV4SiV4Si", "nc")
649
650BUILTIN(__builtin_msa_maddv_b, "V16ScV16ScV16ScV16Sc", "nc")
651BUILTIN(__builtin_msa_maddv_h, "V8SsV8SsV8SsV8Ss", "nc")
652BUILTIN(__builtin_msa_maddv_w, "V4SiV4SiV4SiV4Si", "nc")
653BUILTIN(__builtin_msa_maddv_d, "V2SLLiV2SLLiV2SLLiV2SLLi", "nc")
654
655BUILTIN(__builtin_msa_max_a_b, "V16ScV16ScV16Sc", "nc")
656BUILTIN(__builtin_msa_max_a_h, "V8SsV8SsV8Ss", "nc")
657BUILTIN(__builtin_msa_max_a_w, "V4SiV4SiV4Si", "nc")
658BUILTIN(__builtin_msa_max_a_d, "V2SLLiV2SLLiV2SLLi", "nc")
659
660BUILTIN(__builtin_msa_max_s_b, "V16ScV16ScV16Sc", "nc")
661BUILTIN(__builtin_msa_max_s_h, "V8SsV8SsV8Ss", "nc")
662BUILTIN(__builtin_msa_max_s_w, "V4SiV4SiV4Si", "nc")
663BUILTIN(__builtin_msa_max_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
664
665BUILTIN(__builtin_msa_max_u_b, "V16UcV16UcV16Uc", "nc")
666BUILTIN(__builtin_msa_max_u_h, "V8UsV8UsV8Us", "nc")
667BUILTIN(__builtin_msa_max_u_w, "V4UiV4UiV4Ui", "nc")
668BUILTIN(__builtin_msa_max_u_d, "V2ULLiV2ULLiV2ULLi", "nc")
669
670BUILTIN(__builtin_msa_maxi_s_b, "V16ScV16ScIi", "nc")
671BUILTIN(__builtin_msa_maxi_s_h, "V8SsV8SsIi", "nc")
672BUILTIN(__builtin_msa_maxi_s_w, "V4SiV4SiIi", "nc")
673BUILTIN(__builtin_msa_maxi_s_d, "V2SLLiV2SLLiIi", "nc")
674
675BUILTIN(__builtin_msa_maxi_u_b, "V16UcV16UcIi", "nc")
676BUILTIN(__builtin_msa_maxi_u_h, "V8UsV8UsIi", "nc")
677BUILTIN(__builtin_msa_maxi_u_w, "V4UiV4UiIi", "nc")
678BUILTIN(__builtin_msa_maxi_u_d, "V2ULLiV2ULLiIi", "nc")
679
680BUILTIN(__builtin_msa_min_a_b, "V16ScV16ScV16Sc", "nc")
681BUILTIN(__builtin_msa_min_a_h, "V8SsV8SsV8Ss", "nc")
682BUILTIN(__builtin_msa_min_a_w, "V4SiV4SiV4Si", "nc")
683BUILTIN(__builtin_msa_min_a_d, "V2SLLiV2SLLiV2SLLi", "nc")
684
685BUILTIN(__builtin_msa_min_s_b, "V16ScV16ScV16Sc", "nc")
686BUILTIN(__builtin_msa_min_s_h, "V8SsV8SsV8Ss", "nc")
687BUILTIN(__builtin_msa_min_s_w, "V4SiV4SiV4Si", "nc")
688BUILTIN(__builtin_msa_min_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
689
690BUILTIN(__builtin_msa_min_u_b, "V16UcV16UcV16Uc", "nc")
691BUILTIN(__builtin_msa_min_u_h, "V8UsV8UsV8Us", "nc")
692BUILTIN(__builtin_msa_min_u_w, "V4UiV4UiV4Ui", "nc")
693BUILTIN(__builtin_msa_min_u_d, "V2ULLiV2ULLiV2ULLi", "nc")
694
695BUILTIN(__builtin_msa_mini_s_b, "V16ScV16ScIi", "nc")
696BUILTIN(__builtin_msa_mini_s_h, "V8SsV8SsIi", "nc")
697BUILTIN(__builtin_msa_mini_s_w, "V4SiV4SiIi", "nc")
698BUILTIN(__builtin_msa_mini_s_d, "V2SLLiV2SLLiIi", "nc")
699
700BUILTIN(__builtin_msa_mini_u_b, "V16UcV16UcIi", "nc")
701BUILTIN(__builtin_msa_mini_u_h, "V8UsV8UsIi", "nc")
702BUILTIN(__builtin_msa_mini_u_w, "V4UiV4UiIi", "nc")
703BUILTIN(__builtin_msa_mini_u_d, "V2ULLiV2ULLiIi", "nc")
704
705BUILTIN(__builtin_msa_mod_s_b, "V16ScV16ScV16Sc", "nc")
706BUILTIN(__builtin_msa_mod_s_h, "V8SsV8SsV8Ss", "nc")
707BUILTIN(__builtin_msa_mod_s_w, "V4SiV4SiV4Si", "nc")
708BUILTIN(__builtin_msa_mod_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
709
710BUILTIN(__builtin_msa_mod_u_b, "V16UcV16UcV16Uc", "nc")
711BUILTIN(__builtin_msa_mod_u_h, "V8UsV8UsV8Us", "nc")
712BUILTIN(__builtin_msa_mod_u_w, "V4UiV4UiV4Ui", "nc")
713BUILTIN(__builtin_msa_mod_u_d, "V2ULLiV2ULLiV2ULLi", "nc")
714
715BUILTIN(__builtin_msa_move_v, "V16ScV16Sc", "nc")
716
717BUILTIN(__builtin_msa_msub_q_h, "V8SsV8SsV8SsV8Ss", "nc")
718BUILTIN(__builtin_msa_msub_q_w, "V4SiV4SiV4SiV4Si", "nc")
719
720BUILTIN(__builtin_msa_msubr_q_h, "V8SsV8SsV8SsV8Ss", "nc")
721BUILTIN(__builtin_msa_msubr_q_w, "V4SiV4SiV4SiV4Si", "nc")
722
723BUILTIN(__builtin_msa_msubv_b, "V16ScV16ScV16ScV16Sc", "nc")
724BUILTIN(__builtin_msa_msubv_h, "V8SsV8SsV8SsV8Ss", "nc")
725BUILTIN(__builtin_msa_msubv_w, "V4SiV4SiV4SiV4Si", "nc")
726BUILTIN(__builtin_msa_msubv_d, "V2SLLiV2SLLiV2SLLiV2SLLi", "nc")
727
728BUILTIN(__builtin_msa_mul_q_h, "V8SsV8SsV8Ss", "nc")
729BUILTIN(__builtin_msa_mul_q_w, "V4SiV4SiV4Si", "nc")
730
731BUILTIN(__builtin_msa_mulr_q_h, "V8SsV8SsV8Ss", "nc")
732BUILTIN(__builtin_msa_mulr_q_w, "V4SiV4SiV4Si", "nc")
733
734BUILTIN(__builtin_msa_mulv_b, "V16ScV16ScV16Sc", "nc")
735BUILTIN(__builtin_msa_mulv_h, "V8SsV8SsV8Ss", "nc")
736BUILTIN(__builtin_msa_mulv_w, "V4SiV4SiV4Si", "nc")
737BUILTIN(__builtin_msa_mulv_d, "V2SLLiV2SLLiV2SLLi", "nc")
738
739BUILTIN(__builtin_msa_nloc_b, "V16ScV16Sc", "nc")
740BUILTIN(__builtin_msa_nloc_h, "V8SsV8Ss", "nc")
741BUILTIN(__builtin_msa_nloc_w, "V4SiV4Si", "nc")
742BUILTIN(__builtin_msa_nloc_d, "V2SLLiV2SLLi", "nc")
743
744BUILTIN(__builtin_msa_nlzc_b, "V16ScV16Sc", "nc")
745BUILTIN(__builtin_msa_nlzc_h, "V8SsV8Ss", "nc")
746BUILTIN(__builtin_msa_nlzc_w, "V4SiV4Si", "nc")
747BUILTIN(__builtin_msa_nlzc_d, "V2SLLiV2SLLi", "nc")
748
749BUILTIN(__builtin_msa_nor_v, "V16UcV16UcV16Uc", "nc")
750
751BUILTIN(__builtin_msa_nori_b, "V16UcV16cIUi", "nc")
752
753BUILTIN(__builtin_msa_or_v, "V16UcV16UcV16Uc", "nc")
754
755BUILTIN(__builtin_msa_ori_b, "V16UcV16UcIUi", "nc")
756
757BUILTIN(__builtin_msa_pckev_b, "V16cV16cV16c", "nc")
758BUILTIN(__builtin_msa_pckev_h, "V8sV8sV8s", "nc")
759BUILTIN(__builtin_msa_pckev_w, "V4iV4iV4i", "nc")
760BUILTIN(__builtin_msa_pckev_d, "V2LLiV2LLiV2LLi", "nc")
761
762BUILTIN(__builtin_msa_pckod_b, "V16cV16cV16c", "nc")
763BUILTIN(__builtin_msa_pckod_h, "V8sV8sV8s", "nc")
764BUILTIN(__builtin_msa_pckod_w, "V4iV4iV4i", "nc")
765BUILTIN(__builtin_msa_pckod_d, "V2LLiV2LLiV2LLi", "nc")
766
767BUILTIN(__builtin_msa_pcnt_b, "V16ScV16Sc", "nc")
768BUILTIN(__builtin_msa_pcnt_h, "V8SsV8Ss", "nc")
769BUILTIN(__builtin_msa_pcnt_w, "V4SiV4Si", "nc")
770BUILTIN(__builtin_msa_pcnt_d, "V2SLLiV2SLLi", "nc")
771
772BUILTIN(__builtin_msa_sat_s_b, "V16ScV16ScIUi", "nc")
773BUILTIN(__builtin_msa_sat_s_h, "V8SsV8SsIUi", "nc")
774BUILTIN(__builtin_msa_sat_s_w, "V4SiV4SiIUi", "nc")
775BUILTIN(__builtin_msa_sat_s_d, "V2SLLiV2SLLiIUi", "nc")
776
777BUILTIN(__builtin_msa_sat_u_b, "V16UcV16UcIUi", "nc")
778BUILTIN(__builtin_msa_sat_u_h, "V8UsV8UsIUi", "nc")
779BUILTIN(__builtin_msa_sat_u_w, "V4UiV4UiIUi", "nc")
780BUILTIN(__builtin_msa_sat_u_d, "V2ULLiV2ULLiIUi", "nc")
781
782BUILTIN(__builtin_msa_shf_b, "V16cV16cIUi", "nc")
783BUILTIN(__builtin_msa_shf_h, "V8sV8sIUi", "nc")
784BUILTIN(__builtin_msa_shf_w, "V4iV4iIUi", "nc")
785
786BUILTIN(__builtin_msa_sld_b, "V16cV16cV16cUi", "nc")
787BUILTIN(__builtin_msa_sld_h, "V8sV8sV8sUi", "nc")
788BUILTIN(__builtin_msa_sld_w, "V4iV4iV4iUi", "nc")
789BUILTIN(__builtin_msa_sld_d, "V2LLiV2LLiV2LLiUi", "nc")
790
791BUILTIN(__builtin_msa_sldi_b, "V16cV16cV16cIUi", "nc")
792BUILTIN(__builtin_msa_sldi_h, "V8sV8sV8sIUi", "nc")
793BUILTIN(__builtin_msa_sldi_w, "V4iV4iV4iIUi", "nc")
794BUILTIN(__builtin_msa_sldi_d, "V2LLiV2LLiV2LLiIUi", "nc")
795
796BUILTIN(__builtin_msa_sll_b, "V16cV16cV16c", "nc")
797BUILTIN(__builtin_msa_sll_h, "V8sV8sV8s", "nc")
798BUILTIN(__builtin_msa_sll_w, "V4iV4iV4i", "nc")
799BUILTIN(__builtin_msa_sll_d, "V2LLiV2LLiV2LLi", "nc")
800
801BUILTIN(__builtin_msa_slli_b, "V16cV16cIUi", "nc")
802BUILTIN(__builtin_msa_slli_h, "V8sV8sIUi", "nc")
803BUILTIN(__builtin_msa_slli_w, "V4iV4iIUi", "nc")
804BUILTIN(__builtin_msa_slli_d, "V2LLiV2LLiIUi", "nc")
805
806BUILTIN(__builtin_msa_splat_b, "V16cV16cUi", "nc")
807BUILTIN(__builtin_msa_splat_h, "V8sV8sUi", "nc")
808BUILTIN(__builtin_msa_splat_w, "V4iV4iUi", "nc")
809BUILTIN(__builtin_msa_splat_d, "V2LLiV2LLiUi", "nc")
810
811BUILTIN(__builtin_msa_splati_b, "V16cV16cIUi", "nc")
812BUILTIN(__builtin_msa_splati_h, "V8sV8sIUi", "nc")
813BUILTIN(__builtin_msa_splati_w, "V4iV4iIUi", "nc")
814BUILTIN(__builtin_msa_splati_d, "V2LLiV2LLiIUi", "nc")
815
816BUILTIN(__builtin_msa_sra_b, "V16cV16cV16c", "nc")
817BUILTIN(__builtin_msa_sra_h, "V8sV8sV8s", "nc")
818BUILTIN(__builtin_msa_sra_w, "V4iV4iV4i", "nc")
819BUILTIN(__builtin_msa_sra_d, "V2LLiV2LLiV2LLi", "nc")
820
821BUILTIN(__builtin_msa_srai_b, "V16cV16cIUi", "nc")
822BUILTIN(__builtin_msa_srai_h, "V8sV8sIUi", "nc")
823BUILTIN(__builtin_msa_srai_w, "V4iV4iIUi", "nc")
824BUILTIN(__builtin_msa_srai_d, "V2LLiV2LLiIUi", "nc")
825
826BUILTIN(__builtin_msa_srar_b, "V16cV16cV16c", "nc")
827BUILTIN(__builtin_msa_srar_h, "V8sV8sV8s", "nc")
828BUILTIN(__builtin_msa_srar_w, "V4iV4iV4i", "nc")
829BUILTIN(__builtin_msa_srar_d, "V2LLiV2LLiV2LLi", "nc")
830
831BUILTIN(__builtin_msa_srari_b, "V16cV16cIUi", "nc")
832BUILTIN(__builtin_msa_srari_h, "V8sV8sIUi", "nc")
833BUILTIN(__builtin_msa_srari_w, "V4iV4iIUi", "nc")
834BUILTIN(__builtin_msa_srari_d, "V2LLiV2LLiIUi", "nc")
835
836BUILTIN(__builtin_msa_srl_b, "V16cV16cV16c", "nc")
837BUILTIN(__builtin_msa_srl_h, "V8sV8sV8s", "nc")
838BUILTIN(__builtin_msa_srl_w, "V4iV4iV4i", "nc")
839BUILTIN(__builtin_msa_srl_d, "V2LLiV2LLiV2LLi", "nc")
840
841BUILTIN(__builtin_msa_srli_b, "V16cV16cIUi", "nc")
842BUILTIN(__builtin_msa_srli_h, "V8sV8sIUi", "nc")
843BUILTIN(__builtin_msa_srli_w, "V4iV4iIUi", "nc")
844BUILTIN(__builtin_msa_srli_d, "V2LLiV2LLiIUi", "nc")
845
846BUILTIN(__builtin_msa_srlr_b, "V16cV16cV16c", "nc")
847BUILTIN(__builtin_msa_srlr_h, "V8sV8sV8s", "nc")
848BUILTIN(__builtin_msa_srlr_w, "V4iV4iV4i", "nc")
849BUILTIN(__builtin_msa_srlr_d, "V2LLiV2LLiV2LLi", "nc")
850
851BUILTIN(__builtin_msa_srlri_b, "V16cV16cIUi", "nc")
852BUILTIN(__builtin_msa_srlri_h, "V8sV8sIUi", "nc")
853BUILTIN(__builtin_msa_srlri_w, "V4iV4iIUi", "nc")
854BUILTIN(__builtin_msa_srlri_d, "V2LLiV2LLiIUi", "nc")
855
856BUILTIN(__builtin_msa_st_b, "vV16Scv*Ii", "nc")
857BUILTIN(__builtin_msa_st_h, "vV8Ssv*Ii", "nc")
858BUILTIN(__builtin_msa_st_w, "vV4Siv*Ii", "nc")
859BUILTIN(__builtin_msa_st_d, "vV2SLLiv*Ii", "nc")
860
861BUILTIN(__builtin_msa_subs_s_b, "V16ScV16ScV16Sc", "nc")
862BUILTIN(__builtin_msa_subs_s_h, "V8SsV8SsV8Ss", "nc")
863BUILTIN(__builtin_msa_subs_s_w, "V4SiV4SiV4Si", "nc")
864BUILTIN(__builtin_msa_subs_s_d, "V2SLLiV2SLLiV2SLLi", "nc")
865
866BUILTIN(__builtin_msa_subs_u_b, "V16UcV16UcV16Uc", "nc")
867BUILTIN(__builtin_msa_subs_u_h, "V8UsV8UsV8Us", "nc")
868BUILTIN(__builtin_msa_subs_u_w, "V4UiV4UiV4Ui", "nc")
869BUILTIN(__builtin_msa_subs_u_d, "V2ULLiV2ULLiV2ULLi", "nc")
870
871BUILTIN(__builtin_msa_subsus_u_b, "V16UcV16UcV16Sc", "nc")
872BUILTIN(__builtin_msa_subsus_u_h, "V8UsV8UsV8Ss", "nc")
873BUILTIN(__builtin_msa_subsus_u_w, "V4UiV4UiV4Si", "nc")
874BUILTIN(__builtin_msa_subsus_u_d, "V2ULLiV2ULLiV2SLLi", "nc")
875
876BUILTIN(__builtin_msa_subsuu_s_b, "V16ScV16UcV16Uc", "nc")
877BUILTIN(__builtin_msa_subsuu_s_h, "V8SsV8UsV8Us", "nc")
878BUILTIN(__builtin_msa_subsuu_s_w, "V4SiV4UiV4Ui", "nc")
879BUILTIN(__builtin_msa_subsuu_s_d, "V2SLLiV2ULLiV2ULLi", "nc")
880
881BUILTIN(__builtin_msa_subv_b, "V16cV16cV16c", "nc")
882BUILTIN(__builtin_msa_subv_h, "V8sV8sV8s", "nc")
883BUILTIN(__builtin_msa_subv_w, "V4iV4iV4i", "nc")
884BUILTIN(__builtin_msa_subv_d, "V2LLiV2LLiV2LLi", "nc")
885
886BUILTIN(__builtin_msa_subvi_b, "V16cV16cIUi", "nc")
887BUILTIN(__builtin_msa_subvi_h, "V8sV8sIUi", "nc")
888BUILTIN(__builtin_msa_subvi_w, "V4iV4iIUi", "nc")
889BUILTIN(__builtin_msa_subvi_d, "V2LLiV2LLiIUi", "nc")
890
891BUILTIN(__builtin_msa_vshf_b, "V16cV16cV16cV16c", "nc")
892BUILTIN(__builtin_msa_vshf_h, "V8sV8sV8sV8s", "nc")
893BUILTIN(__builtin_msa_vshf_w, "V4iV4iV4iV4i", "nc")
894BUILTIN(__builtin_msa_vshf_d, "V2LLiV2LLiV2LLiV2LLi", "nc")
895
896BUILTIN(__builtin_msa_xor_v, "V16cV16cV16c", "nc")
897
898BUILTIN(__builtin_msa_xori_b, "V16cV16cIUi", "nc")
899
900#undef BUILTIN
901