1//===--- BuiltinsPPC.def - PowerPC 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 PowerPC-specific builtin function database.  Users of
11// this file must define the BUILTIN macro to make use of this information.
12//
13//===----------------------------------------------------------------------===//
14
15// FIXME: this needs to be the full list supported by GCC.  Right now, I'm just
16// adding stuff on demand.
17
18// The format of this database matches clang/Basic/Builtins.def.
19
20BUILTIN(__builtin_ppc_get_timebase, "ULLi", "n")
21
22// This is just a placeholder, the types and attributes are wrong.
23BUILTIN(__builtin_altivec_vaddcuw, "V4UiV4UiV4Ui", "")
24
25BUILTIN(__builtin_altivec_vaddsbs, "V16ScV16ScV16Sc", "")
26BUILTIN(__builtin_altivec_vaddubs, "V16UcV16UcV16Uc", "")
27BUILTIN(__builtin_altivec_vaddshs, "V8SsV8SsV8Ss", "")
28BUILTIN(__builtin_altivec_vadduhs, "V8UsV8UsV8Us", "")
29BUILTIN(__builtin_altivec_vaddsws, "V4SiV4SiV4Si", "")
30BUILTIN(__builtin_altivec_vadduws, "V4UiV4UiV4Ui", "")
31BUILTIN(__builtin_altivec_vaddeuqm, "V1ULLLiV1ULLLiV1ULLLiV1ULLLi","")
32BUILTIN(__builtin_altivec_vaddcuq, "V1ULLLiV1ULLLiV1ULLLi","")
33BUILTIN(__builtin_altivec_vaddecuq, "V1ULLLiV1ULLLiV1ULLLiV1ULLLi","")
34
35BUILTIN(__builtin_altivec_vsubsbs, "V16ScV16ScV16Sc", "")
36BUILTIN(__builtin_altivec_vsububs, "V16UcV16UcV16Uc", "")
37BUILTIN(__builtin_altivec_vsubshs, "V8SsV8SsV8Ss", "")
38BUILTIN(__builtin_altivec_vsubuhs, "V8UsV8UsV8Us", "")
39BUILTIN(__builtin_altivec_vsubsws, "V4SiV4SiV4Si", "")
40BUILTIN(__builtin_altivec_vsubuws, "V4UiV4UiV4Ui", "")
41BUILTIN(__builtin_altivec_vsubeuqm, "V1ULLLiV1ULLLiV1ULLLiV1ULLLi","")
42BUILTIN(__builtin_altivec_vsubcuq, "V1ULLLiV1ULLLiV1ULLLi","")
43BUILTIN(__builtin_altivec_vsubecuq, "V1ULLLiV1ULLLiV1ULLLiV1ULLLi","")
44
45BUILTIN(__builtin_altivec_vavgsb, "V16ScV16ScV16Sc", "")
46BUILTIN(__builtin_altivec_vavgub, "V16UcV16UcV16Uc", "")
47BUILTIN(__builtin_altivec_vavgsh, "V8SsV8SsV8Ss", "")
48BUILTIN(__builtin_altivec_vavguh, "V8UsV8UsV8Us", "")
49BUILTIN(__builtin_altivec_vavgsw, "V4SiV4SiV4Si", "")
50BUILTIN(__builtin_altivec_vavguw, "V4UiV4UiV4Ui", "")
51
52BUILTIN(__builtin_altivec_vrfip, "V4fV4f", "")
53
54BUILTIN(__builtin_altivec_vcfsx, "V4fV4ii", "")
55BUILTIN(__builtin_altivec_vcfux, "V4fV4ii", "")
56BUILTIN(__builtin_altivec_vctsxs, "V4SiV4fi", "")
57BUILTIN(__builtin_altivec_vctuxs, "V4UiV4fi", "")
58
59BUILTIN(__builtin_altivec_dss, "vUi", "")
60BUILTIN(__builtin_altivec_dssall, "v", "")
61BUILTIN(__builtin_altivec_dst, "vvC*iUi", "") 
62BUILTIN(__builtin_altivec_dstt, "vvC*iUi", "")
63BUILTIN(__builtin_altivec_dstst, "vvC*iUi", "")
64BUILTIN(__builtin_altivec_dststt, "vvC*iUi", "")
65
66BUILTIN(__builtin_altivec_vexptefp, "V4fV4f", "")
67
68BUILTIN(__builtin_altivec_vrfim, "V4fV4f", "")
69
70BUILTIN(__builtin_altivec_lvx, "V4iivC*", "")
71BUILTIN(__builtin_altivec_lvxl, "V4iivC*", "")
72BUILTIN(__builtin_altivec_lvebx, "V16civC*", "")
73BUILTIN(__builtin_altivec_lvehx, "V8sivC*", "")
74BUILTIN(__builtin_altivec_lvewx, "V4iivC*", "")
75
76BUILTIN(__builtin_altivec_vlogefp, "V4fV4f", "")
77
78BUILTIN(__builtin_altivec_lvsl, "V16cUcvC*", "")
79BUILTIN(__builtin_altivec_lvsr, "V16cUcvC*", "")
80
81BUILTIN(__builtin_altivec_vmaddfp, "V4fV4fV4fV4f", "")
82BUILTIN(__builtin_altivec_vmhaddshs, "V8sV8sV8sV8s", "")
83BUILTIN(__builtin_altivec_vmhraddshs, "V8sV8sV8sV8s", "")
84
85BUILTIN(__builtin_altivec_vmsumubm, "V4UiV16UcV16UcV4Ui", "")
86BUILTIN(__builtin_altivec_vmsummbm, "V4SiV16ScV16UcV4Si", "")
87BUILTIN(__builtin_altivec_vmsumuhm, "V4UiV8UsV8UsV4Ui", "")
88BUILTIN(__builtin_altivec_vmsumshm, "V4SiV8SsV8SsV4Si", "")
89BUILTIN(__builtin_altivec_vmsumuhs, "V4UiV8UsV8UsV4Ui", "")
90BUILTIN(__builtin_altivec_vmsumshs, "V4SiV8SsV8SsV4Si", "")
91
92BUILTIN(__builtin_altivec_vmuleub, "V8UsV16UcV16Uc", "")
93BUILTIN(__builtin_altivec_vmulesb, "V8SsV16ScV16Sc", "")
94BUILTIN(__builtin_altivec_vmuleuh, "V4UiV8UsV8Us", "")
95BUILTIN(__builtin_altivec_vmulesh, "V4SiV8SsV8Ss", "")
96BUILTIN(__builtin_altivec_vmuleuw, "V2ULLiV4UiV4Ui", "")
97BUILTIN(__builtin_altivec_vmulesw, "V2SLLiV4SiV4Si", "")
98BUILTIN(__builtin_altivec_vmuloub, "V8UsV16UcV16Uc", "")
99BUILTIN(__builtin_altivec_vmulosb, "V8SsV16ScV16Sc", "")
100BUILTIN(__builtin_altivec_vmulouh, "V4UiV8UsV8Us", "")
101BUILTIN(__builtin_altivec_vmulosh, "V4SiV8SsV8Ss", "")
102BUILTIN(__builtin_altivec_vmulouw, "V2ULLiV4UiV4Ui", "")
103BUILTIN(__builtin_altivec_vmulosw, "V2SLLiV4SiV4Si", "")
104
105BUILTIN(__builtin_altivec_vnmsubfp, "V4fV4fV4fV4f", "")
106
107BUILTIN(__builtin_altivec_vpkpx, "V8sV4UiV4Ui", "")
108BUILTIN(__builtin_altivec_vpkuhus, "V16UcV8UsV8Us", "")
109BUILTIN(__builtin_altivec_vpkshss, "V16ScV8SsV8Ss", "")
110BUILTIN(__builtin_altivec_vpkuwus, "V8UsV4UiV4Ui", "")
111BUILTIN(__builtin_altivec_vpkswss, "V8SsV4SiV4Si", "")
112BUILTIN(__builtin_altivec_vpkshus, "V16UcV8SsV8Ss", "")
113BUILTIN(__builtin_altivec_vpkswus, "V8UsV4SiV4Si", "")
114BUILTIN(__builtin_altivec_vpksdss, "V4SiV2SLLiV2SLLi", "")
115BUILTIN(__builtin_altivec_vpksdus, "V4UiV2SLLiV2SLLi", "")
116BUILTIN(__builtin_altivec_vpkudus, "V4UiV2ULLiV2ULLi", "")
117BUILTIN(__builtin_altivec_vpkudum, "V4UiV2ULLiV2ULLi", "")
118
119BUILTIN(__builtin_altivec_vperm_4si, "V4iV4iV4iV16Uc", "")
120
121BUILTIN(__builtin_altivec_stvx, "vV4iiv*", "")
122BUILTIN(__builtin_altivec_stvxl, "vV4iiv*", "")
123BUILTIN(__builtin_altivec_stvebx, "vV16civ*", "")
124BUILTIN(__builtin_altivec_stvehx, "vV8siv*", "")
125BUILTIN(__builtin_altivec_stvewx, "vV4iiv*", "")
126
127BUILTIN(__builtin_altivec_vcmpbfp, "V4iV4fV4f", "")
128
129BUILTIN(__builtin_altivec_vcmpgefp, "V4iV4fV4f", "")
130
131BUILTIN(__builtin_altivec_vcmpequb, "V16cV16cV16c", "")
132BUILTIN(__builtin_altivec_vcmpequh, "V8sV8sV8s", "")
133BUILTIN(__builtin_altivec_vcmpequw, "V4iV4iV4i", "")
134BUILTIN(__builtin_altivec_vcmpequd, "V2LLiV2LLiV2LLi", "")
135BUILTIN(__builtin_altivec_vcmpeqfp, "V4iV4fV4f", "")
136
137BUILTIN(__builtin_altivec_vcmpgtsb, "V16cV16ScV16Sc", "")
138BUILTIN(__builtin_altivec_vcmpgtub, "V16cV16UcV16Uc", "")
139BUILTIN(__builtin_altivec_vcmpgtsh, "V8sV8SsV8Ss", "")
140BUILTIN(__builtin_altivec_vcmpgtuh, "V8sV8UsV8Us", "")
141BUILTIN(__builtin_altivec_vcmpgtsw, "V4iV4SiV4Si", "")
142BUILTIN(__builtin_altivec_vcmpgtuw, "V4iV4UiV4Ui", "")
143BUILTIN(__builtin_altivec_vcmpgtsd, "V2LLiV2LLiV2LLi", "")
144BUILTIN(__builtin_altivec_vcmpgtud, "V2LLiV2ULLiV2ULLi", "")
145BUILTIN(__builtin_altivec_vcmpgtfp, "V4iV4fV4f", "")
146
147BUILTIN(__builtin_altivec_vmaxsb, "V16ScV16ScV16Sc", "")
148BUILTIN(__builtin_altivec_vmaxub, "V16UcV16UcV16Uc", "")
149BUILTIN(__builtin_altivec_vmaxsh, "V8SsV8SsV8Ss", "")
150BUILTIN(__builtin_altivec_vmaxuh, "V8UsV8UsV8Us", "")
151BUILTIN(__builtin_altivec_vmaxsw, "V4SiV4SiV4Si", "")
152BUILTIN(__builtin_altivec_vmaxuw, "V4UiV4UiV4Ui", "")
153BUILTIN(__builtin_altivec_vmaxsd, "V2LLiV2LLiV2LLi", "")
154BUILTIN(__builtin_altivec_vmaxud, "V2ULLiV2ULLiV2ULLi", "")
155BUILTIN(__builtin_altivec_vmaxfp, "V4fV4fV4f", "")
156
157BUILTIN(__builtin_altivec_mfvscr, "V8Us", "")
158
159BUILTIN(__builtin_altivec_vminsb, "V16ScV16ScV16Sc", "")
160BUILTIN(__builtin_altivec_vminub, "V16UcV16UcV16Uc", "")
161BUILTIN(__builtin_altivec_vminsh, "V8SsV8SsV8Ss", "")
162BUILTIN(__builtin_altivec_vminuh, "V8UsV8UsV8Us", "")
163BUILTIN(__builtin_altivec_vminsw, "V4SiV4SiV4Si", "")
164BUILTIN(__builtin_altivec_vminuw, "V4UiV4UiV4Ui", "")
165BUILTIN(__builtin_altivec_vminsd, "V2LLiV2LLiV2LLi", "")
166BUILTIN(__builtin_altivec_vminud, "V2ULLiV2ULLiV2ULLi", "")
167BUILTIN(__builtin_altivec_vminfp, "V4fV4fV4f", "")
168
169BUILTIN(__builtin_altivec_mtvscr, "vV4i", "")
170
171BUILTIN(__builtin_altivec_vrefp, "V4fV4f", "")
172
173BUILTIN(__builtin_altivec_vrlb, "V16cV16cV16Uc", "")
174BUILTIN(__builtin_altivec_vrlh, "V8sV8sV8Us", "")
175BUILTIN(__builtin_altivec_vrlw, "V4iV4iV4Ui", "")
176BUILTIN(__builtin_altivec_vrld, "V2LLiV2LLiV2ULLi", "")
177
178BUILTIN(__builtin_altivec_vsel_4si, "V4iV4iV4iV4Ui", "")
179
180BUILTIN(__builtin_altivec_vsl, "V4iV4iV4i", "")
181BUILTIN(__builtin_altivec_vslo, "V4iV4iV4i", "")
182
183BUILTIN(__builtin_altivec_vsrab, "V16cV16cV16Uc", "")
184BUILTIN(__builtin_altivec_vsrah, "V8sV8sV8Us", "")
185BUILTIN(__builtin_altivec_vsraw, "V4iV4iV4Ui", "")
186
187BUILTIN(__builtin_altivec_vsr, "V4iV4iV4i", "")
188BUILTIN(__builtin_altivec_vsro, "V4iV4iV4i", "")
189
190BUILTIN(__builtin_altivec_vrfin, "V4fV4f", "")
191
192BUILTIN(__builtin_altivec_vrsqrtefp, "V4fV4f", "")
193
194BUILTIN(__builtin_altivec_vsubcuw, "V4UiV4UiV4Ui", "")
195
196BUILTIN(__builtin_altivec_vsum4sbs, "V4SiV16ScV4Si", "")
197BUILTIN(__builtin_altivec_vsum4ubs, "V4UiV16UcV4Ui", "")
198BUILTIN(__builtin_altivec_vsum4shs, "V4SiV8SsV4Si", "")
199
200BUILTIN(__builtin_altivec_vsum2sws, "V4SiV4SiV4Si", "")
201
202BUILTIN(__builtin_altivec_vsumsws, "V4SiV4SiV4Si", "")
203
204BUILTIN(__builtin_altivec_vrfiz, "V4fV4f", "")
205
206BUILTIN(__builtin_altivec_vupkhsb, "V8sV16c", "")
207BUILTIN(__builtin_altivec_vupkhpx, "V4UiV8s", "")
208BUILTIN(__builtin_altivec_vupkhsh, "V4iV8s", "")
209BUILTIN(__builtin_altivec_vupkhsw, "V2LLiV4i", "")
210
211BUILTIN(__builtin_altivec_vupklsb, "V8sV16c", "")
212BUILTIN(__builtin_altivec_vupklpx, "V4UiV8s", "")
213BUILTIN(__builtin_altivec_vupklsh, "V4iV8s", "")
214BUILTIN(__builtin_altivec_vupklsw, "V2LLiV4i", "")
215
216BUILTIN(__builtin_altivec_vcmpbfp_p, "iiV4fV4f", "")
217
218BUILTIN(__builtin_altivec_vcmpgefp_p, "iiV4fV4f", "")
219
220BUILTIN(__builtin_altivec_vcmpequb_p, "iiV16cV16c", "")
221BUILTIN(__builtin_altivec_vcmpequh_p, "iiV8sV8s", "")
222BUILTIN(__builtin_altivec_vcmpequw_p, "iiV4iV4i", "")
223BUILTIN(__builtin_altivec_vcmpequd_p, "iiV2LLiV2LLi", "")
224BUILTIN(__builtin_altivec_vcmpeqfp_p, "iiV4fV4f", "")
225
226BUILTIN(__builtin_altivec_vcmpgtsb_p, "iiV16ScV16Sc", "")
227BUILTIN(__builtin_altivec_vcmpgtub_p, "iiV16UcV16Uc", "")
228BUILTIN(__builtin_altivec_vcmpgtsh_p, "iiV8SsV8Ss", "")
229BUILTIN(__builtin_altivec_vcmpgtuh_p, "iiV8UsV8Us", "")
230BUILTIN(__builtin_altivec_vcmpgtsw_p, "iiV4SiV4Si", "")
231BUILTIN(__builtin_altivec_vcmpgtuw_p, "iiV4UiV4Ui", "")
232BUILTIN(__builtin_altivec_vcmpgtsd_p, "iiV2LLiV2LLi", "")
233BUILTIN(__builtin_altivec_vcmpgtud_p, "iiV2ULLiV2ULLi", "")
234BUILTIN(__builtin_altivec_vcmpgtfp_p, "iiV4fV4f", "")
235
236BUILTIN(__builtin_altivec_vgbbd, "V16UcV16Uc", "")
237BUILTIN(__builtin_altivec_vbpermq, "V2ULLiV16UcV16Uc", "")
238
239// P8 Crypto built-ins.
240BUILTIN(__builtin_altivec_crypto_vsbox, "V2ULLiV2ULLi", "")
241BUILTIN(__builtin_altivec_crypto_vpermxor, "V16UcV16UcV16UcV16Uc", "")
242BUILTIN(__builtin_altivec_crypto_vshasigmaw, "V4UiV4UiIiIi", "")
243BUILTIN(__builtin_altivec_crypto_vshasigmad, "V2ULLiV2ULLiIiIi", "")
244BUILTIN(__builtin_altivec_crypto_vcipher, "V2ULLiV2ULLiV2ULLi", "")
245BUILTIN(__builtin_altivec_crypto_vcipherlast, "V2ULLiV2ULLiV2ULLi", "")
246BUILTIN(__builtin_altivec_crypto_vncipher, "V2ULLiV2ULLiV2ULLi", "")
247BUILTIN(__builtin_altivec_crypto_vncipherlast, "V2ULLiV2ULLiV2ULLi", "")
248BUILTIN(__builtin_altivec_crypto_vpmsumb, "V16UcV16UcV16Uc", "")
249BUILTIN(__builtin_altivec_crypto_vpmsumh, "V8UsV8UsV8Us", "")
250BUILTIN(__builtin_altivec_crypto_vpmsumw, "V4UiV4UiV4Ui", "")
251BUILTIN(__builtin_altivec_crypto_vpmsumd, "V2ULLiV2ULLiV2ULLi", "")
252
253BUILTIN(__builtin_altivec_vclzb, "V16UcV16Uc", "")
254BUILTIN(__builtin_altivec_vclzh, "V8UsV8Us", "")
255BUILTIN(__builtin_altivec_vclzw, "V4UiV4Ui", "")
256BUILTIN(__builtin_altivec_vclzd, "V2ULLiV2ULLi", "")
257
258// VSX built-ins.
259
260BUILTIN(__builtin_vsx_lxvd2x, "V2divC*", "")
261BUILTIN(__builtin_vsx_lxvw4x, "V4iivC*", "")
262
263BUILTIN(__builtin_vsx_stxvd2x, "vV2div*", "")
264BUILTIN(__builtin_vsx_stxvw4x, "vV4iiv*", "")
265
266BUILTIN(__builtin_vsx_xvmaxdp, "V2dV2dV2d", "")
267BUILTIN(__builtin_vsx_xvmaxsp, "V4fV4fV4f", "")
268BUILTIN(__builtin_vsx_xsmaxdp, "ddd", "")
269
270BUILTIN(__builtin_vsx_xvmindp, "V2dV2dV2d", "")
271BUILTIN(__builtin_vsx_xvminsp, "V4fV4fV4f", "")
272BUILTIN(__builtin_vsx_xsmindp, "ddd", "")
273
274BUILTIN(__builtin_vsx_xvdivdp, "V2dV2dV2d", "")
275BUILTIN(__builtin_vsx_xvdivsp, "V4fV4fV4f", "")
276
277BUILTIN(__builtin_vsx_xvrdpip, "V2dV2d", "")
278BUILTIN(__builtin_vsx_xvrspip, "V4fV4f", "")
279
280BUILTIN(__builtin_vsx_xvcmpeqdp, "V2ULLiV2dV2d", "")
281BUILTIN(__builtin_vsx_xvcmpeqsp, "V4UiV4fV4f", "")
282
283BUILTIN(__builtin_vsx_xvcmpeqdp_p, "iiV2dV2d", "")
284BUILTIN(__builtin_vsx_xvcmpeqsp_p, "iiV4fV4f", "")
285
286BUILTIN(__builtin_vsx_xvcmpgedp, "V2ULLiV2dV2d", "")
287BUILTIN(__builtin_vsx_xvcmpgesp, "V4UiV4fV4f", "")
288
289BUILTIN(__builtin_vsx_xvcmpgedp_p, "iiV2dV2d", "")
290BUILTIN(__builtin_vsx_xvcmpgesp_p, "iiV4fV4f", "")
291
292BUILTIN(__builtin_vsx_xvcmpgtdp, "V2ULLiV2dV2d", "")
293BUILTIN(__builtin_vsx_xvcmpgtsp, "V4UiV4fV4f", "")
294
295BUILTIN(__builtin_vsx_xvcmpgtdp_p, "iiV2dV2d", "")
296BUILTIN(__builtin_vsx_xvcmpgtsp_p, "iiV4fV4f", "")
297
298BUILTIN(__builtin_vsx_xvrdpim, "V2dV2d", "")
299BUILTIN(__builtin_vsx_xvrspim, "V4fV4f", "")
300
301BUILTIN(__builtin_vsx_xvrdpi, "V2dV2d", "")
302BUILTIN(__builtin_vsx_xvrspi, "V4fV4f", "")
303
304BUILTIN(__builtin_vsx_xvrdpic, "V2dV2d", "")
305BUILTIN(__builtin_vsx_xvrspic, "V4fV4f", "")
306
307BUILTIN(__builtin_vsx_xvrdpiz, "V2dV2d", "")
308BUILTIN(__builtin_vsx_xvrspiz, "V4fV4f", "")
309
310BUILTIN(__builtin_vsx_xvmaddadp, "V2dV2dV2dV2d", "")
311BUILTIN(__builtin_vsx_xvmaddasp, "V4fV4fV4fV4f", "")
312
313BUILTIN(__builtin_vsx_xvmsubadp, "V2dV2dV2dV2d", "")
314BUILTIN(__builtin_vsx_xvmsubasp, "V4fV4fV4fV4f", "")
315
316BUILTIN(__builtin_vsx_xvmuldp, "V2dV2dV2d", "")
317BUILTIN(__builtin_vsx_xvmulsp, "V4fV4fV4f", "")
318
319BUILTIN(__builtin_vsx_xvnmaddadp, "V2dV2dV2dV2d", "")
320BUILTIN(__builtin_vsx_xvnmaddasp, "V4fV4fV4fV4f", "")
321
322BUILTIN(__builtin_vsx_xvnmsubadp, "V2dV2dV2dV2d", "")
323BUILTIN(__builtin_vsx_xvnmsubasp, "V4fV4fV4fV4f", "")
324
325BUILTIN(__builtin_vsx_xvredp, "V2dV2d", "")
326BUILTIN(__builtin_vsx_xvresp, "V4fV4f", "")
327
328BUILTIN(__builtin_vsx_xvrsqrtedp, "V2dV2d", "")
329BUILTIN(__builtin_vsx_xvrsqrtesp, "V4fV4f", "")
330
331BUILTIN(__builtin_vsx_xvsqrtdp, "V2dV2d", "")
332BUILTIN(__builtin_vsx_xvsqrtsp, "V4fV4f", "")
333
334BUILTIN(__builtin_vsx_xxleqv, "V4UiV4UiV4Ui", "")
335
336BUILTIN(__builtin_vsx_xvcpsgndp, "V2dV2dV2d", "")
337BUILTIN(__builtin_vsx_xvcpsgnsp, "V4fV4fV4f", "")
338
339// HTM builtins
340BUILTIN(__builtin_tbegin, "UiUIi", "")
341BUILTIN(__builtin_tend, "UiUIi", "")
342
343BUILTIN(__builtin_tabort, "UiUi", "")
344BUILTIN(__builtin_tabortdc, "UiUiUiUi", "")
345BUILTIN(__builtin_tabortdci, "UiUiUii", "")
346BUILTIN(__builtin_tabortwc, "UiUiUiUi", "")
347BUILTIN(__builtin_tabortwci, "UiUiUii", "")
348
349BUILTIN(__builtin_tcheck, "Ui", "")
350BUILTIN(__builtin_treclaim, "UiUi", "")
351BUILTIN(__builtin_trechkpt, "Ui", "")
352BUILTIN(__builtin_tsr, "UiUi", "")
353
354BUILTIN(__builtin_tendall, "Ui", "")
355BUILTIN(__builtin_tresume, "Ui", "")
356BUILTIN(__builtin_tsuspend, "Ui", "")
357
358BUILTIN(__builtin_get_texasr, "LUi", "c")
359BUILTIN(__builtin_get_texasru, "LUi", "c")
360BUILTIN(__builtin_get_tfhar, "LUi", "c")
361BUILTIN(__builtin_get_tfiar, "LUi", "c")
362
363BUILTIN(__builtin_set_texasr, "vLUi", "c")
364BUILTIN(__builtin_set_texasru, "vLUi", "c")
365BUILTIN(__builtin_set_tfhar, "vLUi", "c")
366BUILTIN(__builtin_set_tfiar, "vLUi", "c")
367
368BUILTIN(__builtin_ttest, "LUi", "")
369
370// Scalar built-ins
371BUILTIN(__builtin_divwe, "SiSiSi", "")
372BUILTIN(__builtin_divweu, "UiUiUi", "")
373BUILTIN(__builtin_divde, "SLLiSLLiSLLi", "")
374BUILTIN(__builtin_divdeu, "ULLiULLiULLi", "")
375BUILTIN(__builtin_bpermd, "SLLiSLLiSLLi", "")
376
377// FIXME: Obviously incomplete.
378
379#undef BUILTIN
380