Debian Codegraph @

gcc/config/rs6000/rs6000-builtins.def

raw
1 ; Built-in functions for PowerPC.
2 ; Copyright (C) 2020-2025 Free Software Foundation, Inc.
3 ; Contributed by Bill Schmidt, IBM <[email protected]>
4 ;
5 ; This file is part of GCC.
6 ;
7 ; GCC is free software; you can redistribute it and/or modify it under
8 ; the terms of the GNU General Public License as published by the Free
9 ; Software Foundation; either version 3, or (at your option) any later
10 ; version.
11 ;
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 ; for more details.
16 ;
17 ; You should have received a copy of the GNU General Public License
18 ; along with GCC; see the file COPYING3. If not see
19 ; <http://www.gnu.org/licenses/>.
20
21
22 ; Built-in functions in this file are organized into "stanzas", where
23 ; all built-ins in a given stanza are enabled together. Each stanza
24 ; starts with a line identifying the circumstances in which the group of
25 ; functions is permitted, with the gating predicate in square brackets.
26 ; For example, this could be
27 ;
28 ; [altivec]
29 ;
30 ; or it could be
31 ;
32 ; [power9]
33 ;
34 ; The bracketed gating predicate is the only information allowed on
35 ; the stanza header line, other than whitespace.
36 ;
37 ; Following the stanza header are two lines for each function: the
38 ; prototype line and the attributes line. The prototype line has
39 ; this format, where the square brackets indicate optional
40 ; information and angle brackets indicate required information:
41 ;
42 ; [kind] <return-type> <bif-name> (<argument-list>);
43 ;
44 ; Here [kind] can be one of "const", "pure", or "fpmath";
45 ; <return-type> is a legal type for a built-in function result;
46 ; <bif-name> is the name by which the function can be called;
47 ; and <argument-list> is a comma-separated list of legal types
48 ; for built-in function arguments. The argument list may be
49 ; empty, but the parentheses and semicolon are required.
50 ;
51 ; A legal type is of the form:
52 ;
53 ; [const] [[signed|unsigned] <basetype> | <vectype>] [*]
54 ;
55 ; where "const" applies only to a <basetype> of "int". Legal values
56 ; of <basetype> are (for now):
57 ;
58 ; char
59 ; short
60 ; int
61 ; long
62 ; long double
63 ; long long
64 ; float
65 ; double
66 ; __int128
67 ; _Float128
68 ; bool
69 ; string
70 ; _Decimal32
71 ; _Decimal64
72 ; _Decimal128
73 ; __ibm128
74 ;
75 ; Legal values of <vectype> are as follows, and are shorthand for
76 ; the associated meaning:
77 ;
78 ; vsc vector signed char
79 ; vuc vector unsigned char
80 ; vbc vector bool char
81 ; vss vector signed short
82 ; vus vector unsigned short
83 ; vbs vector bool short
84 ; vsi vector signed int
85 ; vui vector unsigned int
86 ; vbi vector bool int
87 ; vsll vector signed long long
88 ; vull vector unsigned long long
89 ; vbll vector bool long long
90 ; vsq vector signed __int128
91 ; vuq vector unsigned __int128
92 ; vbq vector bool __int128
93 ; vp vector pixel
94 ; vf vector float
95 ; vd vector double
96 ; v256 __vector_pair
97 ; v512 __vector_quad
98 ;
99 ; For simplicity, We don't support "short int" and "long long int".
100 ; We don't currently support a <basetype> of "_Float16". "signed"
101 ; and "unsigned" only apply to integral base types. The optional *
102 ; indicates a pointer type.
103 ;
104 ; The attributes line looks like this:
105 ;
106 ; <bif-id> <bif-pattern> {<attribute-list>}
107 ;
108 ; Here <bif-id> is a unique internal identifier for the built-in
109 ; function that will be used as part of an enumeration of all
110 ; built-in functions; <bif-pattern> is the define_expand or
111 ; define_insn that will be invoked when the call is expanded;
112 ; and <attribute-list> is a comma-separated list of special
113 ; conditions that apply to the built-in function. The attribute
114 ; list may be empty, but the braces are required.
115 ;
116 ; Attributes are strings, and the allowed ones are listed below.
117 ;
118 ; extract Process as a vec_extract function
119 ; nosoft Not valid with -msoft-float
120 ; ldvec Needs special handling for vec_ld semantics
121 ; stvec Needs special handling for vec_st semantics
122 ; reve Needs special handling for element reversal
123 ; pred Needs special handling for comparison predicates
124 ; htm Needs special handling for transactional memory
125 ; htmspr HTM function using an SPR
126 ; htmcr HTM function using a CR
127 ; mma Needs special handling for MMA
128 ; quad MMA instruction using a register quad as an input operand
129 ; pair MMA instruction using a register pair as an input operand
130 ; mmaint MMA instruction expanding to internal call at GIMPLE time
131 ; no32bit Not valid for TARGET_32BIT
132 ; 32bit Requires different handling for TARGET_32BIT
133 ; cpu This is a "cpu_is" or "cpu_supports" builtin
134 ; ldstmask Altivec mask for load or store
135 ; lxvrse Needs special handling for load-rightmost, sign-extended
136 ; lxvrze Needs special handling for load-rightmost, zero-extended
137 ; endian Needs special handling for endianness
138 ; ibmld Restrict usage to the case when TFmode is IBM-128
139 ; ibm128 Restrict usage to the case where __ibm128 is supported or if ibmld
140 ;
141 ; Each attribute corresponds to extra processing required when
142 ; the built-in is expanded. All such special processing should
143 ; be controlled by an attribute from now on.
144 ;
145 ; It is important to note that each entry's <bif-name> must be
146 ; unique. The code generated from this file will call def_builtin
147 ; for each entry, and this can only happen once per name.
148 ;
149 ; The type signature for the builtin must match the modes of the RTL
150 ; pattern <bif-pattern>. When a builtin is used only as a basis for
151 ; overloading, you can use an arbitrary type for each mode (for example,
152 ; for V8HImode, you could use vp, vss, vus, or vbs). The overloading
153 ; machinery takes care of adding appropriate casts between vectors to
154 ; satisfy impedance matching. The overloaded prototypes are the ones
155 ; that must match what users expect. Thus you will often have a small
156 ; number of entries in this file that correspond to a much greater
157 ; number of entries in rs6000-overload.def.
158 ;
159 ; However, builtins in this file that are expected to be directly called
160 ; by users must have one version for each expected type combination.
161 ;
162 ; Eventually we want to automatically generate built-in documentation
163 ; from the entries in this file. Documenting of built-ins with more
164 ; than one acceptable prototype can be done by cross-referencing
165 ; against rs6000-overload.def and picking up the allowable prototypes
166 ; from there.
167 ;
168 ; Blank lines may be used as desired in this file between the lines as
169 ; defined above; that is, you can introduce as many extra newlines as you
170 ; like after a required newline, but nowhere else. Lines beginning with
171 ; a semicolon are also treated as blank lines.
172 ;
173 ; A const int argument may be restricted to certain values. This is
174 ; indicated by one of the following occurring after the "int" token:
175 ;
176 ; <x> restricts the constant to x bits, interpreted as unsigned
177 ; <x,y> restricts the constant to the inclusive range [x,y]
178 ; [x,y] restricts the constant to the inclusive range [x,y],
179 ; but only applies if the argument is constant.
180 ; {x,y} restricts the constant to one of two values, x or y.
181 ;
182 ; Here x and y are integer tokens. Note that the "const" token is a
183 ; lie when the restriction is [x,y], but this simplifies the parsing
184 ; significantly and is hopefully forgivable.
185
186
187
188 ; Builtins that have been around since time immemorial or are just
189 ; considered available everywhere.
190 [always]
191 ; __builtin_cfstring is for Darwin, which will replace the decl we
192 ; create here with another one during subtarget processing. We just
193 ; need to ensure it has a slot in the builtin enumeration.
194 void __builtin_cfstring ();
195 CFSTRING nothing {}
196
197 void __builtin_cpu_init ();
198 CPU_INIT nothing {cpu}
199
200 bool __builtin_cpu_is (string);
201 CPU_IS nothing {cpu}
202
203 bool __builtin_cpu_supports (string);
204 CPU_SUPPORTS nothing {cpu}
205
206 unsigned long long __builtin_ppc_get_timebase ();
207 GET_TB rs6000_get_timebase {}
208
209 double __builtin_mffs ();
210 MFFS rs6000_mffs {}
211
212 ; Although the mffsl instruction is only available on POWER9 and later
213 ; processors, this builtin automatically falls back to mffs on older
214 ; platforms. Thus it appears here in the [always] stanza.
215 double __builtin_mffsl ();
216 MFFSL rs6000_mffsl {nosoft}
217
218 ; This is redundant with __builtin_pack_ibm128, as it requires long
219 ; double to be __ibm128. Should probably be deprecated.
220 const long double __builtin_pack_longdouble (double, double);
221 PACK_TF packtf {ibmld}
222
223 unsigned long __builtin_ppc_mftb ();
224 MFTB rs6000_mftb_di {32bit}
225
226 void __builtin_mtfsb0 (const int<5>);
227 MTFSB0 rs6000_mtfsb0 {nosoft}
228
229 void __builtin_mtfsb1 (const int<5>);
230 MTFSB1 rs6000_mtfsb1 {nosoft}
231
232 void __builtin_mtfsf (const int<8>, double);
233 MTFSF rs6000_mtfsf {}
234
235 const __ibm128 __builtin_pack_ibm128 (double, double);
236 PACK_IF packif {ibm128}
237
238 double __builtin_set_fpscr_rn (const int[0,3]);
239 SET_FPSCR_RN rs6000_set_fpscr_rn {nosoft}
240
241 const double __builtin_unpack_ibm128 (__ibm128, const int<1>);
242 UNPACK_IF unpackif {ibm128}
243
244 ; This is redundant with __builtin_unpack_ibm128, as it requires long
245 ; double to be __ibm128. Should probably be deprecated.
246 const double __builtin_unpack_longdouble (long double, const int<1>);
247 UNPACK_TF unpacktf {ibmld}
248
249
250 ; Builtins that have been around just about forever, but not quite.
251 [power5]
252 fpmath double __builtin_recipdiv (double, double);
253 RECIP recipdf3 {}
254
255 fpmath float __builtin_recipdivf (float, float);
256 RECIPF recipsf3 {}
257
258 fpmath double __builtin_rsqrt (double);
259 RSQRT rsqrtdf2 {}
260
261 fpmath float __builtin_rsqrtf (float);
262 RSQRTF rsqrtsf2 {}
263
264
265 ; Power6 builtins (ISA 2.05).
266 [power6]
267 const signed int __builtin_p6_cmpb_32 (signed int, signed int);
268 CMPB_32 cmpbsi3 {}
269
270
271 ; Power6 builtins requiring 64-bit GPRs (even with 32-bit addressing).
272 [power6-64]
273 const signed long __builtin_p6_cmpb (signed long, signed long);
274 CMPB cmpbdi3 {no32bit}
275
276
277 ; AltiVec builtins.
278 [altivec]
279 const vsc __builtin_altivec_abs_v16qi (vsc);
280 ABS_V16QI absv16qi2 {}
281
282 const vf __builtin_altivec_abs_v4sf (vf);
283 ABS_V4SF absv4sf2 {}
284
285 const vsi __builtin_altivec_abs_v4si (vsi);
286 ABS_V4SI absv4si2 {}
287
288 const vss __builtin_altivec_abs_v8hi (vss);
289 ABS_V8HI absv8hi2 {}
290
291 const vsc __builtin_altivec_abss_v16qi (vsc);
292 ABSS_V16QI altivec_abss_v16qi {}
293
294 const vsi __builtin_altivec_abss_v4si (vsi);
295 ABSS_V4SI altivec_abss_v4si {}
296
297 const vss __builtin_altivec_abss_v8hi (vss);
298 ABSS_V8HI altivec_abss_v8hi {}
299
300 const vf __builtin_altivec_copysignfp (vf, vf);
301 COPYSIGN_V4SF vector_copysignv4sf3 {}
302
303 void __builtin_altivec_dss (const int<2>);
304 DSS altivec_dss {}
305
306 void __builtin_altivec_dssall ();
307 DSSALL altivec_dssall {}
308
309 void __builtin_altivec_dst (void *, const int, const int<2>);
310 DST altivec_dst {}
311
312 void __builtin_altivec_dstst (void *, const int, const int<2>);
313 DSTST altivec_dstst {}
314
315 void __builtin_altivec_dststt (void *, const int, const int<2>);
316 DSTSTT altivec_dststt {}
317
318 void __builtin_altivec_dstt (void *, const int, const int<2>);
319 DSTT altivec_dstt {}
320
321 fpmath vsi __builtin_altivec_fix_sfsi (vf);
322 FIX_V4SF_V4SI fix_truncv4sfv4si2 {}
323
324 fpmath vui __builtin_altivec_fixuns_sfsi (vf);
325 FIXUNS_V4SF_V4SI fixuns_truncv4sfv4si2 {}
326
327 fpmath vf __builtin_altivec_float_sisf (vsi);
328 FLOAT_V4SI_V4SF floatv4siv4sf2 {}
329
330 pure vsc __builtin_altivec_lvebx (signed long, const void *);
331 LVEBX altivec_lvebx {ldvec}
332
333 pure vss __builtin_altivec_lvehx (signed long, const void *);
334 LVEHX altivec_lvehx {ldvec}
335
336 pure vsi __builtin_altivec_lvewx (signed long, const void *);
337 LVEWX altivec_lvewx {ldvec}
338
339 pure vuc __builtin_altivec_lvsl (signed long, const void *);
340 LVSL altivec_lvsl {ldvec}
341
342 pure vuc __builtin_altivec_lvsr (signed long, const void *);
343 LVSR altivec_lvsr {ldvec}
344
345 pure vsi __builtin_altivec_lvx (signed long, const void *);
346 LVX altivec_lvx_v4si {ldvec}
347
348 pure vsq __builtin_altivec_lvx_v1ti (signed long, const void *);
349 LVX_V1TI altivec_lvx_v1ti {ldvec}
350
351 pure vsc __builtin_altivec_lvx_v16qi (signed long, const void *);
352 LVX_V16QI altivec_lvx_v16qi {ldvec}
353
354 pure vf __builtin_altivec_lvx_v4sf (signed long, const void *);
355 LVX_V4SF altivec_lvx_v4sf {ldvec}
356
357 pure vsi __builtin_altivec_lvx_v4si (signed long, const void *);
358 LVX_V4SI altivec_lvx_v4si {ldvec}
359
360 pure vss __builtin_altivec_lvx_v8hi (signed long, const void *);
361 LVX_V8HI altivec_lvx_v8hi {ldvec}
362
363 pure vsi __builtin_altivec_lvxl (signed long, const void *);
364 LVXL altivec_lvxl_v4si {ldvec}
365
366 pure vsc __builtin_altivec_lvxl_v16qi (signed long, const void *);
367 LVXL_V16QI altivec_lvxl_v16qi {ldvec}
368
369 pure vf __builtin_altivec_lvxl_v4sf (signed long, const void *);
370 LVXL_V4SF altivec_lvxl_v4sf {ldvec}
371
372 pure vsi __builtin_altivec_lvxl_v4si (signed long, const void *);
373 LVXL_V4SI altivec_lvxl_v4si {ldvec}
374
375 pure vss __builtin_altivec_lvxl_v8hi (signed long, const void *);
376 LVXL_V8HI altivec_lvxl_v8hi {ldvec}
377
378 const vsc __builtin_altivec_mask_for_load (const void *);
379 MASK_FOR_LOAD altivec_lvsr_direct {ldstmask}
380
381 vss __builtin_altivec_mfvscr ();
382 MFVSCR altivec_mfvscr {}
383
384 void __builtin_altivec_mtvscr (vsi);
385 MTVSCR altivec_mtvscr {}
386
387 const vsll __builtin_altivec_vmulesw (vsi, vsi);
388 VMULESW vec_widen_smult_even_v4si {}
389
390 const vull __builtin_altivec_vmuleuw (vui, vui);
391 VMULEUW vec_widen_umult_even_v4si {}
392
393 const vsll __builtin_altivec_vmulosw (vsi, vsi);
394 VMULOSW vec_widen_smult_odd_v4si {}
395
396 const vull __builtin_altivec_vmulouw (vui, vui);
397 VMULOUW vec_widen_umult_odd_v4si {}
398
399 const vsc __builtin_altivec_nabs_v16qi (vsc);
400 NABS_V16QI nabsv16qi2 {}
401
402 const vf __builtin_altivec_nabs_v4sf (vf);
403 NABS_V4SF vsx_nabsv4sf2 {}
404
405 const vsi __builtin_altivec_nabs_v4si (vsi);
406 NABS_V4SI nabsv4si2 {}
407
408 const vss __builtin_altivec_nabs_v8hi (vss);
409 NABS_V8HI nabsv8hi2 {}
410
411 const vsc __builtin_altivec_neg_v16qi (vsc);
412 NEG_V16QI negv16qi2 {}
413
414 const vf __builtin_altivec_neg_v4sf (vf);
415 NEG_V4SF negv4sf2 {}
416
417 const vsi __builtin_altivec_neg_v4si (vsi);
418 NEG_V4SI negv4si2 {}
419
420 const vss __builtin_altivec_neg_v8hi (vss);
421 NEG_V8HI negv8hi2 {}
422
423 void __builtin_altivec_stvebx (vsc, signed long, void *);
424 STVEBX altivec_stvebx {stvec}
425
426 void __builtin_altivec_stvehx (vss, signed long, void *);
427 STVEHX altivec_stvehx {stvec}
428
429 void __builtin_altivec_stvewx (vsi, signed long, void *);
430 STVEWX altivec_stvewx {stvec}
431
432 void __builtin_altivec_stvx (vsi, signed long, void *);
433 STVX altivec_stvx_v4si {stvec}
434
435 void __builtin_altivec_stvx_v16qi (vsc, signed long, void *);
436 STVX_V16QI altivec_stvx_v16qi {stvec}
437
438 void __builtin_altivec_stvx_v4sf (vf, signed long, void *);
439 STVX_V4SF altivec_stvx_v4sf {stvec}
440
441 void __builtin_altivec_stvx_v4si (vsi, signed long, void *);
442 STVX_V4SI altivec_stvx_v4si {stvec}
443
444 void __builtin_altivec_stvx_v8hi (vss, signed long, void *);
445 STVX_V8HI altivec_stvx_v8hi {stvec}
446
447 void __builtin_altivec_stvxl (vsi, signed long, void *);
448 STVXL altivec_stvxl_v4si {stvec}
449
450 void __builtin_altivec_stvxl_v16qi (vsc, signed long, void *);
451 STVXL_V16QI altivec_stvxl_v16qi {stvec}
452
453 void __builtin_altivec_stvxl_v4sf (vf, signed long, void *);
454 STVXL_V4SF altivec_stvxl_v4sf {stvec}
455
456 void __builtin_altivec_stvxl_v4si (vsi, signed long, void *);
457 STVXL_V4SI altivec_stvxl_v4si {stvec}
458
459 void __builtin_altivec_stvxl_v8hi (vss, signed long, void *);
460 STVXL_V8HI altivec_stvxl_v8hi {stvec}
461
462 fpmath vf __builtin_altivec_uns_float_sisf (vui);
463 UNSFLOAT_V4SI_V4SF floatunsv4siv4sf2 {}
464
465 const vui __builtin_altivec_vaddcuw (vui, vui);
466 VADDCUW altivec_vaddcuw {}
467
468 const vf __builtin_altivec_vaddfp (vf, vf);
469 VADDFP addv4sf3 {}
470
471 const vsc __builtin_altivec_vaddsbs (vsc, vsc);
472 VADDSBS altivec_vaddsbs {}
473
474 const vss __builtin_altivec_vaddshs (vss, vss);
475 VADDSHS altivec_vaddshs {}
476
477 const vsi __builtin_altivec_vaddsws (vsi, vsi);
478 VADDSWS altivec_vaddsws {}
479
480 const vuc __builtin_altivec_vaddubm (vuc, vuc);
481 VADDUBM addv16qi3 {}
482
483 const vuc __builtin_altivec_vaddubs (vuc, vuc);
484 VADDUBS altivec_vaddubs {}
485
486 const vus __builtin_altivec_vadduhm (vus, vus);
487 VADDUHM addv8hi3 {}
488
489 const vus __builtin_altivec_vadduhs (vus, vus);
490 VADDUHS altivec_vadduhs {}
491
492 const vsi __builtin_altivec_vadduwm (vsi, vsi);
493 VADDUWM addv4si3 {}
494
495 const vui __builtin_altivec_vadduws (vui, vui);
496 VADDUWS altivec_vadduws {}
497
498 const vsc __builtin_altivec_vand_v16qi (vsc, vsc);
499 VAND_V16QI andv16qi3 {}
500
501 const vuc __builtin_altivec_vand_v16qi_uns (vuc, vuc);
502 VAND_V16QI_UNS andv16qi3 {}
503
504 const vf __builtin_altivec_vand_v4sf (vf, vf);
505 VAND_V4SF andv4sf3 {}
506
507 const vsi __builtin_altivec_vand_v4si (vsi, vsi);
508 VAND_V4SI andv4si3 {}
509
510 const vui __builtin_altivec_vand_v4si_uns (vui, vui);
511 VAND_V4SI_UNS andv4si3 {}
512
513 const vss __builtin_altivec_vand_v8hi (vss, vss);
514 VAND_V8HI andv8hi3 {}
515
516 const vus __builtin_altivec_vand_v8hi_uns (vus, vus);
517 VAND_V8HI_UNS andv8hi3 {}
518
519 const vsc __builtin_altivec_vandc_v16qi (vsc, vsc);
520 VANDC_V16QI andnv16qi3 {}
521
522 const vuc __builtin_altivec_vandc_v16qi_uns (vuc, vuc);
523 VANDC_V16QI_UNS andnv16qi3 {}
524
525 const vf __builtin_altivec_vandc_v4sf (vf, vf);
526 VANDC_V4SF andnv4sf3 {}
527
528 const vsi __builtin_altivec_vandc_v4si (vsi, vsi);
529 VANDC_V4SI andnv4si3 {}
530
531 const vui __builtin_altivec_vandc_v4si_uns (vui, vui);
532 VANDC_V4SI_UNS andnv4si3 {}
533
534 const vss __builtin_altivec_vandc_v8hi (vss, vss);
535 VANDC_V8HI andnv8hi3 {}
536
537 const vus __builtin_altivec_vandc_v8hi_uns (vus, vus);
538 VANDC_V8HI_UNS andnv8hi3 {}
539
540 const vsc __builtin_altivec_vavgsb (vsc, vsc);
541 VAVGSB avgv16qi3_ceil {}
542
543 const vss __builtin_altivec_vavgsh (vss, vss);
544 VAVGSH avgv8hi3_ceil {}
545
546 const vsi __builtin_altivec_vavgsw (vsi, vsi);
547 VAVGSW avgv4si3_ceil {}
548
549 const vuc __builtin_altivec_vavgub (vuc, vuc);
550 VAVGUB uavgv16qi3_ceil {}
551
552 const vus __builtin_altivec_vavguh (vus, vus);
553 VAVGUH uavgv8hi3_ceil {}
554
555 const vui __builtin_altivec_vavguw (vui, vui);
556 VAVGUW uavgv4si3_ceil {}
557
558 const vf __builtin_altivec_vcfsx (vsi, const int<5>);
559 VCFSX altivec_vcfsx {}
560
561 const vf __builtin_altivec_vcfux (vui, const int<5>);
562 VCFUX altivec_vcfux {}
563
564 const vsi __builtin_altivec_vcmpbfp (vf, vf);
565 VCMPBFP altivec_vcmpbfp {}
566
567 const int __builtin_altivec_vcmpbfp_p (int, vf, vf);
568 VCMPBFP_P altivec_vcmpbfp_p {pred}
569
570 const vf __builtin_altivec_vcmpeqfp (vf, vf);
571 VCMPEQFP vector_eqv4sf {}
572
573 const int __builtin_altivec_vcmpeqfp_p (int, vf, vf);
574 VCMPEQFP_P vector_eq_v4sf_p {pred}
575
576 const vsc __builtin_altivec_vcmpequb (vuc, vuc);
577 VCMPEQUB vector_eqv16qi {}
578
579 const int __builtin_altivec_vcmpequb_p (int, vsc, vsc);
580 VCMPEQUB_P vector_eq_v16qi_p {pred}
581
582 const vss __builtin_altivec_vcmpequh (vus, vus);
583 VCMPEQUH vector_eqv8hi {}
584
585 const int __builtin_altivec_vcmpequh_p (int, vss, vss);
586 VCMPEQUH_P vector_eq_v8hi_p {pred}
587
588 const vsi __builtin_altivec_vcmpequw (vui, vui);
589 VCMPEQUW vector_eqv4si {}
590
591 const int __builtin_altivec_vcmpequw_p (int, vsi, vsi);
592 VCMPEQUW_P vector_eq_v4si_p {pred}
593
594 const vf __builtin_altivec_vcmpgefp (vf, vf);
595 VCMPGEFP vector_gev4sf {}
596
597 const int __builtin_altivec_vcmpgefp_p (int, vf, vf);
598 VCMPGEFP_P vector_ge_v4sf_p {pred}
599
600 const vf __builtin_altivec_vcmpgtfp (vf, vf);
601 VCMPGTFP vector_gtv4sf {}
602
603 const int __builtin_altivec_vcmpgtfp_p (int, vf, vf);
604 VCMPGTFP_P vector_gt_v4sf_p {pred}
605
606 const vsc __builtin_altivec_vcmpgtsb (vsc, vsc);
607 VCMPGTSB vector_gtv16qi {}
608
609 const int __builtin_altivec_vcmpgtsb_p (int, vsc, vsc);
610 VCMPGTSB_P vector_gt_v16qi_p {pred}
611
612 const vss __builtin_altivec_vcmpgtsh (vss, vss);
613 VCMPGTSH vector_gtv8hi {}
614
615 const int __builtin_altivec_vcmpgtsh_p (int, vss, vss);
616 VCMPGTSH_P vector_gt_v8hi_p {pred}
617
618 const vsi __builtin_altivec_vcmpgtsw (vsi, vsi);
619 VCMPGTSW vector_gtv4si {}
620
621 const int __builtin_altivec_vcmpgtsw_p (int, vsi, vsi);
622 VCMPGTSW_P vector_gt_v4si_p {pred}
623
624 const vsc __builtin_altivec_vcmpgtub (vuc, vuc);
625 VCMPGTUB vector_gtuv16qi {}
626
627 const int __builtin_altivec_vcmpgtub_p (int, vsc, vsc);
628 VCMPGTUB_P vector_gtu_v16qi_p {pred}
629
630 const vss __builtin_altivec_vcmpgtuh (vus, vus);
631 VCMPGTUH vector_gtuv8hi {}
632
633 const int __builtin_altivec_vcmpgtuh_p (int, vss, vss);
634 VCMPGTUH_P vector_gtu_v8hi_p {pred}
635
636 const vsi __builtin_altivec_vcmpgtuw (vui, vui);
637 VCMPGTUW vector_gtuv4si {}
638
639 const int __builtin_altivec_vcmpgtuw_p (int, vsi, vsi);
640 VCMPGTUW_P vector_gtu_v4si_p {pred}
641
642 const vsc __builtin_altivec_vcmpneb (vsc, vsc);
643 VCMPNEB altivec_vcmpne_v16qi {}
644
645 const vss __builtin_altivec_vcmpneh (vss, vss);
646 VCMPNEH altivec_vcmpne_v8hi {}
647
648 const vsi __builtin_altivec_vcmpnew (vsi, vsi);
649 VCMPNEW altivec_vcmpne_v4si {}
650
651 const vsi __builtin_altivec_vctsxs (vf, const int<5>);
652 VCTSXS altivec_vctsxs {}
653
654 const vui __builtin_altivec_vctuxs (vf, const int<5>);
655 VCTUXS altivec_vctuxs {}
656
657 fpmath vf __builtin_altivec_vexptefp (vf);
658 VEXPTEFP altivec_vexptefp {}
659
660 fpmath vf __builtin_altivec_vlogefp (vf);
661 VLOGEFP altivec_vlogefp {}
662
663 fpmath vf __builtin_altivec_vmaddfp (vf, vf, vf);
664 VMADDFP fmav4sf4 {}
665
666 const vf __builtin_altivec_vmaxfp (vf, vf);
667 VMAXFP smaxv4sf3 {}
668
669 const vsc __builtin_altivec_vmaxsb (vsc, vsc);
670 VMAXSB smaxv16qi3 {}
671
672 const vuc __builtin_altivec_vmaxub (vuc, vuc);
673 VMAXUB umaxv16qi3 {}
674
675 const vss __builtin_altivec_vmaxsh (vss, vss);
676 VMAXSH smaxv8hi3 {}
677
678 const vsi __builtin_altivec_vmaxsw (vsi, vsi);
679 VMAXSW smaxv4si3 {}
680
681 const vus __builtin_altivec_vmaxuh (vus, vus);
682 VMAXUH umaxv8hi3 {}
683
684 const vui __builtin_altivec_vmaxuw (vui, vui);
685 VMAXUW umaxv4si3 {}
686
687 vss __builtin_altivec_vmhaddshs (vss, vss, vss);
688 VMHADDSHS altivec_vmhaddshs {}
689
690 vss __builtin_altivec_vmhraddshs (vss, vss, vss);
691 VMHRADDSHS altivec_vmhraddshs {}
692
693 const vf __builtin_altivec_vminfp (vf, vf);
694 VMINFP sminv4sf3 {}
695
696 const vsc __builtin_altivec_vminsb (vsc, vsc);
697 VMINSB sminv16qi3 {}
698
699 const vss __builtin_altivec_vminsh (vss, vss);
700 VMINSH sminv8hi3 {}
701
702 const vsi __builtin_altivec_vminsw (vsi, vsi);
703 VMINSW sminv4si3 {}
704
705 const vuc __builtin_altivec_vminub (vuc, vuc);
706 VMINUB uminv16qi3 {}
707
708 const vus __builtin_altivec_vminuh (vus, vus);
709 VMINUH uminv8hi3 {}
710
711 const vui __builtin_altivec_vminuw (vui, vui);
712 VMINUW uminv4si3 {}
713
714 const vss __builtin_altivec_vmladduhm (vss, vss, vss);
715 VMLADDUHM fmav8hi4 {}
716
717 const vsc __builtin_altivec_vmrghb (vsc, vsc);
718 VMRGHB altivec_vmrghb {}
719
720 const vss __builtin_altivec_vmrghh (vss, vss);
721 VMRGHH altivec_vmrghh {}
722
723 const vsi __builtin_altivec_vmrghw (vsi, vsi);
724 VMRGHW altivec_vmrghw {}
725
726 const vsc __builtin_altivec_vmrglb (vsc, vsc);
727 VMRGLB altivec_vmrglb {}
728
729 const vss __builtin_altivec_vmrglh (vss, vss);
730 VMRGLH altivec_vmrglh {}
731
732 const vsi __builtin_altivec_vmrglw (vsi, vsi);
733 VMRGLW altivec_vmrglw {}
734
735 const vsi __builtin_altivec_vmsummbm (vsc, vuc, vsi);
736 VMSUMMBM altivec_vmsummbm {}
737
738 const vsi __builtin_altivec_vmsumshm (vss, vss, vsi);
739 VMSUMSHM altivec_vmsumshm {}
740
741 vsi __builtin_altivec_vmsumshs (vss, vss, vsi);
742 VMSUMSHS altivec_vmsumshs {}
743
744 const vui __builtin_altivec_vmsumubm (vuc, vuc, vui);
745 VMSUMUBM altivec_vmsumubm {}
746
747 const vui __builtin_altivec_vmsumuhm (vus, vus, vui);
748 VMSUMUHM altivec_vmsumuhm {}
749
750 vui __builtin_altivec_vmsumuhs (vus, vus, vui);
751 VMSUMUHS altivec_vmsumuhs {}
752
753 const vss __builtin_altivec_vmulesb (vsc, vsc);
754 VMULESB vec_widen_smult_even_v16qi {}
755
756 const vsi __builtin_altivec_vmulesh (vss, vss);
757 VMULESH vec_widen_smult_even_v8hi {}
758
759 const vus __builtin_altivec_vmuleub (vuc, vuc);
760 VMULEUB vec_widen_umult_even_v16qi {}
761
762 const vui __builtin_altivec_vmuleuh (vus, vus);
763 VMULEUH vec_widen_umult_even_v8hi {}
764
765 const vss __builtin_altivec_vmulosb (vsc, vsc);
766 VMULOSB vec_widen_smult_odd_v16qi {}
767
768 const vus __builtin_altivec_vmuloub (vuc, vuc);
769 VMULOUB vec_widen_umult_odd_v16qi {}
770
771 const vsi __builtin_altivec_vmulosh (vss, vss);
772 VMULOSH vec_widen_smult_odd_v8hi {}
773
774 const vui __builtin_altivec_vmulouh (vus, vus);
775 VMULOUH vec_widen_umult_odd_v8hi {}
776
777 fpmath vf __builtin_altivec_vnmsubfp (vf, vf, vf);
778 VNMSUBFP nfmsv4sf4 {}
779
780 const vsc __builtin_altivec_vnor_v16qi (vsc, vsc);
781 VNOR_V16QI norv16qi3 {}
782
783 const vuc __builtin_altivec_vnor_v16qi_uns (vuc, vuc);
784 VNOR_V16QI_UNS norv16qi3 {}
785
786 const vf __builtin_altivec_vnor_v4sf (vf, vf);
787 VNOR_V4SF norv4sf3 {}
788
789 const vsi __builtin_altivec_vnor_v4si (vsi, vsi);
790 VNOR_V4SI norv4si3 {}
791
792 const vui __builtin_altivec_vnor_v4si_uns (vui, vui);
793 VNOR_V4SI_UNS norv4si3 {}
794
795 const vss __builtin_altivec_vnor_v8hi (vss, vss);
796 VNOR_V8HI norv8hi3 {}
797
798 const vus __builtin_altivec_vnor_v8hi_uns (vus, vus);
799 VNOR_V8HI_UNS norv8hi3 {}
800
801 const vsc __builtin_altivec_vor_v16qi (vsc, vsc);
802 VOR_V16QI iorv16qi3 {}
803
804 const vuc __builtin_altivec_vor_v16qi_uns (vuc, vuc);
805 VOR_V16QI_UNS iorv16qi3 {}
806
807 const vf __builtin_altivec_vor_v4sf (vf, vf);
808 VOR_V4SF iorv4sf3 {}
809
810 const vsi __builtin_altivec_vor_v4si (vsi, vsi);
811 VOR_V4SI iorv4si3 {}
812
813 const vui __builtin_altivec_vor_v4si_uns (vui, vui);
814 VOR_V4SI_UNS iorv4si3 {}
815
816 const vss __builtin_altivec_vor_v8hi (vss, vss);
817 VOR_V8HI iorv8hi3 {}
818
819 const vus __builtin_altivec_vor_v8hi_uns (vus, vus);
820 VOR_V8HI_UNS iorv8hi3 {}
821
822 const vsc __builtin_altivec_vperm_16qi (vsc, vsc, vuc);
823 VPERM_16QI altivec_vperm_v16qi {}
824
825 const vuc __builtin_altivec_vperm_16qi_uns (vuc, vuc, vuc);
826 VPERM_16QI_UNS altivec_vperm_v16qi_uns {}
827
828 const vsq __builtin_altivec_vperm_1ti (vsq, vsq, vuc);
829 VPERM_1TI altivec_vperm_v1ti {}
830
831 const vuq __builtin_altivec_vperm_1ti_uns (vuq, vuq, vuc);
832 VPERM_1TI_UNS altivec_vperm_v1ti_uns {}
833
834 const vf __builtin_altivec_vperm_4sf (vf, vf, vuc);
835 VPERM_4SF altivec_vperm_v4sf {}
836
837 const vsi __builtin_altivec_vperm_4si (vsi, vsi, vuc);
838 VPERM_4SI altivec_vperm_v4si {}
839
840 const vui __builtin_altivec_vperm_4si_uns (vui, vui, vuc);
841 VPERM_4SI_UNS altivec_vperm_v4si_uns {}
842
843 const vss __builtin_altivec_vperm_8hi (vss, vss, vuc);
844 VPERM_8HI altivec_vperm_v8hi {}
845
846 const vus __builtin_altivec_vperm_8hi_uns (vus, vus, vuc);
847 VPERM_8HI_UNS altivec_vperm_v8hi_uns {}
848
849 const vp __builtin_altivec_vpkpx (vui, vui);
850 VPKPX altivec_vpkpx {}
851
852 const vsc __builtin_altivec_vpkshss (vss, vss);
853 VPKSHSS altivec_vpkshss {}
854
855 const vuc __builtin_altivec_vpkshus (vss, vss);
856 VPKSHUS altivec_vpkshus {}
857
858 const vss __builtin_altivec_vpkswss (vsi, vsi);
859 VPKSWSS altivec_vpkswss {}
860
861 const vus __builtin_altivec_vpkswus (vsi, vsi);
862 VPKSWUS altivec_vpkswus {}
863
864 const vsc __builtin_altivec_vpkuhum (vss, vss);
865 VPKUHUM altivec_vpkuhum {}
866
867 const vuc __builtin_altivec_vpkuhus (vus, vus);
868 VPKUHUS altivec_vpkuhus {}
869
870 const vss __builtin_altivec_vpkuwum (vsi, vsi);
871 VPKUWUM altivec_vpkuwum {}
872
873 const vus __builtin_altivec_vpkuwus (vui, vui);
874 VPKUWUS altivec_vpkuwus {}
875
876 const vf __builtin_altivec_vrecipdivfp (vf, vf);
877 VRECIPFP recipv4sf3 {}
878
879 fpmath vf __builtin_altivec_vrefp (vf);
880 VREFP rev4sf2 {}
881
882 const vsc __builtin_altivec_vreve_v16qi (vsc);
883 VREVE_V16QI altivec_vrevev16qi2 {}
884
885 const vf __builtin_altivec_vreve_v4sf (vf);
886 VREVE_V4SF altivec_vrevev4sf2 {}
887
888 const vsi __builtin_altivec_vreve_v4si (vsi);
889 VREVE_V4SI altivec_vrevev4si2 {}
890
891 const vss __builtin_altivec_vreve_v8hi (vss);
892 VREVE_V8HI altivec_vrevev8hi2 {}
893
894 fpmath vf __builtin_altivec_vrfim (vf);
895 VRFIM vector_floorv4sf2 {}
896
897 fpmath vf __builtin_altivec_vrfin (vf);
898 VRFIN altivec_vrfin {}
899
900 fpmath vf __builtin_altivec_vrfip (vf);
901 VRFIP vector_ceilv4sf2 {}
902
903 fpmath vf __builtin_altivec_vrfiz (vf);
904 VRFIZ vector_btruncv4sf2 {}
905
906 const vsc __builtin_altivec_vrlb (vsc, vsc);
907 VRLB vrotlv16qi3 {}
908
909 const vss __builtin_altivec_vrlh (vss, vss);
910 VRLH vrotlv8hi3 {}
911
912 const vsi __builtin_altivec_vrlw (vsi, vsi);
913 VRLW vrotlv4si3 {}
914
915 fpmath vf __builtin_altivec_vrsqrtefp (vf);
916 VRSQRTEFP rsqrtev4sf2 {}
917
918 fpmath vf __builtin_altivec_vrsqrtfp (vf);
919 VRSQRTFP rsqrtv4sf2 {}
920
921 const vsc __builtin_altivec_vsel_16qi (vsc, vsc, vuc);
922 VSEL_16QI vector_select_v16qi {}
923
924 const vuc __builtin_altivec_vsel_16qi_uns (vuc, vuc, vuc);
925 VSEL_16QI_UNS vector_select_v16qi_uns {}
926
927 const vsq __builtin_altivec_vsel_1ti (vsq, vsq, vuq);
928 VSEL_1TI vector_select_v1ti {}
929
930 const vuq __builtin_altivec_vsel_1ti_uns (vuq, vuq, vuq);
931 VSEL_1TI_UNS vector_select_v1ti_uns {}
932
933 const vf __builtin_altivec_vsel_4sf (vf, vf, vf);
934 VSEL_4SF vector_select_v4sf {}
935
936 const vsi __builtin_altivec_vsel_4si (vsi, vsi, vui);
937 VSEL_4SI vector_select_v4si {}
938
939 const vui __builtin_altivec_vsel_4si_uns (vui, vui, vui);
940 VSEL_4SI_UNS vector_select_v4si_uns {}
941
942 const vss __builtin_altivec_vsel_8hi (vss, vss, vus);
943 VSEL_8HI vector_select_v8hi {}
944
945 const vus __builtin_altivec_vsel_8hi_uns (vus, vus, vus);
946 VSEL_8HI_UNS vector_select_v8hi_uns {}
947
948 const vsi __builtin_altivec_vsl (vsi, vsi);
949 VSL altivec_vsl {}
950
951 const vsc __builtin_altivec_vslb (vsc, vuc);
952 VSLB vashlv16qi3 {}
953
954 const vsc __builtin_altivec_vsldoi_16qi (vsc, vsc, const int<4>);
955 VSLDOI_16QI altivec_vsldoi_v16qi {}
956
957 const vf __builtin_altivec_vsldoi_4sf (vf, vf, const int<4>);
958 VSLDOI_4SF altivec_vsldoi_v4sf {}
959
960 const vsi __builtin_altivec_vsldoi_4si (vsi, vsi, const int<4>);
961 VSLDOI_4SI altivec_vsldoi_v4si {}
962
963 const vss __builtin_altivec_vsldoi_8hi (vss, vss, const int<4>);
964 VSLDOI_8HI altivec_vsldoi_v8hi {}
965
966 const vsq __builtin_altivec_vsldoi_v1ti (vsq, vsq, const int<4>);
967 VSLDOI_1TI altivec_vsldoi_v1ti {}
968
969 const vss __builtin_altivec_vslh (vss, vus);
970 VSLH vashlv8hi3 {}
971
972 const vsi __builtin_altivec_vslo (vsi, vsi);
973 VSLO altivec_vslo {}
974
975 const vsi __builtin_altivec_vslw (vsi, vui);
976 VSLW vashlv4si3 {}
977
978 const vsc __builtin_altivec_vspltb (vsc, const int<4>);
979 VSPLTB altivec_vspltb {}
980
981 const vss __builtin_altivec_vsplth (vss, const int<3>);
982 VSPLTH altivec_vsplth {}
983
984 const vsc __builtin_altivec_vspltisb (const int<-16,15>);
985 VSPLTISB altivec_vspltisb {}
986
987 const vss __builtin_altivec_vspltish (const int<-16,15>);
988 VSPLTISH altivec_vspltish {}
989
990 const vsi __builtin_altivec_vspltisw (const int<-16,15>);
991 VSPLTISW altivec_vspltisw {}
992
993 const vsi __builtin_altivec_vspltw (vsi, const int<2>);
994 VSPLTW altivec_vspltw {}
995
996 const vsi __builtin_altivec_vsr (vsi, vsi);
997 VSR altivec_vsr {}
998
999 const vsc __builtin_altivec_vsrab (vsc, vuc);
1000 VSRAB vashrv16qi3 {}
1001
1002 const vss __builtin_altivec_vsrah (vss, vus);
1003 VSRAH vashrv8hi3 {}
1004
1005 const vsi __builtin_altivec_vsraw (vsi, vui);
1006 VSRAW vashrv4si3 {}
1007
1008 const vsc __builtin_altivec_vsrb (vsc, vuc);
1009 VSRB vlshrv16qi3 {}
1010
1011 const vss __builtin_altivec_vsrh (vss, vus);
1012 VSRH vlshrv8hi3 {}
1013
1014 const vsi __builtin_altivec_vsro (vsi, vsi);
1015 VSRO altivec_vsro {}
1016
1017 const vsi __builtin_altivec_vsrw (vsi, vui);
1018 VSRW vlshrv4si3 {}
1019
1020 const vsi __builtin_altivec_vsubcuw (vsi, vsi);
1021 VSUBCUW altivec_vsubcuw {}
1022
1023 const vf __builtin_altivec_vsubfp (vf, vf);
1024 VSUBFP subv4sf3 {}
1025
1026 const vsc __builtin_altivec_vsubsbs (vsc, vsc);
1027 VSUBSBS altivec_vsubsbs {}
1028
1029 const vss __builtin_altivec_vsubshs (vss, vss);
1030 VSUBSHS altivec_vsubshs {}
1031
1032 const vsi __builtin_altivec_vsubsws (vsi, vsi);
1033 VSUBSWS altivec_vsubsws {}
1034
1035 const vuc __builtin_altivec_vsububm (vuc, vuc);
1036 VSUBUBM subv16qi3 {}
1037
1038 const vuc __builtin_altivec_vsububs (vuc, vuc);
1039 VSUBUBS altivec_vsububs {}
1040
1041 const vus __builtin_altivec_vsubuhm (vus, vus);
1042 VSUBUHM subv8hi3 {}
1043
1044 const vus __builtin_altivec_vsubuhs (vus, vus);
1045 VSUBUHS altivec_vsubuhs {}
1046
1047 const vui __builtin_altivec_vsubuwm (vui, vui);
1048 VSUBUWM subv4si3 {}
1049
1050 const vui __builtin_altivec_vsubuws (vui, vui);
1051 VSUBUWS altivec_vsubuws {}
1052
1053 const vsi __builtin_altivec_vsum2sws (vsi, vsi);
1054 VSUM2SWS altivec_vsum2sws {}
1055
1056 const vsi __builtin_altivec_vsum4sbs (vsc, vsi);
1057 VSUM4SBS altivec_vsum4sbs {}
1058
1059 const vsi __builtin_altivec_vsum4shs (vss, vsi);
1060 VSUM4SHS altivec_vsum4shs {}
1061
1062 const vui __builtin_altivec_vsum4ubs (vuc, vui);
1063 VSUM4UBS altivec_vsum4ubs {}
1064
1065 const vsi __builtin_altivec_vsumsws (vsi, vsi);
1066 VSUMSWS altivec_vsumsws {}
1067
1068 const vsi __builtin_altivec_vsumsws_be (vsi, vsi);
1069 VSUMSWS_BE altivec_vsumsws_direct {}
1070
1071 const vui __builtin_altivec_vupkhpx (vp);
1072 VUPKHPX altivec_vupkhpx {}
1073
1074 const vss __builtin_altivec_vupkhsb (vsc);
1075 VUPKHSB altivec_vupkhsb {}
1076
1077 const vsi __builtin_altivec_vupkhsh (vss);
1078 VUPKHSH altivec_vupkhsh {}
1079
1080 const vui __builtin_altivec_vupklpx (vp);
1081 VUPKLPX altivec_vupklpx {}
1082
1083 const vss __builtin_altivec_vupklsb (vsc);
1084 VUPKLSB altivec_vupklsb {}
1085
1086 const vsi __builtin_altivec_vupklsh (vss);
1087 VUPKLSH altivec_vupklsh {}
1088
1089 const vsc __builtin_altivec_vxor_v16qi (vsc, vsc);
1090 VXOR_V16QI xorv16qi3 {}
1091
1092 const vuc __builtin_altivec_vxor_v16qi_uns (vuc, vuc);
1093 VXOR_V16QI_UNS xorv16qi3 {}
1094
1095 const vf __builtin_altivec_vxor_v4sf (vf, vf);
1096 VXOR_V4SF xorv4sf3 {}
1097
1098 const vsi __builtin_altivec_vxor_v4si (vsi, vsi);
1099 VXOR_V4SI xorv4si3 {}
1100
1101 const vui __builtin_altivec_vxor_v4si_uns (vui, vui);
1102 VXOR_V4SI_UNS xorv4si3 {}
1103
1104 const vss __builtin_altivec_vxor_v8hi (vss, vss);
1105 VXOR_V8HI xorv8hi3 {}
1106
1107 const vus __builtin_altivec_vxor_v8hi_uns (vus, vus);
1108 VXOR_V8HI_UNS xorv8hi3 {}
1109
1110 const signed char __builtin_vec_ext_v16qi (vsc, signed int);
1111 VEC_EXT_V16QI nothing {extract}
1112
1113 const float __builtin_vec_ext_v4sf (vf, signed int);
1114 VEC_EXT_V4SF nothing {extract}
1115
1116 const signed int __builtin_vec_ext_v4si (vsi, signed int);
1117 VEC_EXT_V4SI nothing {extract}
1118
1119 const signed short __builtin_vec_ext_v8hi (vss, signed int);
1120 VEC_EXT_V8HI nothing {extract}
1121
1122 ; Cell builtins.
1123 [cell]
1124 pure vsc __builtin_altivec_lvlx (signed long, const void *);
1125 LVLX altivec_lvlx {ldvec}
1126
1127 pure vsc __builtin_altivec_lvlxl (signed long, const void *);
1128 LVLXL altivec_lvlxl {ldvec}
1129
1130 pure vsc __builtin_altivec_lvrx (signed long, const void *);
1131 LVRX altivec_lvrx {ldvec}
1132
1133 pure vsc __builtin_altivec_lvrxl (signed long, const void *);
1134 LVRXL altivec_lvrxl {ldvec}
1135
1136 void __builtin_altivec_stvlx (vsc, signed long, void *);
1137 STVLX altivec_stvlx {stvec}
1138
1139 void __builtin_altivec_stvlxl (vsc, signed long, void *);
1140 STVLXL altivec_stvlxl {stvec}
1141
1142 void __builtin_altivec_stvrx (vsc, signed long, void *);
1143 STVRX altivec_stvrx {stvec}
1144
1145 void __builtin_altivec_stvrxl (vsc, signed long, void *);
1146 STVRXL altivec_stvrxl {stvec}
1147
1148
1149 ; VSX builtins.
1150 [vsx]
1151 pure vd __builtin_altivec_lvx_v2df (signed long, const void *);
1152 LVX_V2DF altivec_lvx_v2df {ldvec}
1153
1154 pure vsll __builtin_altivec_lvx_v2di (signed long, const void *);
1155 LVX_V2DI altivec_lvx_v2di {ldvec}
1156
1157 pure vd __builtin_altivec_lvxl_v2df (signed long, const void *);
1158 LVXL_V2DF altivec_lvxl_v2df {ldvec}
1159
1160 pure vsll __builtin_altivec_lvxl_v2di (signed long, const void *);
1161 LVXL_V2DI altivec_lvxl_v2di {ldvec}
1162
1163 const vd __builtin_altivec_nabs_v2df (vd);
1164 NABS_V2DF vsx_nabsv2df2 {}
1165
1166 const vsll __builtin_altivec_nabs_v2di (vsll);
1167 NABS_V2DI nabsv2di2 {}
1168
1169 const vd __builtin_altivec_neg_v2df (vd);
1170 NEG_V2DF negv2df2 {}
1171
1172 void __builtin_altivec_stvx_v2df (vd, signed long, void *);
1173 STVX_V2DF altivec_stvx_v2df {stvec}
1174
1175 void __builtin_altivec_stvx_v2di (vsll, signed long, void *);
1176 STVX_V2DI altivec_stvx_v2di {stvec}
1177
1178 void __builtin_altivec_stvxl_v2df (vd, signed long, void *);
1179 STVXL_V2DF altivec_stvxl_v2df {stvec}
1180
1181 void __builtin_altivec_stvxl_v2di (vsll, signed long, void *);
1182 STVXL_V2DI altivec_stvxl_v2di {stvec}
1183
1184 const vd __builtin_altivec_vand_v2df (vd, vd);
1185 VAND_V2DF andv2df3 {}
1186
1187 const vsll __builtin_altivec_vand_v2di (vsll, vsll);
1188 VAND_V2DI andv2di3 {}
1189
1190 const vull __builtin_altivec_vand_v2di_uns (vull, vull);
1191 VAND_V2DI_UNS andv2di3 {}
1192
1193 const vd __builtin_altivec_vandc_v2df (vd, vd);
1194 VANDC_V2DF andnv2df3 {}
1195
1196 const vsll __builtin_altivec_vandc_v2di (vsll, vsll);
1197 VANDC_V2DI andnv2di3 {}
1198
1199 const vull __builtin_altivec_vandc_v2di_uns (vull, vull);
1200 VANDC_V2DI_UNS andnv2di3 {}
1201
1202 const vd __builtin_altivec_vnor_v2df (vd, vd);
1203 VNOR_V2DF norv2df3 {}
1204
1205 const vsll __builtin_altivec_vnor_v2di (vsll, vsll);
1206 VNOR_V2DI norv2di3 {}
1207
1208 const vull __builtin_altivec_vnor_v2di_uns (vull, vull);
1209 VNOR_V2DI_UNS norv2di3 {}
1210
1211 const vd __builtin_altivec_vor_v2df (vd, vd);
1212 VOR_V2DF iorv2df3 {}
1213
1214 const vsll __builtin_altivec_vor_v2di (vsll, vsll);
1215 VOR_V2DI iorv2di3 {}
1216
1217 const vull __builtin_altivec_vor_v2di_uns (vull, vull);
1218 VOR_V2DI_UNS iorv2di3 {}
1219
1220 const vd __builtin_altivec_vperm_2df (vd, vd, vuc);
1221 VPERM_2DF altivec_vperm_v2df {}
1222
1223 const vsll __builtin_altivec_vperm_2di (vsll, vsll, vuc);
1224 VPERM_2DI altivec_vperm_v2di {}
1225
1226 const vull __builtin_altivec_vperm_2di_uns (vull, vull, vuc);
1227 VPERM_2DI_UNS altivec_vperm_v2di_uns {}
1228
1229 const vd __builtin_altivec_vreve_v2df (vd);
1230 VREVE_V2DF altivec_vrevev2df2 {}
1231
1232 const vsll __builtin_altivec_vreve_v2di (vsll);
1233 VREVE_V2DI altivec_vrevev2di2 {}
1234
1235 const vd __builtin_altivec_vsel_2df (vd, vd, vd);
1236 VSEL_2DF vector_select_v2df {}
1237
1238 const vsll __builtin_altivec_vsel_2di (vsll, vsll, vsll);
1239 VSEL_2DI_B vector_select_v2di {}
1240
1241 const vull __builtin_altivec_vsel_2di_uns (vull, vull, vull);
1242 VSEL_2DI_UNS vector_select_v2di_uns {}
1243
1244 const vd __builtin_altivec_vsldoi_2df (vd, vd, const int<4>);
1245 VSLDOI_2DF altivec_vsldoi_v2df {}
1246
1247 const vsll __builtin_altivec_vsldoi_2di (vsll, vsll, const int<4>);
1248 VSLDOI_2DI altivec_vsldoi_v2di {}
1249
1250 const vd __builtin_altivec_vxor_v2df (vd, vd);
1251 VXOR_V2DF xorv2df3 {}
1252
1253 const vsll __builtin_altivec_vxor_v2di (vsll, vsll);
1254 VXOR_V2DI xorv2di3 {}
1255
1256 const vull __builtin_altivec_vxor_v2di_uns (vull, vull);
1257 VXOR_V2DI_UNS xorv2di3 {}
1258
1259 const signed __int128 __builtin_vec_ext_v1ti (vsq, signed int);
1260 VEC_EXT_V1TI nothing {extract}
1261
1262 const double __builtin_vec_ext_v2df (vd, signed int);
1263 VEC_EXT_V2DF nothing {extract}
1264
1265 const signed long long __builtin_vec_ext_v2di (vsll, signed int);
1266 VEC_EXT_V2DI nothing {extract}
1267
1268 const vsc __builtin_vsx_cmpge_16qi (vsc, vsc);
1269 CMPGE_16QI vector_nltv16qi {}
1270
1271 const vsll __builtin_vsx_cmpge_2di (vsll, vsll);
1272 CMPGE_2DI vector_nltv2di {}
1273
1274 const vsi __builtin_vsx_cmpge_4si (vsi, vsi);
1275 CMPGE_4SI vector_nltv4si {}
1276
1277 const vss __builtin_vsx_cmpge_8hi (vss, vss);
1278 CMPGE_8HI vector_nltv8hi {}
1279
1280 const vsc __builtin_vsx_cmpge_u16qi (vuc, vuc);
1281 CMPGE_U16QI vector_nltuv16qi {}
1282
1283 const vsll __builtin_vsx_cmpge_u2di (vull, vull);
1284 CMPGE_U2DI vector_nltuv2di {}
1285
1286 const vsi __builtin_vsx_cmpge_u4si (vui, vui);
1287 CMPGE_U4SI vector_nltuv4si {}
1288
1289 const vss __builtin_vsx_cmpge_u8hi (vus, vus);
1290 CMPGE_U8HI vector_nltuv8hi {}
1291
1292 const vd __builtin_vsx_concat_2df (double, double);
1293 CONCAT_2DF vsx_concat_v2df {}
1294
1295 const vsll __builtin_vsx_concat_2di (signed long long, signed long long);
1296 CONCAT_2DI vsx_concat_v2di {}
1297
1298 const vd __builtin_vsx_cpsgndp (vd, vd);
1299 CPSGNDP vector_copysignv2df3 {}
1300
1301 const vf __builtin_vsx_cpsgnsp (vf, vf);
1302 CPSGNSP vector_copysignv4sf3 {}
1303
1304 const vsll __builtin_vsx_div_2di (vsll, vsll);
1305 DIV_V2DI vsx_div_v2di {}
1306
1307 const vd __builtin_vsx_doublee_v4sf (vf);
1308 DOUBLEE_V4SF doubleev4sf2 {}
1309
1310 const vd __builtin_vsx_doublee_v4si (vsi);
1311 DOUBLEE_V4SI doubleev4si2 {}
1312
1313 const vd __builtin_vsx_doubleh_v4sf (vf);
1314 DOUBLEH_V4SF doublehv4sf2 {}
1315
1316 const vd __builtin_vsx_doubleh_v4si (vsi);
1317 DOUBLEH_V4SI doublehv4si2 {}
1318
1319 const vd __builtin_vsx_doublel_v4sf (vf);
1320 DOUBLEL_V4SF doublelv4sf2 {}
1321
1322 const vd __builtin_vsx_doublel_v4si (vsi);
1323 DOUBLEL_V4SI doublelv4si2 {}
1324
1325 const vd __builtin_vsx_doubleo_v4sf (vf);
1326 DOUBLEO_V4SF doubleov4sf2 {}
1327
1328 const vd __builtin_vsx_doubleo_v4si (vsi);
1329 DOUBLEO_V4SI doubleov4si2 {}
1330
1331 const vf __builtin_vsx_floate_v2df (vd);
1332 FLOATE_V2DF floatev2df {}
1333
1334 const vf __builtin_vsx_floate_v2di (vsll);
1335 FLOATE_V2DI floatev2di {}
1336
1337 const vf __builtin_vsx_floato_v2df (vd);
1338 FLOATO_V2DF floatov2df {}
1339
1340 const vf __builtin_vsx_floato_v2di (vsll);
1341 FLOATO_V2DI floatov2di {}
1342
1343 pure vsq __builtin_vsx_ld_elemrev_v1ti (signed long, const void *);
1344 LD_ELEMREV_V1TI vsx_ld_elemrev_v1ti {ldvec,endian}
1345
1346 pure vd __builtin_vsx_ld_elemrev_v2df (signed long, const void *);
1347 LD_ELEMREV_V2DF vsx_ld_elemrev_v2df {ldvec,endian}
1348
1349 pure vsll __builtin_vsx_ld_elemrev_v2di (signed long, const void *);
1350 LD_ELEMREV_V2DI vsx_ld_elemrev_v2di {ldvec,endian}
1351
1352 pure vf __builtin_vsx_ld_elemrev_v4sf (signed long, const void *);
1353 LD_ELEMREV_V4SF vsx_ld_elemrev_v4sf {ldvec,endian}
1354
1355 pure vsi __builtin_vsx_ld_elemrev_v4si (signed long, const void *);
1356 LD_ELEMREV_V4SI vsx_ld_elemrev_v4si {ldvec,endian}
1357
1358 pure vss __builtin_vsx_ld_elemrev_v8hi (signed long, const void *);
1359 LD_ELEMREV_V8HI vsx_ld_elemrev_v8hi {ldvec,endian}
1360
1361 pure vsc __builtin_vsx_ld_elemrev_v16qi (signed long, const void *);
1362 LD_ELEMREV_V16QI vsx_ld_elemrev_v16qi {ldvec,endian}
1363
1364 ; TODO: There was apparent intent in the rs6000-builtin.def to
1365 ; have SPECIAL processing for LXSDX, LXVDSX, and STXSDX, but there are
1366 ; no def_builtin calls for any of them. That file was removed as part
1367 ; of the BIF rewrite, but at some point, we may want to add a
1368 ; set of built-ins for whichever vector types make sense for these.
1369
1370 pure vsq __builtin_vsx_lxvd2x_v1ti (signed long, const void *);
1371 LXVD2X_V1TI vsx_load_v1ti {ldvec}
1372
1373 pure vd __builtin_vsx_lxvd2x_v2df (signed long, const void *);
1374 LXVD2X_V2DF vsx_load_v2df {ldvec}
1375
1376 pure vsll __builtin_vsx_lxvd2x_v2di (signed long, const void *);
1377 LXVD2X_V2DI vsx_load_v2di {ldvec}
1378
1379 pure vsc __builtin_vsx_lxvw4x_v16qi (signed long, const void *);
1380 LXVW4X_V16QI vsx_load_v16qi {ldvec}
1381
1382 pure vf __builtin_vsx_lxvw4x_v4sf (signed long, const void *);
1383 LXVW4X_V4SF vsx_load_v4sf {ldvec}
1384
1385 pure vsi __builtin_vsx_lxvw4x_v4si (signed long, const void *);
1386 LXVW4X_V4SI vsx_load_v4si {ldvec}
1387
1388 pure vss __builtin_vsx_lxvw4x_v8hi (signed long, const void *);
1389 LXVW4X_V8HI vsx_load_v8hi {ldvec}
1390
1391 const vd __builtin_vsx_mergeh_2df (vd, vd);
1392 VEC_MERGEH_V2DF vsx_mergeh_v2df {}
1393
1394 const vsll __builtin_vsx_mergeh_2di (vsll, vsll);
1395 VEC_MERGEH_V2DI vsx_mergeh_v2di {}
1396
1397 const vd __builtin_vsx_mergel_2df (vd, vd);
1398 VEC_MERGEL_V2DF vsx_mergel_v2df {}
1399
1400 const vsll __builtin_vsx_mergel_2di (vsll, vsll);
1401 VEC_MERGEL_V2DI vsx_mergel_v2di {}
1402
1403 const vsll __builtin_vsx_mul_2di (vsll, vsll);
1404 MUL_V2DI vsx_mul_v2di {}
1405
1406 const vd __builtin_vsx_splat_2df (double);
1407 SPLAT_2DF vsx_splat_v2df {}
1408
1409 const vsll __builtin_vsx_splat_2di (signed long long);
1410 SPLAT_2DI vsx_splat_v2di {}
1411
1412 void __builtin_vsx_st_elemrev_v1ti (vsq, signed long, void *);
1413 ST_ELEMREV_V1TI vsx_st_elemrev_v1ti {stvec,endian}
1414
1415 void __builtin_vsx_st_elemrev_v2df (vd, signed long, void *);
1416 ST_ELEMREV_V2DF vsx_st_elemrev_v2df {stvec,endian}
1417
1418 void __builtin_vsx_st_elemrev_v2di (vsll, signed long, void *);
1419 ST_ELEMREV_V2DI vsx_st_elemrev_v2di {stvec,endian}
1420
1421 void __builtin_vsx_st_elemrev_v4sf (vf, signed long, void *);
1422 ST_ELEMREV_V4SF vsx_st_elemrev_v4sf {stvec,endian}
1423
1424 void __builtin_vsx_st_elemrev_v4si (vsi, signed long, void *);
1425 ST_ELEMREV_V4SI vsx_st_elemrev_v4si {stvec,endian}
1426
1427 void __builtin_vsx_st_elemrev_v8hi (vss, signed long, void *);
1428 ST_ELEMREV_V8HI vsx_st_elemrev_v8hi {stvec,endian}
1429
1430 void __builtin_vsx_st_elemrev_v16qi (vsc, signed long, void *);
1431 ST_ELEMREV_V16QI vsx_st_elemrev_v16qi {stvec,endian}
1432
1433 void __builtin_vsx_stxvd2x_v1ti (vsq, signed long, void *);
1434 STXVD2X_V1TI vsx_store_v1ti {stvec}
1435
1436 void __builtin_vsx_stxvd2x_v2df (vd, signed long, void *);
1437 STXVD2X_V2DF vsx_store_v2df {stvec}
1438
1439 void __builtin_vsx_stxvd2x_v2di (vsll, signed long, void *);
1440 STXVD2X_V2DI vsx_store_v2di {stvec}
1441
1442 void __builtin_vsx_stxvw4x_v4sf (vf, signed long, void *);
1443 STXVW4X_V4SF vsx_store_v4sf {stvec}
1444
1445 void __builtin_vsx_stxvw4x_v4si (vsi, signed long, void *);
1446 STXVW4X_V4SI vsx_store_v4si {stvec}
1447
1448 void __builtin_vsx_stxvw4x_v8hi (vss, signed long, void *);
1449 STXVW4X_V8HI vsx_store_v8hi {stvec}
1450
1451 void __builtin_vsx_stxvw4x_v16qi (vsc, signed long, void *);
1452 STXVW4X_V16QI vsx_store_v16qi {stvec}
1453
1454 const vull __builtin_vsx_udiv_2di (vull, vull);
1455 UDIV_V2DI vsx_udiv_v2di {}
1456
1457 const vd __builtin_vsx_uns_doublee_v4si (vsi);
1458 UNS_DOUBLEE_V4SI unsdoubleev4si2 {}
1459
1460 const vd __builtin_vsx_uns_doubleh_v4si (vsi);
1461 UNS_DOUBLEH_V4SI unsdoublehv4si2 {}
1462
1463 const vd __builtin_vsx_uns_doublel_v4si (vsi);
1464 UNS_DOUBLEL_V4SI unsdoublelv4si2 {}
1465
1466 const vd __builtin_vsx_uns_doubleo_v4si (vsi);
1467 UNS_DOUBLEO_V4SI unsdoubleov4si2 {}
1468
1469 const vf __builtin_vsx_uns_floate_v2di (vsll);
1470 UNS_FLOATE_V2DI unsfloatev2di {}
1471
1472 const vf __builtin_vsx_uns_floato_v2di (vsll);
1473 UNS_FLOATO_V2DI unsfloatov2di {}
1474
1475 const vsll __builtin_vsx_vsigned_v2df (vd);
1476 VEC_VSIGNED_V2DF vsx_xvcvdpsxds {}
1477
1478 const vsi __builtin_vsx_vsigned_v4sf (vf);
1479 VEC_VSIGNED_V4SF vsx_xvcvspsxws {}
1480
1481 const vsi __builtin_vsx_vsignede_v2df (vd);
1482 VEC_VSIGNEDE_V2DF vsignede_v2df {}
1483
1484 const vsi __builtin_vsx_vsignedo_v2df (vd);
1485 VEC_VSIGNEDO_V2DF vsignedo_v2df {}
1486
1487 const vull __builtin_vsx_vunsigned_v2df (vd);
1488 VEC_VUNSIGNED_V2DF vsx_xvcvdpuxds {}
1489
1490 const vui __builtin_vsx_vunsigned_v4sf (vf);
1491 VEC_VUNSIGNED_V4SF vsx_xvcvspuxws {}
1492
1493 const vui __builtin_vsx_vunsignede_v2df (vd);
1494 VEC_VUNSIGNEDE_V2DF vunsignede_v2df {}
1495
1496 const vui __builtin_vsx_vunsignedo_v2df (vd);
1497 VEC_VUNSIGNEDO_V2DF vunsignedo_v2df {}
1498
1499 const vf __builtin_vsx_xscvdpsp (double);
1500 XSCVDPSP vsx_xscvdpsp {}
1501
1502 const double __builtin_vsx_xscvspdp (vf);
1503 XSCVSPDP vsx_xscvspdp {}
1504
1505 const double __builtin_vsx_xsmaxdp (double, double);
1506 XSMAXDP fmaxdf3 {}
1507
1508 const double __builtin_vsx_xsmindp (double, double);
1509 XSMINDP fmindf3 {}
1510
1511 const double __builtin_vsx_xsrdpi (double);
1512 XSRDPI vsx_xsrdpi {}
1513
1514 const double __builtin_vsx_xsrdpic (double);
1515 XSRDPIC vsx_xsrdpic {}
1516
1517 const double __builtin_vsx_xsrdpim (double);
1518 XSRDPIM floordf2 {}
1519
1520 const double __builtin_vsx_xsrdpip (double);
1521 XSRDPIP ceildf2 {}
1522
1523 const double __builtin_vsx_xsrdpiz (double);
1524 XSRDPIZ btruncdf2 {}
1525
1526 const signed int __builtin_vsx_xstdivdp_fe (double, double);
1527 XSTDIVDP_FE vsx_tdivdf3_fe {}
1528
1529 const signed int __builtin_vsx_xstdivdp_fg (double, double);
1530 XSTDIVDP_FG vsx_tdivdf3_fg {}
1531
1532 const signed int __builtin_vsx_xstsqrtdp_fe (double);
1533 XSTSQRTDP_FE vsx_tsqrtdf2_fe {}
1534
1535 const signed int __builtin_vsx_xstsqrtdp_fg (double);
1536 XSTSQRTDP_FG vsx_tsqrtdf2_fg {}
1537
1538 const vd __builtin_vsx_xvabsdp (vd);
1539 XVABSDP absv2df2 {}
1540
1541 const vf __builtin_vsx_xvabssp (vf);
1542 XVABSSP absv4sf2 {}
1543
1544 fpmath vd __builtin_vsx_xvadddp (vd, vd);
1545 XVADDDP addv2df3 {}
1546
1547 fpmath vf __builtin_vsx_xvaddsp (vf, vf);
1548 XVADDSP addv4sf3 {}
1549
1550 const vd __builtin_vsx_xvcmpeqdp (vd, vd);
1551 XVCMPEQDP vector_eqv2df {}
1552
1553 const signed int __builtin_vsx_xvcmpeqdp_p (signed int, vd, vd);
1554 XVCMPEQDP_P vector_eq_v2df_p {pred}
1555
1556 const vd __builtin_vsx_xvcmpgedp (vd, vd);
1557 XVCMPGEDP vector_gev2df {}
1558
1559 const signed int __builtin_vsx_xvcmpgedp_p (signed int, vd, vd);
1560 XVCMPGEDP_P vector_ge_v2df_p {pred}
1561
1562 const signed int __builtin_vsx_xvcmpgesp_p (signed int, vf, vf);
1563 XVCMPGESP_P vector_ge_v4sf_p {pred}
1564
1565 const vd __builtin_vsx_xvcmpgtdp (vd, vd);
1566 XVCMPGTDP vector_gtv2df {}
1567
1568 const signed int __builtin_vsx_xvcmpgtdp_p (signed int, vd, vd);
1569 XVCMPGTDP_P vector_gt_v2df_p {pred}
1570
1571 const signed int __builtin_vsx_xvcmpgtsp_p (signed int, vf, vf);
1572 XVCMPGTSP_P vector_gt_v4sf_p {pred}
1573
1574 const vsll __builtin_vsx_xvcvdpsxds (vd);
1575 XVCVDPSXDS vsx_fix_truncv2dfv2di2 {}
1576
1577 const vsll __builtin_vsx_xvcvdpsxds_scale (vd, const int);
1578 XVCVDPSXDS_SCALE vsx_xvcvdpsxds_scale {}
1579
1580 const vsll __builtin_vsx_xvcvdpuxds (vd);
1581 XVCVDPUXDS vsx_fixuns_truncv2dfv2di2 {}
1582
1583 const vsll __builtin_vsx_xvcvdpuxds_scale (vd, const int);
1584 XVCVDPUXDS_SCALE vsx_xvcvdpuxds_scale {}
1585
1586 const vsll __builtin_vsignede_v4sf (vf);
1587 VEC_VSIGNEDE_V4SF vsignede_v4sf {}
1588
1589 const vsll __builtin_vsignedo_v4sf (vf);
1590 VEC_VSIGNEDO_V4SF vsignedo_v4sf {}
1591
1592 const vull __builtin_vunsignede_v4sf (vf);
1593 VEC_VUNSIGNEDE_V4SF vunsignede_v4sf {}
1594
1595 const vull __builtin_vunsignedo_v4sf (vf);
1596 VEC_VUNSIGNEDO_V4SF vunsignedo_v4sf {}
1597
1598 const vd __builtin_vsx_xvcvsxddp (vsll);
1599 XVCVSXDDP vsx_floatv2div2df2 {}
1600
1601 const vd __builtin_vsx_xvcvsxddp_scale (vsll, const int<5>);
1602 XVCVSXDDP_SCALE vsx_xvcvsxddp_scale {}
1603
1604 const vf __builtin_vsx_xvcvsxdsp (vsll);
1605 XVCVSXDSP vsx_xvcvsxdsp {}
1606
1607 const vf __builtin_vsx_xvcvsxwsp (vsi);
1608 XVCVSXWSP vsx_floatv4siv4sf2 {}
1609
1610 const vd __builtin_vsx_xvcvuxddp (vsll);
1611 XVCVUXDDP vsx_floatunsv2div2df2 {}
1612
1613 const vd __builtin_vsx_xvcvuxddp_scale (vsll, const int<5>);
1614 XVCVUXDDP_SCALE vsx_xvcvuxddp_scale {}
1615
1616 const vf __builtin_vsx_xvcvuxdsp (vull);
1617 XVCVUXDSP vsx_xvcvuxdsp {}
1618
1619 const vf __builtin_vsx_xvcvuxwsp (vsi);
1620 XVCVUXWSP vsx_floatunsv4siv4sf2 {}
1621
1622 fpmath vd __builtin_vsx_xvdivdp (vd, vd);
1623 XVDIVDP divv2df3 {}
1624
1625 fpmath vf __builtin_vsx_xvdivsp (vf, vf);
1626 XVDIVSP divv4sf3 {}
1627
1628 const vd __builtin_vsx_xvmadddp (vd, vd, vd);
1629 XVMADDDP fmav2df4 {}
1630
1631 const vf __builtin_vsx_xvmaddsp (vf, vf, vf);
1632 XVMADDSP fmav4sf4 {}
1633
1634 const vd __builtin_vsx_xvmaxdp (vd, vd);
1635 XVMAXDP smaxv2df3 {}
1636
1637 const vf __builtin_vsx_xvmaxsp (vf, vf);
1638 XVMAXSP smaxv4sf3 {}
1639
1640 const vd __builtin_vsx_xvmindp (vd, vd);
1641 XVMINDP sminv2df3 {}
1642
1643 const vf __builtin_vsx_xvminsp (vf, vf);
1644 XVMINSP sminv4sf3 {}
1645
1646 const vd __builtin_vsx_xvmsubdp (vd, vd, vd);
1647 XVMSUBDP fmsv2df4 {}
1648
1649 const vf __builtin_vsx_xvmsubsp (vf, vf, vf);
1650 XVMSUBSP fmsv4sf4 {}
1651
1652 fpmath vd __builtin_vsx_xvmuldp (vd, vd);
1653 XVMULDP mulv2df3 {}
1654
1655 fpmath vf __builtin_vsx_xvmulsp (vf, vf);
1656 XVMULSP mulv4sf3 {}
1657
1658 const vd __builtin_vsx_xvnabsdp (vd);
1659 XVNABSDP vsx_nabsv2df2 {}
1660
1661 const vf __builtin_vsx_xvnabssp (vf);
1662 XVNABSSP vsx_nabsv4sf2 {}
1663
1664 const vd __builtin_vsx_xvnmadddp (vd, vd, vd);
1665 XVNMADDDP nfmav2df4 {}
1666
1667 const vf __builtin_vsx_xvnmaddsp (vf, vf, vf);
1668 XVNMADDSP nfmav4sf4 {}
1669
1670 const vd __builtin_vsx_xvnmsubdp (vd, vd, vd);
1671 XVNMSUBDP nfmsv2df4 {}
1672
1673 const vf __builtin_vsx_xvnmsubsp (vf, vf, vf);
1674 XVNMSUBSP nfmsv4sf4 {}
1675
1676 const vd __builtin_vsx_xvrdpi (vd);
1677 XVRDPI vsx_xvrdpi {}
1678
1679 const vd __builtin_vsx_xvrdpic (vd);
1680 XVRDPIC vsx_xvrdpic {}
1681
1682 const vd __builtin_vsx_xvrdpim (vd);
1683 XVRDPIM vsx_floorv2df2 {}
1684
1685 const vd __builtin_vsx_xvrdpip (vd);
1686 XVRDPIP vsx_ceilv2df2 {}
1687
1688 const vd __builtin_vsx_xvrdpiz (vd);
1689 XVRDPIZ vsx_btruncv2df2 {}
1690
1691 fpmath vd __builtin_vsx_xvrecipdivdp (vd, vd);
1692 RECIP_V2DF recipv2df3 {}
1693
1694 fpmath vf __builtin_vsx_xvrecipdivsp (vf, vf);
1695 RECIP_V4SF recipv4sf3 {}
1696
1697 const vd __builtin_vsx_xvredp (vd);
1698 XVREDP vsx_frev2df2 {}
1699
1700 const vf __builtin_vsx_xvresp (vf);
1701 XVRESP vsx_frev4sf2 {}
1702
1703 const vf __builtin_vsx_xvrspi (vf);
1704 XVRSPI vsx_xvrspi {}
1705
1706 const vf __builtin_vsx_xvrspic (vf);
1707 XVRSPIC vsx_xvrspic {}
1708
1709 const vf __builtin_vsx_xvrspim (vf);
1710 XVRSPIM vsx_floorv4sf2 {}
1711
1712 const vf __builtin_vsx_xvrspip (vf);
1713 XVRSPIP vsx_ceilv4sf2 {}
1714
1715 const vf __builtin_vsx_xvrspiz (vf);
1716 XVRSPIZ vsx_btruncv4sf2 {}
1717
1718 const vd __builtin_vsx_xvrsqrtdp (vd);
1719 RSQRT_2DF rsqrtv2df2 {}
1720
1721 const vf __builtin_vsx_xvrsqrtsp (vf);
1722 RSQRT_4SF rsqrtv4sf2 {}
1723
1724 const vd __builtin_vsx_xvrsqrtedp (vd);
1725 XVRSQRTEDP rsqrtev2df2 {}
1726
1727 const vf __builtin_vsx_xvrsqrtesp (vf);
1728 XVRSQRTESP rsqrtev4sf2 {}
1729
1730 const vd __builtin_vsx_xvsqrtdp (vd);
1731 XVSQRTDP sqrtv2df2 {}
1732
1733 const vf __builtin_vsx_xvsqrtsp (vf);
1734 XVSQRTSP sqrtv4sf2 {}
1735
1736 fpmath vd __builtin_vsx_xvsubdp (vd, vd);
1737 XVSUBDP subv2df3 {}
1738
1739 fpmath vf __builtin_vsx_xvsubsp (vf, vf);
1740 XVSUBSP subv4sf3 {}
1741
1742 const signed int __builtin_vsx_xvtdivdp_fe (vd, vd);
1743 XVTDIVDP_FE vsx_tdivv2df3_fe {}
1744
1745 const signed int __builtin_vsx_xvtdivdp_fg (vd, vd);
1746 XVTDIVDP_FG vsx_tdivv2df3_fg {}
1747
1748 const signed int __builtin_vsx_xvtdivsp_fe (vf, vf);
1749 XVTDIVSP_FE vsx_tdivv4sf3_fe {}
1750
1751 const signed int __builtin_vsx_xvtdivsp_fg (vf, vf);
1752 XVTDIVSP_FG vsx_tdivv4sf3_fg {}
1753
1754 const signed int __builtin_vsx_xvtsqrtdp_fe (vd);
1755 XVTSQRTDP_FE vsx_tsqrtv2df2_fe {}
1756
1757 const signed int __builtin_vsx_xvtsqrtdp_fg (vd);
1758 XVTSQRTDP_FG vsx_tsqrtv2df2_fg {}
1759
1760 const signed int __builtin_vsx_xvtsqrtsp_fe (vf);
1761 XVTSQRTSP_FE vsx_tsqrtv4sf2_fe {}
1762
1763 const signed int __builtin_vsx_xvtsqrtsp_fg (vf);
1764 XVTSQRTSP_FG vsx_tsqrtv4sf2_fg {}
1765
1766 const vsc __builtin_vsx_xxpermdi_16qi (vsc, vsc, const int<2>);
1767 XXPERMDI_16QI vsx_xxpermdi_v16qi {}
1768
1769 const vsq __builtin_vsx_xxpermdi_1ti (vsq, vsq, const int<2>);
1770 XXPERMDI_1TI vsx_xxpermdi_v1ti {}
1771
1772 const vd __builtin_vsx_xxpermdi_2df (vd, vd, const int<2>);
1773 XXPERMDI_2DF vsx_xxpermdi_v2df {}
1774
1775 const vsll __builtin_vsx_xxpermdi_2di (vsll, vsll, const int<2>);
1776 XXPERMDI_2DI vsx_xxpermdi_v2di {}
1777
1778 const vf __builtin_vsx_xxpermdi_4sf (vf, vf, const int<2>);
1779 XXPERMDI_4SF vsx_xxpermdi_v4sf {}
1780
1781 const vsi __builtin_vsx_xxpermdi_4si (vsi, vsi, const int<2>);
1782 XXPERMDI_4SI vsx_xxpermdi_v4si {}
1783
1784 const vss __builtin_vsx_xxpermdi_8hi (vss, vss, const int<2>);
1785 XXPERMDI_8HI vsx_xxpermdi_v8hi {}
1786
1787 const vsc __builtin_vsx_xxsldwi_16qi (vsc, vsc, const int<2>);
1788 XXSLDWI_16QI vsx_xxsldwi_v16qi {}
1789
1790 const vd __builtin_vsx_xxsldwi_2df (vd, vd, const int<2>);
1791 XXSLDWI_2DF vsx_xxsldwi_v2df {}
1792
1793 const vsll __builtin_vsx_xxsldwi_2di (vsll, vsll, const int<2>);
1794 XXSLDWI_2DI vsx_xxsldwi_v2di {}
1795
1796 const vsq __builtin_vsx_xxsldwi_v1ti (vsq, vsq, const int<2>);
1797 XXSLDWI_1TI vsx_xxsldwi_v1ti {}
1798
1799 const vf __builtin_vsx_xxsldwi_4sf (vf, vf, const int<2>);
1800 XXSLDWI_4SF vsx_xxsldwi_v4sf {}
1801
1802 const vsi __builtin_vsx_xxsldwi_4si (vsi, vsi, const int<2>);
1803 XXSLDWI_4SI vsx_xxsldwi_v4si {}
1804
1805 const vss __builtin_vsx_xxsldwi_8hi (vss, vss, const int<2>);
1806 XXSLDWI_8HI vsx_xxsldwi_v8hi {}
1807
1808 const vd __builtin_vsx_xxspltd_2df (vd, const int<1>);
1809 XXSPLTD_V2DF vsx_xxspltd_v2df {}
1810
1811 const vsll __builtin_vsx_xxspltd_2di (vsll, const int<1>);
1812 XXSPLTD_V2DI vsx_xxspltd_v2di {}
1813
1814 const vsq __builtin_pack_vector_int128 (unsigned long long, \
1815 unsigned long long);
1816 PACK_V1TI packv1ti {}
1817
1818 const unsigned long __builtin_unpack_vector_int128 (vsq, const int<1>);
1819 UNPACK_V1TI unpackv1ti {}
1820
1821
1822 ; Power7 builtins (ISA 2.06).
1823 [power7]
1824 const unsigned int __builtin_addg6s (unsigned int, unsigned int);
1825 ADDG6S addg6s {}
1826
1827 const signed long __builtin_bpermd (signed long, signed long);
1828 BPERMD bpermd_di {32bit}
1829
1830 const unsigned int __builtin_cbcdtd (unsigned int);
1831 CBCDTD cbcdtd {}
1832
1833 const unsigned int __builtin_cdtbcd (unsigned int);
1834 CDTBCD cdtbcd {}
1835
1836 const signed int __builtin_divwe (signed int, signed int);
1837 DIVWE dive_si {}
1838
1839 const unsigned int __builtin_divweu (unsigned int, unsigned int);
1840 DIVWEU diveu_si {}
1841
1842 void __builtin_ppc_speculation_barrier ();
1843 SPECBARR speculation_barrier {}
1844
1845
1846 ; Power7 builtins requiring 64-bit GPRs (even with 32-bit addressing).
1847 [power7-64]
1848 const signed long long __builtin_divde (signed long long, signed long long);
1849 DIVDE dive_di {}
1850
1851 const unsigned long long __builtin_divdeu (unsigned long long, \
1852 unsigned long long);
1853 DIVDEU diveu_di {}
1854
1855
1856 ; Power8 vector built-ins.
1857 [power8-vector]
1858 const vsll __builtin_altivec_abs_v2di (vsll);
1859 ABS_V2DI absv2di2 {}
1860
1861 const vsc __builtin_altivec_bcddiv10_v16qi (vsc);
1862 BCDDIV10_V16QI bcddiv10_v16qi {}
1863
1864 const vsc __builtin_altivec_bcdmul10_v16qi (vsc);
1865 BCDMUL10_V16QI bcdmul10_v16qi {}
1866
1867 const vsc __builtin_altivec_eqv_v16qi (vsc, vsc);
1868 EQV_V16QI eqvv16qi3 {}
1869
1870 const vuc __builtin_altivec_eqv_v16qi_uns (vuc, vuc);
1871 EQV_V16QI_UNS eqvv16qi3 {}
1872
1873 const vsq __builtin_altivec_eqv_v1ti (vsq, vsq);
1874 EQV_V1TI eqvv1ti3 {}
1875
1876 const vuq __builtin_altivec_eqv_v1ti_uns (vuq, vuq);
1877 EQV_V1TI_UNS eqvv1ti3 {}
1878
1879 const vd __builtin_altivec_eqv_v2df (vd, vd);
1880 EQV_V2DF eqvv2df3 {}
1881
1882 const vsll __builtin_altivec_eqv_v2di (vsll, vsll);
1883 EQV_V2DI eqvv2di3 {}
1884
1885 const vull __builtin_altivec_eqv_v2di_uns (vull, vull);
1886 EQV_V2DI_UNS eqvv2di3 {}
1887
1888 const vf __builtin_altivec_eqv_v4sf (vf, vf);
1889 EQV_V4SF eqvv4sf3 {}
1890
1891 const vsi __builtin_altivec_eqv_v4si (vsi, vsi);
1892 EQV_V4SI eqvv4si3 {}
1893
1894 const vui __builtin_altivec_eqv_v4si_uns (vui, vui);
1895 EQV_V4SI_UNS eqvv4si3 {}
1896
1897 const vss __builtin_altivec_eqv_v8hi (vss, vss);
1898 EQV_V8HI eqvv8hi3 {}
1899
1900 const vus __builtin_altivec_eqv_v8hi_uns (vus, vus);
1901 EQV_V8HI_UNS eqvv8hi3 {}
1902
1903 const vsc __builtin_altivec_nand_v16qi (vsc, vsc);
1904 NAND_V16QI nandv16qi3 {}
1905
1906 const vuc __builtin_altivec_nand_v16qi_uns (vuc, vuc);
1907 NAND_V16QI_UNS nandv16qi3 {}
1908
1909 const vsq __builtin_altivec_nand_v1ti (vsq, vsq);
1910 NAND_V1TI nandv1ti3 {}
1911
1912 const vuq __builtin_altivec_nand_v1ti_uns (vuq, vuq);
1913 NAND_V1TI_UNS nandv1ti3 {}
1914
1915 const vd __builtin_altivec_nand_v2df (vd, vd);
1916 NAND_V2DF nandv2df3 {}
1917
1918 const vsll __builtin_altivec_nand_v2di (vsll, vsll);
1919 NAND_V2DI nandv2di3 {}
1920
1921 const vull __builtin_altivec_nand_v2di_uns (vull, vull);
1922 NAND_V2DI_UNS nandv2di3 {}
1923
1924 const vf __builtin_altivec_nand_v4sf (vf, vf);
1925 NAND_V4SF nandv4sf3 {}
1926
1927 const vsi __builtin_altivec_nand_v4si (vsi, vsi);
1928 NAND_V4SI nandv4si3 {}
1929
1930 const vui __builtin_altivec_nand_v4si_uns (vui, vui);
1931 NAND_V4SI_UNS nandv4si3 {}
1932
1933 const vss __builtin_altivec_nand_v8hi (vss, vss);
1934 NAND_V8HI nandv8hi3 {}
1935
1936 const vus __builtin_altivec_nand_v8hi_uns (vus, vus);
1937 NAND_V8HI_UNS nandv8hi3 {}
1938
1939 const vsll __builtin_altivec_neg_v2di (vsll);
1940 NEG_V2DI negv2di2 {}
1941
1942 const vsc __builtin_altivec_orc_v16qi (vsc, vsc);
1943 ORC_V16QI iornv16qi3 {}
1944
1945 const vuc __builtin_altivec_orc_v16qi_uns (vuc, vuc);
1946 ORC_V16QI_UNS iornv16qi3 {}
1947
1948 const vsq __builtin_altivec_orc_v1ti (vsq, vsq);
1949 ORC_V1TI iornv1ti3 {}
1950
1951 const vuq __builtin_altivec_orc_v1ti_uns (vuq, vuq);
1952 ORC_V1TI_UNS iornv1ti3 {}
1953
1954 const vd __builtin_altivec_orc_v2df (vd, vd);
1955 ORC_V2DF iornv2df3 {}
1956
1957 const vsll __builtin_altivec_orc_v2di (vsll, vsll);
1958 ORC_V2DI iornv2di3 {}
1959
1960 const vull __builtin_altivec_orc_v2di_uns (vull, vull);
1961 ORC_V2DI_UNS iornv2di3 {}
1962
1963 const vf __builtin_altivec_orc_v4sf (vf, vf);
1964 ORC_V4SF iornv4sf3 {}
1965
1966 const vsi __builtin_altivec_orc_v4si (vsi, vsi);
1967 ORC_V4SI iornv4si3 {}
1968
1969 const vui __builtin_altivec_orc_v4si_uns (vui, vui);
1970 ORC_V4SI_UNS iornv4si3 {}
1971
1972 const vss __builtin_altivec_orc_v8hi (vss, vss);
1973 ORC_V8HI iornv8hi3 {}
1974
1975 const vus __builtin_altivec_orc_v8hi_uns (vus, vus);
1976 ORC_V8HI_UNS iornv8hi3 {}
1977
1978 const vsc __builtin_altivec_vclzb (vsc);
1979 VCLZB clzv16qi2 {}
1980
1981 const vsll __builtin_altivec_vclzd (vsll);
1982 VCLZD clzv2di2 {}
1983
1984 const vss __builtin_altivec_vclzh (vss);
1985 VCLZH clzv8hi2 {}
1986
1987 const vsi __builtin_altivec_vclzw (vsi);
1988 VCLZW clzv4si2 {}
1989
1990 const vuc __builtin_altivec_vgbbd (vuc);
1991 VGBBD p8v_vgbbd {}
1992
1993 const vsq __builtin_altivec_vaddcuq (vsq, vsq);
1994 VADDCUQ altivec_vaddcuq {}
1995
1996 const vsq __builtin_altivec_vaddecuq (vsq, vsq, vsq);
1997 VADDECUQ altivec_vaddecuq {}
1998
1999 const vsq __builtin_altivec_vaddeuqm (vsq, vsq, vsq);
2000 VADDEUQM altivec_vaddeuqm {}
2001
2002 const vsll __builtin_altivec_vaddudm (vsll, vsll);
2003 VADDUDM addv2di3 {}
2004
2005 const vsq __builtin_altivec_vadduqm (vsq, vsq);
2006 VADDUQM addv1ti3 {}
2007
2008 const vsll __builtin_altivec_vbpermq (vsc, vsc);
2009 VBPERMQ altivec_vbpermq {}
2010
2011 const vsc __builtin_altivec_vbpermq2 (vsc, vsc);
2012 VBPERMQ2 altivec_vbpermq2 {}
2013
2014 const vsll __builtin_altivec_vcmpequd (vull, vull);
2015 VCMPEQUD vector_eqv2di {}
2016
2017 const int __builtin_altivec_vcmpequd_p (int, vsll, vsll);
2018 VCMPEQUD_P vector_eq_v2di_p {pred}
2019
2020 const vsll __builtin_altivec_vcmpgtsd (vsll, vsll);
2021 VCMPGTSD vector_gtv2di {}
2022
2023 const int __builtin_altivec_vcmpgtsd_p (int, vsll, vsll);
2024 VCMPGTSD_P vector_gt_v2di_p {pred}
2025
2026 const vsll __builtin_altivec_vcmpgtud (vull, vull);
2027 VCMPGTUD vector_gtuv2di {}
2028
2029 const int __builtin_altivec_vcmpgtud_p (int, vsll, vsll);
2030 VCMPGTUD_P vector_gtu_v2di_p {pred}
2031
2032 const vsll __builtin_altivec_vmaxsd (vsll, vsll);
2033 VMAXSD smaxv2di3 {}
2034
2035 const vull __builtin_altivec_vmaxud (vull, vull);
2036 VMAXUD umaxv2di3 {}
2037
2038 const vsll __builtin_altivec_vminsd (vsll, vsll);
2039 VMINSD sminv2di3 {}
2040
2041 const vull __builtin_altivec_vminud (vull, vull);
2042 VMINUD uminv2di3 {}
2043
2044 const vd __builtin_altivec_vmrgew_v2df (vd, vd);
2045 VMRGEW_V2DF p8_vmrgew_v2df {}
2046
2047 const vsll __builtin_altivec_vmrgew_v2di (vsll, vsll);
2048 VMRGEW_V2DI p8_vmrgew_v2di {}
2049
2050 const vf __builtin_altivec_vmrgew_v4sf (vf, vf);
2051 VMRGEW_V4SF p8_vmrgew_v4sf {}
2052
2053 const vsi __builtin_altivec_vmrgew_v4si (vsi, vsi);
2054 VMRGEW_V4SI p8_vmrgew_v4si {}
2055
2056 const vd __builtin_altivec_vmrgow_v2df (vd, vd);
2057 VMRGOW_V2DF p8_vmrgow_v2df {}
2058
2059 const vsll __builtin_altivec_vmrgow_v2di (vsll, vsll);
2060 VMRGOW_V2DI p8_vmrgow_v2di {}
2061
2062 const vf __builtin_altivec_vmrgow_v4sf (vf, vf);
2063 VMRGOW_V4SF p8_vmrgow_v4sf {}
2064
2065 const vsi __builtin_altivec_vmrgow_v4si (vsi, vsi);
2066 VMRGOW_V4SI p8_vmrgow_v4si {}
2067
2068 const vsc __builtin_altivec_vpermxor (vsc, vsc, vsc);
2069 VPERMXOR altivec_vpermxor {}
2070
2071 const vsi __builtin_altivec_vpksdss (vsll, vsll);
2072 VPKSDSS altivec_vpksdss {}
2073
2074 const vsi __builtin_altivec_vpksdus (vsll, vsll);
2075 VPKSDUS altivec_vpksdus {}
2076
2077 const vsi __builtin_altivec_vpkudum (vsll, vsll);
2078 VPKUDUM altivec_vpkudum {}
2079
2080 const vsi __builtin_altivec_vpkudus (vsll, vsll);
2081 VPKUDUS altivec_vpkudus {}
2082
2083 const vsc __builtin_altivec_vpmsumb (vsc, vsc);
2084 VPMSUMB_A crypto_vpmsumb {}
2085
2086 const vsll __builtin_altivec_vpmsumd (vsll, vsll);
2087 VPMSUMD_A crypto_vpmsumd {}
2088
2089 const vss __builtin_altivec_vpmsumh (vss, vss);
2090 VPMSUMH_A crypto_vpmsumh {}
2091
2092 const vsi __builtin_altivec_vpmsumw (vsi, vsi);
2093 VPMSUMW_A crypto_vpmsumw {}
2094
2095 const vsc __builtin_altivec_vpopcntb (vsc);
2096 VPOPCNTB popcountv16qi2 {}
2097
2098 const vsll __builtin_altivec_vpopcntd (vsll);
2099 VPOPCNTD popcountv2di2 {}
2100
2101 const vss __builtin_altivec_vpopcnth (vss);
2102 VPOPCNTH popcountv8hi2 {}
2103
2104 const vsc __builtin_altivec_vpopcntub (vsc);
2105 VPOPCNTUB popcountv16qi2 {}
2106
2107 const vsll __builtin_altivec_vpopcntud (vsll);
2108 VPOPCNTUD popcountv2di2 {}
2109
2110 const vss __builtin_altivec_vpopcntuh (vss);
2111 VPOPCNTUH popcountv8hi2 {}
2112
2113 const vsi __builtin_altivec_vpopcntuw (vsi);
2114 VPOPCNTUW popcountv4si2 {}
2115
2116 const vsi __builtin_altivec_vpopcntw (vsi);
2117 VPOPCNTW popcountv4si2 {}
2118
2119 const vsll __builtin_altivec_vrld (vsll, vsll);
2120 VRLD vrotlv2di3 {}
2121
2122 const vsll __builtin_altivec_vsld (vsll, vsll);
2123 VSLD vashlv2di3 {}
2124
2125 const vsll __builtin_altivec_vsrad (vsll, vsll);
2126 VSRAD vashrv2di3 {}
2127
2128 const vsll __builtin_altivec_vsrd (vsll, vull);
2129 VSRD vlshrv2di3 {}
2130
2131 const vsq __builtin_altivec_vsubcuq (vsq, vsq);
2132 VSUBCUQ altivec_vsubcuq {}
2133
2134 const vsq __builtin_altivec_vsubecuq (vsq, vsq, vsq);
2135 VSUBECUQ altivec_vsubecuq {}
2136
2137 const vsq __builtin_altivec_vsubeuqm (vsq, vsq, vsq);
2138 VSUBEUQM altivec_vsubeuqm {}
2139
2140 const vsll __builtin_altivec_vsubudm (vsll, vsll);
2141 VSUBUDM subv2di3 {}
2142
2143 const vsq __builtin_altivec_vsubuqm (vsq, vsq);
2144 VSUBUQM subv1ti3 {}
2145
2146 const vsll __builtin_altivec_vupkhsw (vsi);
2147 VUPKHSW altivec_vupkhsw {}
2148
2149 const vsll __builtin_altivec_vupklsw (vsi);
2150 VUPKLSW altivec_vupklsw {}
2151
2152 const vsq __builtin_bcdadd_v1ti (vsq, vsq, const int<1>);
2153 BCDADD_V1TI bcdadd_v1ti {}
2154
2155 const vsc __builtin_bcdadd_v16qi (vsc, vsc, const int<1>);
2156 BCDADD_V16QI bcdadd_v16qi {}
2157
2158 const signed int __builtin_bcdadd_eq_v1ti (vsq, vsq, const int<1>);
2159 BCDADD_EQ_V1TI bcdadd_eq_v1ti {}
2160
2161 const signed int __builtin_bcdadd_eq_v16qi (vsc, vsc, const int<1>);
2162 BCDADD_EQ_V16QI bcdadd_eq_v16qi {}
2163
2164 const signed int __builtin_bcdadd_gt_v1ti (vsq, vsq, const int<1>);
2165 BCDADD_GT_V1TI bcdadd_gt_v1ti {}
2166
2167 const signed int __builtin_bcdadd_gt_v16qi (vsc, vsc, const int<1>);
2168 BCDADD_GT_V16QI bcdadd_gt_v16qi {}
2169
2170 const signed int __builtin_bcdadd_lt_v1ti (vsq, vsq, const int<1>);
2171 BCDADD_LT_V1TI bcdadd_lt_v1ti {}
2172
2173 const signed int __builtin_bcdadd_lt_v16qi (vsc, vsc, const int<1>);
2174 BCDADD_LT_V16QI bcdadd_lt_v16qi {}
2175
2176 const signed int __builtin_bcdadd_ov_v1ti (vsq, vsq, const int<1>);
2177 BCDADD_OV_V1TI bcdadd_unordered_v1ti {}
2178
2179 const signed int __builtin_bcdadd_ov_v16qi (vsc, vsc, const int<1>);
2180 BCDADD_OV_V16QI bcdadd_unordered_v16qi {}
2181
2182 const signed int __builtin_bcdinvalid_v1ti (vsq);
2183 BCDINVALID_V1TI bcdinvalid_v1ti {}
2184
2185 const signed int __builtin_bcdinvalid_v16qi (vsc);
2186 BCDINVALID_V16QI bcdinvalid_v16qi {}
2187
2188 const vsq __builtin_bcdsub_v1ti (vsq, vsq, const int<1>);
2189 BCDSUB_V1TI bcdsub_v1ti {}
2190
2191 const vsc __builtin_bcdsub_v16qi (vsc, vsc, const int<1>);
2192 BCDSUB_V16QI bcdsub_v16qi {}
2193
2194 const signed int __builtin_bcdsub_eq_v1ti (vsq, vsq, const int<1>);
2195 BCDSUB_EQ_V1TI bcdsub_eq_v1ti {}
2196
2197 const signed int __builtin_bcdsub_eq_v16qi (vsc, vsc, const int<1>);
2198 BCDSUB_EQ_V16QI bcdsub_eq_v16qi {}
2199
2200 const signed int __builtin_bcdsub_ge_v1ti (vsq, vsq, const int<1>);
2201 BCDSUB_GE_V1TI bcdsub_ge_v1ti {}
2202
2203 const signed int __builtin_bcdsub_ge_v16qi (vsc, vsc, const int<1>);
2204 BCDSUB_GE_V16QI bcdsub_ge_v16qi {}
2205
2206 const signed int __builtin_bcdsub_gt_v1ti (vsq, vsq, const int<1>);
2207 BCDSUB_GT_V1TI bcdsub_gt_v1ti {}
2208
2209 const signed int __builtin_bcdsub_gt_v16qi (vsc, vsc, const int<1>);
2210 BCDSUB_GT_V16QI bcdsub_gt_v16qi {}
2211
2212 const signed int __builtin_bcdsub_le_v1ti (vsq, vsq, const int<1>);
2213 BCDSUB_LE_V1TI bcdsub_le_v1ti {}
2214
2215 const signed int __builtin_bcdsub_le_v16qi (vsc, vsc, const int<1>);
2216 BCDSUB_LE_V16QI bcdsub_le_v16qi {}
2217
2218 const signed int __builtin_bcdsub_lt_v1ti (vsq, vsq, const int<1>);
2219 BCDSUB_LT_V1TI bcdsub_lt_v1ti {}
2220
2221 const signed int __builtin_bcdsub_lt_v16qi (vsc, vsc, const int<1>);
2222 BCDSUB_LT_V16QI bcdsub_lt_v16qi {}
2223
2224 const signed int __builtin_bcdsub_ov_v1ti (vsq, vsq, const int<1>);
2225 BCDSUB_OV_V1TI bcdsub_unordered_v1ti {}
2226
2227 const signed int __builtin_bcdsub_ov_v16qi (vsc, vsc, const int<1>);
2228 BCDSUB_OV_V16QI bcdsub_unordered_v16qi {}
2229
2230 const vuc __builtin_crypto_vpermxor_v16qi (vuc, vuc, vuc);
2231 VPERMXOR_V16QI crypto_vpermxor_v16qi {}
2232
2233 const vull __builtin_crypto_vpermxor_v2di (vull, vull, vull);
2234 VPERMXOR_V2DI crypto_vpermxor_v2di {}
2235
2236 const vui __builtin_crypto_vpermxor_v4si (vui, vui, vui);
2237 VPERMXOR_V4SI crypto_vpermxor_v4si {}
2238
2239 const vus __builtin_crypto_vpermxor_v8hi (vus, vus, vus);
2240 VPERMXOR_V8HI crypto_vpermxor_v8hi {}
2241
2242 const vuc __builtin_crypto_vpmsumb (vuc, vuc);
2243 VPMSUMB crypto_vpmsumb {}
2244
2245 const vull __builtin_crypto_vpmsumd (vull, vull);
2246 VPMSUMD crypto_vpmsumd {}
2247
2248 const vus __builtin_crypto_vpmsumh (vus, vus);
2249 VPMSUMH crypto_vpmsumh {}
2250
2251 const vui __builtin_crypto_vpmsumw (vui, vui);
2252 VPMSUMW crypto_vpmsumw {}
2253
2254 const vf __builtin_vsx_float2_v2df (vd, vd);
2255 FLOAT2_V2DF float2_v2df {}
2256
2257 const vf __builtin_vsx_float2_v2di (vsll, vsll);
2258 FLOAT2_V2DI float2_v2di {}
2259
2260 const vsc __builtin_vsx_revb_v16qi (vsc);
2261 REVB_V16QI revb_v16qi {}
2262
2263 const vsq __builtin_vsx_revb_v1ti (vsq);
2264 REVB_V1TI revb_v1ti {}
2265
2266 const vd __builtin_vsx_revb_v2df (vd);
2267 REVB_V2DF revb_v2df {}
2268
2269 const vsll __builtin_vsx_revb_v2di (vsll);
2270 REVB_V2DI revb_v2di {}
2271
2272 const vf __builtin_vsx_revb_v4sf (vf);
2273 REVB_V4SF revb_v4sf {}
2274
2275 const vsi __builtin_vsx_revb_v4si (vsi);
2276 REVB_V4SI revb_v4si {}
2277
2278 const vss __builtin_vsx_revb_v8hi (vss);
2279 REVB_V8HI revb_v8hi {}
2280
2281 const vf __builtin_vsx_uns_float2_v2di (vsll, vsll);
2282 UNS_FLOAT2_V2DI uns_float2_v2di {}
2283
2284 const vsi __builtin_vsx_vsigned2_v2df (vd, vd);
2285 VEC_VSIGNED2_V2DF vsigned2_v2df {}
2286
2287 const vsi __builtin_vsx_vunsigned2_v2df (vd, vd);
2288 VEC_VUNSIGNED2_V2DF vunsigned2_v2df {}
2289
2290 const vf __builtin_vsx_xscvdpspn (double);
2291 XSCVDPSPN vsx_xscvdpspn {}
2292
2293 const double __builtin_vsx_xscvspdpn (vf);
2294 XSCVSPDPN vsx_xscvspdpn {}
2295
2296
2297 ; Power9 vector builtins.
2298 [power9-vector]
2299 const vss __builtin_altivec_convert_4f32_8f16 (vf, vf);
2300 CONVERT_4F32_8F16 convert_4f32_8f16 {}
2301
2302 const vss __builtin_altivec_convert_4f32_8i16 (vf, vf);
2303 CONVERT_4F32_8I16 convert_4f32_8i16 {}
2304
2305 const signed int __builtin_altivec_first_match_index_v16qi (vsc, vsc);
2306 VFIRSTMATCHINDEX_V16QI first_match_index_v16qi {}
2307
2308 const signed int __builtin_altivec_first_match_index_v8hi (vss, vss);
2309 VFIRSTMATCHINDEX_V8HI first_match_index_v8hi {}
2310
2311 const signed int __builtin_altivec_first_match_index_v4si (vsi, vsi);
2312 VFIRSTMATCHINDEX_V4SI first_match_index_v4si {}
2313
2314 const signed int __builtin_altivec_first_match_or_eos_index_v16qi (vsc, vsc);
2315 VFIRSTMATCHOREOSINDEX_V16QI first_match_or_eos_index_v16qi {}
2316
2317 const signed int __builtin_altivec_first_match_or_eos_index_v8hi (vss, vss);
2318 VFIRSTMATCHOREOSINDEX_V8HI first_match_or_eos_index_v8hi {}
2319
2320 const signed int __builtin_altivec_first_match_or_eos_index_v4si (vsi, vsi);
2321 VFIRSTMATCHOREOSINDEX_V4SI first_match_or_eos_index_v4si {}
2322
2323 const signed int __builtin_altivec_first_mismatch_index_v16qi (vsc, vsc);
2324 VFIRSTMISMATCHINDEX_V16QI first_mismatch_index_v16qi {}
2325
2326 const signed int __builtin_altivec_first_mismatch_index_v8hi (vss, vss);
2327 VFIRSTMISMATCHINDEX_V8HI first_mismatch_index_v8hi {}
2328
2329 const signed int __builtin_altivec_first_mismatch_index_v4si (vsi, vsi);
2330 VFIRSTMISMATCHINDEX_V4SI first_mismatch_index_v4si {}
2331
2332 const signed int \
2333 __builtin_altivec_first_mismatch_or_eos_index_v16qi (vsc, vsc);
2334 VFIRSTMISMATCHOREOSINDEX_V16QI first_mismatch_or_eos_index_v16qi {}
2335
2336 const signed int \
2337 __builtin_altivec_first_mismatch_or_eos_index_v8hi (vss, vss);
2338 VFIRSTMISMATCHOREOSINDEX_V8HI first_mismatch_or_eos_index_v8hi {}
2339
2340 const signed int \
2341 __builtin_altivec_first_mismatch_or_eos_index_v4si (vsi, vsi);
2342 VFIRSTMISMATCHOREOSINDEX_V4SI first_mismatch_or_eos_index_v4si {}
2343
2344 const vsc __builtin_altivec_vadub (vsc, vsc);
2345 VADUB uabdv16qi3 {}
2346
2347 const vss __builtin_altivec_vaduh (vss, vss);
2348 VADUH uabdv8hi3 {}
2349
2350 const vsi __builtin_altivec_vaduw (vsi, vsi);
2351 VADUW uabdv4si3 {}
2352
2353 const vsll __builtin_altivec_vbpermd (vsll, vsc);
2354 VBPERMD altivec_vbpermd {}
2355
2356 const signed int __builtin_altivec_vclzlsbb_v16qi (vsc);
2357 VCLZLSBB_V16QI vctzlsbb_v16qi {endian}
2358
2359 const signed int __builtin_altivec_vclzlsbb_v4si (vsi);
2360 VCLZLSBB_V4SI vctzlsbb_v4si {endian}
2361
2362 const signed int __builtin_altivec_vclzlsbb_v8hi (vss);
2363 VCLZLSBB_V8HI vctzlsbb_v8hi {endian}
2364
2365 const vsc __builtin_altivec_vctzb (vsc);
2366 VCTZB ctzv16qi2 {}
2367
2368 const vsll __builtin_altivec_vctzd (vsll);
2369 VCTZD ctzv2di2 {}
2370
2371 const vss __builtin_altivec_vctzh (vss);
2372 VCTZH ctzv8hi2 {}
2373
2374 const vsi __builtin_altivec_vctzw (vsi);
2375 VCTZW ctzv4si2 {}
2376
2377 const signed int __builtin_altivec_vctzlsbb_v16qi (vsc);
2378 VCTZLSBB_V16QI vclzlsbb_v16qi {endian}
2379
2380 const signed int __builtin_altivec_vctzlsbb_v4si (vsi);
2381 VCTZLSBB_V4SI vclzlsbb_v4si {endian}
2382
2383 const signed int __builtin_altivec_vctzlsbb_v8hi (vss);
2384 VCTZLSBB_V8HI vclzlsbb_v8hi {endian}
2385
2386 const signed int __builtin_altivec_vcmpaeb_p (vsc, vsc);
2387 VCMPAEB_P vector_ae_v16qi_p {}
2388
2389 const signed int __builtin_altivec_vcmpaed_p (vsll, vsll);
2390 VCMPAED_P vector_ae_v2di_p {}
2391
2392 const signed int __builtin_altivec_vcmpaedp_p (vd, vd);
2393 VCMPAEDP_P vector_ae_v2df_p {}
2394
2395 const signed int __builtin_altivec_vcmpaefp_p (vf, vf);
2396 VCMPAEFP_P vector_ae_v4sf_p {}
2397
2398 const signed int __builtin_altivec_vcmpaeh_p (vss, vss);
2399 VCMPAEH_P vector_ae_v8hi_p {}
2400
2401 const signed int __builtin_altivec_vcmpaew_p (vsi, vsi);
2402 VCMPAEW_P vector_ae_v4si_p {}
2403
2404 const signed int __builtin_altivec_vcmpneb_p (vsc, vsc);
2405 VCMPNEB_P vector_ne_v16qi_p {}
2406
2407 const signed int __builtin_altivec_vcmpned_p (vsll, vsll);
2408 VCMPNED_P vector_ne_v2di_p {}
2409
2410 const signed int __builtin_altivec_vcmpnedp_p (vd, vd);
2411 VCMPNEDP_P vector_ne_v2df_p {}
2412
2413 const signed int __builtin_altivec_vcmpnefp_p (vf, vf);
2414 VCMPNEFP_P vector_ne_v4sf_p {}
2415
2416 const signed int __builtin_altivec_vcmpneh_p (vss, vss);
2417 VCMPNEH_P vector_ne_v8hi_p {}
2418
2419 const signed int __builtin_altivec_vcmpnew_p (vsi, vsi);
2420 VCMPNEW_P vector_ne_v4si_p {}
2421
2422 const vsc __builtin_altivec_vcmpnezb (vsc, vsc);
2423 CMPNEZB vcmpnezb {}
2424
2425 const signed int __builtin_altivec_vcmpnezb_p (signed int, vsc, vsc);
2426 VCMPNEZB_P vector_nez_v16qi_p {pred}
2427
2428 const vss __builtin_altivec_vcmpnezh (vss, vss);
2429 CMPNEZH vcmpnezh {}
2430
2431 const signed int __builtin_altivec_vcmpnezh_p (signed int, vss, vss);
2432 VCMPNEZH_P vector_nez_v8hi_p {pred}
2433
2434 const vsi __builtin_altivec_vcmpnezw (vsi, vsi);
2435 CMPNEZW vcmpnezw {}
2436
2437 const signed int __builtin_altivec_vcmpnezw_p (signed int, vsi, vsi);
2438 VCMPNEZW_P vector_nez_v4si_p {pred}
2439
2440 const signed int __builtin_altivec_vextublx (signed int, vsc);
2441 VEXTUBLX vextublx {}
2442
2443 const signed int __builtin_altivec_vextubrx (signed int, vsc);
2444 VEXTUBRX vextubrx {}
2445
2446 const signed int __builtin_altivec_vextuhlx (signed int, vss);
2447 VEXTUHLX vextuhlx {}
2448
2449 const signed int __builtin_altivec_vextuhrx (signed int, vss);
2450 VEXTUHRX vextuhrx {}
2451
2452 const signed int __builtin_altivec_vextuwlx (signed int, vsi);
2453 VEXTUWLX vextuwlx {}
2454
2455 const signed int __builtin_altivec_vextuwrx (signed int, vsi);
2456 VEXTUWRX vextuwrx {}
2457
2458 const vsq __builtin_altivec_vmsumudm (vsll, vsll, vsq);
2459 VMSUMUDM altivec_vmsumudm {}
2460
2461 const vsll __builtin_altivec_vprtybd (vsll);
2462 VPRTYBD rs6000_vprtybv2di2 {}
2463
2464 const vsq __builtin_altivec_vprtybq (vsq);
2465 VPRTYBQ rs6000_vprtybv1ti2 {}
2466
2467 const vsi __builtin_altivec_vprtybw (vsi);
2468 VPRTYBW rs6000_vprtybv4si2 {}
2469
2470 const vsll __builtin_altivec_vrldmi (vsll, vsll, vsll);
2471 VRLDMI altivec_vrldmi {}
2472
2473 const vsll __builtin_altivec_vrldnm (vsll, vsll);
2474 VRLDNM altivec_vrldnm {}
2475
2476 const vsi __builtin_altivec_vrlwmi (vsi, vsi, vsi);
2477 VRLWMI altivec_vrlwmi {}
2478
2479 const vsi __builtin_altivec_vrlwnm (vsi, vsi);
2480 VRLWNM altivec_vrlwnm {}
2481
2482 const vsll __builtin_altivec_vsignextsb2d (vsc);
2483 VSIGNEXTSB2D vsx_sign_extend_v16qi_v2di {}
2484
2485 const vsi __builtin_altivec_vsignextsb2w (vsc);
2486 VSIGNEXTSB2W vsx_sign_extend_v16qi_v4si {}
2487
2488 const vsll __builtin_altivec_visgnextsh2d (vss);
2489 VSIGNEXTSH2D vsx_sign_extend_v8hi_v2di {}
2490
2491 const vsi __builtin_altivec_vsignextsh2w (vss);
2492 VSIGNEXTSH2W vsx_sign_extend_v8hi_v4si {}
2493
2494 const vsll __builtin_altivec_vsignextsw2d (vsi);
2495 VSIGNEXTSW2D vsx_sign_extend_v4si_v2di {}
2496
2497 const vsc __builtin_altivec_vslv (vsc, vsc);
2498 VSLV vslv {}
2499
2500 const vsc __builtin_altivec_vsrv (vsc, vsc);
2501 VSRV vsrv {}
2502
2503 const signed int __builtin_scalar_byte_in_range (signed int, signed int);
2504 CMPRB cmprb {}
2505
2506 const signed int \
2507 __builtin_scalar_byte_in_either_range (signed int, signed int);
2508 CMPRB2 cmprb2 {}
2509
2510 const vsll __builtin_vsx_extract4b (vsc, const int[0,12]);
2511 EXTRACT4B extract4b {}
2512
2513 const vd __builtin_vsx_extract_exp_dp (vd);
2514 VEEDP xvxexpdp {}
2515
2516 const vf __builtin_vsx_extract_exp_sp (vf);
2517 VEESP xvxexpsp {}
2518
2519 const vd __builtin_vsx_extract_sig_dp (vd);
2520 VESDP xvxsigdp {}
2521
2522 const vf __builtin_vsx_extract_sig_sp (vf);
2523 VESSP xvxsigsp {}
2524
2525 const vsc __builtin_vsx_insert4b (vsi, vsc, const int[0,12]);
2526 INSERT4B insert4b {}
2527
2528 const vd __builtin_vsx_insert_exp_dp (vd, vd);
2529 VIEDP xviexpdp {}
2530
2531 const vf __builtin_vsx_insert_exp_sp (vf, vf);
2532 VIESP xviexpsp {}
2533
2534 const signed int __builtin_vsx_scalar_cmp_exp_dp_eq (double, double);
2535 VSCEDPEQ xscmpexpdp_eq {}
2536
2537 const signed int __builtin_vsx_scalar_cmp_exp_dp_gt (double, double);
2538 VSCEDPGT xscmpexpdp_gt {}
2539
2540 const signed int __builtin_vsx_scalar_cmp_exp_dp_lt (double, double);
2541 VSCEDPLT xscmpexpdp_lt {}
2542
2543 const signed int __builtin_vsx_scalar_cmp_exp_dp_unordered (double, double);
2544 VSCEDPUO xscmpexpdp_unordered {}
2545
2546 const signed int \
2547 __builtin_vsx_scalar_test_data_class_dp (double, const int<7>);
2548 VSTDCDP xststdc_df {}
2549
2550 const signed int \
2551 __builtin_vsx_scalar_test_data_class_sp (float, const int<7>);
2552 VSTDCSP xststdc_sf {}
2553
2554 const signed int __builtin_vsx_scalar_test_neg_dp (double);
2555 VSTDCNDP xststdcnegdp {}
2556
2557 const signed int __builtin_vsx_scalar_test_neg_sp (float);
2558 VSTDCNSP xststdcnegsp {}
2559
2560 const vsll __builtin_vsx_test_data_class_dp (vd, const int<7>);
2561 VTDCDP xvtstdcdp {}
2562
2563 const vsi __builtin_vsx_test_data_class_sp (vf, const int<7>);
2564 VTDCSP xvtstdcsp {}
2565
2566 const vf __builtin_vsx_vextract_fp_from_shorth (vss);
2567 VEXTRACT_FP_FROM_SHORTH vextract_fp_from_shorth {}
2568
2569 const vf __builtin_vsx_vextract_fp_from_shortl (vss);
2570 VEXTRACT_FP_FROM_SHORTL vextract_fp_from_shortl {}
2571
2572 const vd __builtin_vsx_xxbrd_v2df (vd);
2573 XXBRD_V2DF p9_xxbrd_v2df {}
2574
2575 const vsll __builtin_vsx_xxbrd_v2di (vsll);
2576 XXBRD_V2DI p9_xxbrd_v2di {}
2577
2578 const vss __builtin_vsx_xxbrh_v8hi (vss);
2579 XXBRH_V8HI p9_xxbrh_v8hi {}
2580
2581 const vsc __builtin_vsx_xxbrq_v16qi (vsc);
2582 XXBRQ_V16QI p9_xxbrq_v16qi {}
2583
2584 const vsq __builtin_vsx_xxbrq_v1ti (vsq);
2585 XXBRQ_V1TI p9_xxbrq_v1ti {}
2586
2587 const vf __builtin_vsx_xxbrw_v4sf (vf);
2588 XXBRW_V4SF p9_xxbrw_v4sf {}
2589
2590 const vsi __builtin_vsx_xxbrw_v4si (vsi);
2591 XXBRW_V4SI p9_xxbrw_v4si {}
2592
2593 const signed int __builtin_vsx_scalar_cmp_exp_qp_eq (_Float128, _Float128);
2594 VSCEQPEQ xscmpexpqp_eq_kf {}
2595
2596 const signed int __builtin_vsx_scalar_cmp_exp_qp_gt (_Float128, _Float128);
2597 VSCEQPGT xscmpexpqp_gt_kf {}
2598
2599 const signed int __builtin_vsx_scalar_cmp_exp_qp_lt (_Float128, _Float128);
2600 VSCEQPLT xscmpexpqp_lt_kf {}
2601
2602 const signed int \
2603 __builtin_vsx_scalar_cmp_exp_qp_unordered (_Float128, _Float128);
2604 VSCEQPUO xscmpexpqp_unordered_kf {}
2605
2606
2607 ; Miscellaneous P9 functions
2608 [power9]
2609 signed long __builtin_darn ();
2610 DARN darn_64_di {32bit}
2611
2612 signed long __builtin_darn_32 ();
2613 DARN_32 darn_32_di {32bit}
2614
2615 signed long __builtin_darn_raw ();
2616 DARN_RAW darn_raw_di {32bit}
2617
2618 const signed int __builtin_dtstsfi_eq_dd (const int<6>, _Decimal64);
2619 TSTSFI_EQ_DD dfptstsfi_eq_dd {}
2620
2621 const signed int __builtin_dtstsfi_eq_td (const int<6>, _Decimal128);
2622 TSTSFI_EQ_TD dfptstsfi_eq_td {}
2623
2624 const signed int __builtin_dtstsfi_gt_dd (const int<6>, _Decimal64);
2625 TSTSFI_GT_DD dfptstsfi_gt_dd {}
2626
2627 const signed int __builtin_dtstsfi_gt_td (const int<6>, _Decimal128);
2628 TSTSFI_GT_TD dfptstsfi_gt_td {}
2629
2630 const signed int __builtin_dtstsfi_lt_dd (const int<6>, _Decimal64);
2631 TSTSFI_LT_DD dfptstsfi_lt_dd {}
2632
2633 const signed int __builtin_dtstsfi_lt_td (const int<6>, _Decimal128);
2634 TSTSFI_LT_TD dfptstsfi_lt_td {}
2635
2636 const signed int __builtin_dtstsfi_ov_dd (const int<6>, _Decimal64);
2637 TSTSFI_OV_DD dfptstsfi_unordered_dd {}
2638
2639 const signed int __builtin_dtstsfi_ov_td (const int<6>, _Decimal128);
2640 TSTSFI_OV_TD dfptstsfi_unordered_td {}
2641
2642 const signed int __builtin_vsx_scalar_extract_exp (double);
2643 VSEEDP xsxexpdp_si {}
2644
2645 [power9-64]
2646 void __builtin_altivec_xst_len_r (vsc, void *, long);
2647 XST_LEN_R xst_len_r {}
2648
2649 void __builtin_altivec_stxvl (vsc, void *, long);
2650 STXVL stxvl {}
2651
2652 const signed int __builtin_scalar_byte_in_set (signed int, signed long long);
2653 CMPEQB cmpeqb {}
2654
2655 pure vsc __builtin_vsx_lxvl (const void *, signed long);
2656 LXVL lxvl {}
2657
2658 const signed long long __builtin_vsx_scalar_extract_sig (double);
2659 VSESDP xsxsigdp {}
2660
2661 const double __builtin_vsx_scalar_insert_exp (unsigned long long, \
2662 unsigned long long);
2663 VSIEDP xsiexpdp_di {}
2664
2665 const double __builtin_vsx_scalar_insert_exp_dp (double, unsigned long long);
2666 VSIEDPF xsiexpdpf_di {}
2667
2668 pure vsc __builtin_vsx_xl_len_r (void *, signed long);
2669 XL_LEN_R xl_len_r {}
2670
2671
2672 ; Builtins requiring hardware support for IEEE-128 floating-point.
2673 [ieee128-hw]
2674 fpmath _Float128 __builtin_addf128_round_to_odd (_Float128, _Float128);
2675 ADDF128_ODD addkf3_odd {}
2676
2677 fpmath _Float128 __builtin_divf128_round_to_odd (_Float128, _Float128);
2678 DIVF128_ODD divkf3_odd {}
2679
2680 fpmath _Float128 __builtin_fmaf128_round_to_odd (_Float128, _Float128, \
2681 _Float128);
2682 FMAF128_ODD fmakf4_odd {}
2683
2684 fpmath _Float128 __builtin_mulf128_round_to_odd (_Float128, _Float128);
2685 MULF128_ODD mulkf3_odd {}
2686
2687 fpmath _Float128 __builtin_sqrtf128_round_to_odd (_Float128);
2688 SQRTF128_ODD sqrtkf2_odd {}
2689
2690 fpmath _Float128 __builtin_subf128_round_to_odd (_Float128, _Float128);
2691 SUBF128_ODD subkf3_odd {}
2692
2693 fpmath double __builtin_truncf128_round_to_odd (_Float128);
2694 TRUNCF128_ODD trunckfdf2_odd {}
2695
2696 const signed long long __builtin_vsx_scalar_extract_expq (_Float128);
2697 VSEEQP xsxexpqp_kf_di {}
2698
2699 vull __builtin_vsx_scalar_extract_exp_to_vec (_Float128);
2700 VSEEQPV xsxexpqp_kf_v2di {}
2701
2702 const signed __int128 __builtin_vsx_scalar_extract_sigq (_Float128);
2703 VSESQP xsxsigqp_kf_ti {}
2704
2705 vuq __builtin_vsx_scalar_extract_sig_to_vec (_Float128);
2706 VSESQPV xsxsigqp_kf_v1ti {}
2707
2708 const _Float128 __builtin_vsx_scalar_insert_exp_q (unsigned __int128, \
2709 unsigned long long);
2710 VSIEQP xsiexpqp_kf_di {}
2711
2712 const _Float128 __builtin_vsx_scalar_insert_exp_qp (_Float128, \
2713 unsigned long long);
2714 VSIEQPF xsiexpqpf_kf {}
2715
2716 const _Float128 __builtin_vsx_scalar_insert_exp_vqp (vuq, vull);
2717 VSIEQPV xsiexpqp_kf_v2di {}
2718
2719 const signed int __builtin_vsx_scalar_test_data_class_qp (_Float128, \
2720 const int<7>);
2721 VSTDCQP xststdc_kf {}
2722
2723 const signed int __builtin_vsx_scalar_test_neg_qp (_Float128);
2724 VSTDCNQP xststdcnegqp_kf {}
2725
2726
2727
2728 ; Decimal floating-point builtins.
2729 [dfp]
2730 const _Decimal64 __builtin_ddedpd (const int<2>, _Decimal64);
2731 DDEDPD dfp_ddedpd_dd {}
2732
2733 const _Decimal128 __builtin_ddedpdq (const int<2>, _Decimal128);
2734 DDEDPDQ dfp_ddedpd_td {}
2735
2736 const _Decimal64 __builtin_denbcd (const int<1>, _Decimal64);
2737 DENBCD dfp_denbcd_dd {}
2738
2739 const _Decimal128 __builtin_denbcdq (const int<1>, _Decimal128);
2740 DENBCDQ dfp_denbcd_td {}
2741
2742 const _Decimal128 __builtin_denb2dfp_v16qi (vsc);
2743 DENB2DFP_V16QI dfp_denbcd_v16qi {}
2744
2745 const _Decimal64 __builtin_diex (signed long long, _Decimal64);
2746 DIEX dfp_diex_dd {}
2747
2748 const _Decimal128 __builtin_diexq (signed long long, _Decimal128);
2749 DIEXQ dfp_diex_td {}
2750
2751 const _Decimal64 __builtin_dscli (_Decimal64, const int<6>);
2752 DSCLI dfp_dscli_dd {}
2753
2754 const _Decimal128 __builtin_dscliq (_Decimal128, const int<6>);
2755 DSCLIQ dfp_dscli_td {}
2756
2757 const _Decimal64 __builtin_dscri (_Decimal64, const int<6>);
2758 DSCRI dfp_dscri_dd {}
2759
2760 const _Decimal128 __builtin_dscriq (_Decimal128, const int<6>);
2761 DSCRIQ dfp_dscri_td {}
2762
2763 const signed long long __builtin_dxex (_Decimal64);
2764 DXEX dfp_dxex_dd {}
2765
2766 const signed long long __builtin_dxexq (_Decimal128);
2767 DXEXQ dfp_dxex_td {}
2768
2769 const _Decimal128 __builtin_pack_dec128 (unsigned long long, \
2770 unsigned long long);
2771 PACK_TD packtd {}
2772
2773 void __builtin_set_fpscr_drn (const int[0,7]);
2774 SET_FPSCR_DRN rs6000_set_fpscr_drn {nosoft,no32bit}
2775
2776 const unsigned long long __builtin_unpack_dec128 (_Decimal128, const int<1>);
2777 UNPACK_TD unpacktd {}
2778
2779 const _Decimal64 __builtin_dfp_dqua (_Decimal64, _Decimal64, \
2780 const int<2>);
2781 DFPQUAN_64 dfp_dqua_dd {}
2782
2783 const _Decimal64 __builtin_dfp_dquai (const int<5>, _Decimal64, \
2784 const int<2>);
2785 DFPQUAN_64i dfp_dquai_dd {}
2786
2787 const _Decimal128 __builtin_dfp_dquaq (_Decimal128, _Decimal128, \
2788 const int<2>);
2789 DFPQUAN_128 dfp_dqua_td {}
2790
2791 const _Decimal128 __builtin_dfp_dquaqi (const int<5>, _Decimal128, \
2792 const int<2>);
2793 DFPQUAN_128i dfp_dquai_td {}
2794
2795 [crypto]
2796 const vull __builtin_crypto_vcipher (vull, vull);
2797 VCIPHER crypto_vcipher_v2di {}
2798
2799 const vuc __builtin_crypto_vcipher_be (vuc, vuc);
2800 VCIPHER_BE crypto_vcipher_v16qi {}
2801
2802 const vull __builtin_crypto_vcipherlast (vull, vull);
2803 VCIPHERLAST crypto_vcipherlast_v2di {}
2804
2805 const vuc __builtin_crypto_vcipherlast_be (vuc, vuc);
2806 VCIPHERLAST_BE crypto_vcipherlast_v16qi {}
2807
2808 const vull __builtin_crypto_vncipher (vull, vull);
2809 VNCIPHER crypto_vncipher_v2di {}
2810
2811 const vuc __builtin_crypto_vncipher_be (vuc, vuc);
2812 VNCIPHER_BE crypto_vncipher_v16qi {}
2813
2814 const vull __builtin_crypto_vncipherlast (vull, vull);
2815 VNCIPHERLAST crypto_vncipherlast_v2di {}
2816
2817 const vuc __builtin_crypto_vncipherlast_be (vuc, vuc);
2818 VNCIPHERLAST_BE crypto_vncipherlast_v16qi {}
2819
2820 const vull __builtin_crypto_vsbox (vull);
2821 VSBOX crypto_vsbox_v2di {}
2822
2823 const vuc __builtin_crypto_vsbox_be (vuc);
2824 VSBOX_BE crypto_vsbox_v16qi {}
2825
2826 const vull __builtin_crypto_vshasigmad (vull, const int<1>, const int<4>);
2827 VSHASIGMAD crypto_vshasigmad {}
2828
2829 const vui __builtin_crypto_vshasigmaw (vui, const int<1>, const int<4>);
2830 VSHASIGMAW crypto_vshasigmaw {}
2831
2832
2833 [htm]
2834 unsigned long __builtin_get_texasr ();
2835 GET_TEXASR nothing {htm,htmspr}
2836
2837 unsigned long __builtin_get_texasru ();
2838 GET_TEXASRU nothing {htm,htmspr}
2839
2840 unsigned long __builtin_get_tfhar ();
2841 GET_TFHAR nothing {htm,htmspr}
2842
2843 unsigned long __builtin_get_tfiar ();
2844 GET_TFIAR nothing {htm,htmspr}
2845
2846 void __builtin_set_texasr (unsigned long);
2847 SET_TEXASR nothing {htm,htmspr}
2848
2849 void __builtin_set_texasru (unsigned long);
2850 SET_TEXASRU nothing {htm,htmspr}
2851
2852 void __builtin_set_tfhar (unsigned long);
2853 SET_TFHAR nothing {htm,htmspr}
2854
2855 void __builtin_set_tfiar (unsigned long);
2856 SET_TFIAR nothing {htm,htmspr}
2857
2858 unsigned int __builtin_tabort (unsigned int);
2859 TABORT tabort {htm,htmcr}
2860
2861 unsigned int __builtin_tabortdc (unsigned long, unsigned long, \
2862 unsigned long);
2863 TABORTDC tabortdc {htm,htmcr}
2864
2865 unsigned int __builtin_tabortdci (unsigned long, unsigned long, \
2866 unsigned long);
2867 TABORTDCI tabortdci {htm,htmcr}
2868
2869 unsigned int __builtin_tabortwc (unsigned int, unsigned int, unsigned int);
2870 TABORTWC tabortwc {htm,htmcr}
2871
2872 unsigned int __builtin_tabortwci (unsigned int, unsigned int, unsigned int);
2873 TABORTWCI tabortwci {htm,htmcr}
2874
2875 unsigned int __builtin_tbegin (unsigned int);
2876 TBEGIN tbegin {htm,htmcr}
2877
2878 unsigned int __builtin_tcheck ();
2879 TCHECK tcheck {htm,htmcr}
2880
2881 unsigned int __builtin_tend (unsigned int);
2882 TEND tend {htm,htmcr}
2883
2884 unsigned int __builtin_tendall ();
2885 TENDALL tend {htm,htmcr}
2886
2887 unsigned int __builtin_trechkpt ();
2888 TRECHKPT trechkpt {htm,htmcr}
2889
2890 unsigned int __builtin_treclaim (unsigned int);
2891 TRECLAIM treclaim {htm,htmcr}
2892
2893 unsigned int __builtin_tresume ();
2894 TRESUME tsr {htm,htmcr}
2895
2896 unsigned int __builtin_tsr (unsigned int);
2897 TSR tsr {htm,htmcr}
2898
2899 unsigned int __builtin_tsuspend ();
2900 TSUSPEND tsr {htm,htmcr}
2901
2902 unsigned int __builtin_ttest ();
2903 TTEST ttest {htm,htmcr}
2904
2905
2906 [power10]
2907 const vbq __builtin_altivec_cmpge_1ti (vsq, vsq);
2908 CMPGE_1TI vector_nltv1ti {}
2909
2910 const vbq __builtin_altivec_cmpge_u1ti (vuq, vuq);
2911 CMPGE_U1TI vector_nltuv1ti {}
2912
2913 const unsigned long long __builtin_altivec_cntmbb (vuc, const int<1>);
2914 VCNTMBB vec_cntmb_v16qi {}
2915
2916 const unsigned long long __builtin_altivec_cntmbd (vull, const int<1>);
2917 VCNTMBD vec_cntmb_v2di {}
2918
2919 const unsigned long long __builtin_altivec_cntmbh (vus, const int<1>);
2920 VCNTMBH vec_cntmb_v8hi {}
2921
2922 const unsigned long long __builtin_altivec_cntmbw (vui, const int<1>);
2923 VCNTMBW vec_cntmb_v4si {}
2924
2925 const vsq __builtin_altivec_div_v1ti (vsq, vsq);
2926 DIV_V1TI vsx_div_v1ti {}
2927
2928 const vsq __builtin_altivec_dives (vsq, vsq);
2929 DIVES_V1TI vsx_dives_v1ti {}
2930
2931 const vuq __builtin_altivec_diveu (vuq, vuq);
2932 DIVEU_V1TI vsx_diveu_v1ti {}
2933
2934 const vsq __builtin_altivec_mods (vsq, vsq);
2935 MODS_V1TI vsx_mods_v1ti {}
2936
2937 const vuq __builtin_altivec_modu (vuq, vuq);
2938 MODU_V1TI vsx_modu_v1ti {}
2939
2940 const vuc __builtin_altivec_mtvsrbm (unsigned long long);
2941 MTVSRBM vec_mtvsr_v16qi {}
2942
2943 const vull __builtin_altivec_mtvsrdm (unsigned long long);
2944 MTVSRDM vec_mtvsr_v2di {}
2945
2946 const vus __builtin_altivec_mtvsrhm (unsigned long long);
2947 MTVSRHM vec_mtvsr_v8hi {}
2948
2949 const vuq __builtin_altivec_mtvsrqm (unsigned long long);
2950 MTVSRQM vec_mtvsr_v1ti {}
2951
2952 const vui __builtin_altivec_mtvsrwm (unsigned long long);
2953 MTVSRWM vec_mtvsr_v4si {}
2954
2955 pure signed __int128 __builtin_altivec_se_lxvrbx (signed long, \
2956 const signed char *);
2957 SE_LXVRBX vsx_lxvrbx {lxvrse}
2958
2959 pure signed __int128 __builtin_altivec_se_lxvrhx (signed long, \
2960 const signed short *);
2961 SE_LXVRHX vsx_lxvrhx {lxvrse}
2962
2963 pure signed __int128 __builtin_altivec_se_lxvrwx (signed long, \
2964 const signed int *);
2965 SE_LXVRWX vsx_lxvrwx {lxvrse}
2966
2967 pure signed __int128 __builtin_altivec_se_lxvrdx (signed long, \
2968 const signed long long *);
2969 SE_LXVRDX vsx_lxvrdx {lxvrse}
2970
2971 void __builtin_altivec_tr_stxvrbx (vsq, signed long, signed char *);
2972 TR_STXVRBX vsx_stxvrbx {stvec}
2973
2974 void __builtin_altivec_tr_stxvrhx (vsq, signed long, signed short *);
2975 TR_STXVRHX vsx_stxvrhx {stvec}
2976
2977 void __builtin_altivec_tr_stxvrwx (vsq, signed long, signed int *);
2978 TR_STXVRWX vsx_stxvrwx {stvec}
2979
2980 void __builtin_altivec_tr_stxvrdx (vsq, signed long, signed long long *);
2981 TR_STXVRDX vsx_stxvrdx {stvec}
2982
2983 const vuq __builtin_altivec_udiv_v1ti (vuq, vuq);
2984 UDIV_V1TI vsx_udiv_v1ti {}
2985
2986 const vull __builtin_altivec_vcfuged (vull, vull);
2987 VCFUGED vcfuged {}
2988
2989 const vsc __builtin_altivec_vclrlb (vsc, signed int);
2990 VCLRLB vclrlb {}
2991
2992 const vsc __builtin_altivec_vclrrb (vsc, signed int);
2993 VCLRRB vclrrb {}
2994
2995 const signed int __builtin_altivec_vcmpaet_p (vsq, vsq);
2996 VCMPAET_P vector_ae_v1ti_p {}
2997
2998 const vbq __builtin_altivec_vcmpequt (vsq, vsq);
2999 VCMPEQUT vector_eqv1ti {}
3000
3001 const signed int __builtin_altivec_vcmpequt_p (signed int, vsq, vsq);
3002 VCMPEQUT_P vector_eq_v1ti_p {pred}
3003
3004 const vbq __builtin_altivec_vcmpgtst (vsq, vsq);
3005 VCMPGTST vector_gtv1ti {}
3006
3007 const signed int __builtin_altivec_vcmpgtst_p (signed int, vsq, vsq);
3008 VCMPGTST_P vector_gt_v1ti_p {pred}
3009
3010 const vbq __builtin_altivec_vcmpgtut (vuq, vuq);
3011 VCMPGTUT vector_gtuv1ti {}
3012
3013 const signed int __builtin_altivec_vcmpgtut_p (signed int, vuq, vuq);
3014 VCMPGTUT_P vector_gtu_v1ti_p {pred}
3015
3016 const vbq __builtin_altivec_vcmpnet (vsq, vsq);
3017 VCMPNET vcmpnet {}
3018
3019 const signed int __builtin_altivec_vcmpnet_p (vsq, vsq);
3020 VCMPNET_P vector_ne_v1ti_p {}
3021
3022 const vull __builtin_altivec_vclzdm (vull, vull);
3023 VCLZDM vclzdm {}
3024
3025 const vull __builtin_altivec_vctzdm (vull, vull);
3026 VCTZDM vctzdm {}
3027
3028 const vsll __builtin_altivec_vdivesd (vsll, vsll);
3029 VDIVESD dives_v2di {}
3030
3031 const vsi __builtin_altivec_vdivesw (vsi, vsi);
3032 VDIVESW dives_v4si {}
3033
3034 const vull __builtin_altivec_vdiveud (vull, vull);
3035 VDIVEUD diveu_v2di {}
3036
3037 const vui __builtin_altivec_vdiveuw (vui, vui);
3038 VDIVEUW diveu_v4si {}
3039
3040 const vsll __builtin_altivec_vdivsd (vsll, vsll);
3041 VDIVSD divv2di3 {}
3042
3043 const vsi __builtin_altivec_vdivsw (vsi, vsi);
3044 VDIVSW divv4si3 {}
3045
3046 const vull __builtin_altivec_vdivud (vull, vull);
3047 VDIVUD udivv2di3 {}
3048
3049 const vui __builtin_altivec_vdivuw (vui, vui);
3050 VDIVUW udivv4si3 {}
3051
3052 const vuc __builtin_altivec_vexpandmb (vuc);
3053 VEXPANDMB vec_expand_v16qi {}
3054
3055 const vull __builtin_altivec_vexpandmd (vull);
3056 VEXPANDMD vec_expand_v2di {}
3057
3058 const vus __builtin_altivec_vexpandmh (vus);
3059 VEXPANDMH vec_expand_v8hi {}
3060
3061 const vuq __builtin_altivec_vexpandmq (vuq);
3062 VEXPANDMQ vec_expand_v1ti {}
3063
3064 const vui __builtin_altivec_vexpandmw (vui);
3065 VEXPANDMW vec_expand_v4si {}
3066
3067 const vull __builtin_altivec_vextddvhx (vull, vull, unsigned int);
3068 VEXTRACTDR vextractrv2di {}
3069
3070 const vull __builtin_altivec_vextddvlx (vull, vull, unsigned int);
3071 VEXTRACTDL vextractlv2di {}
3072
3073 const vull __builtin_altivec_vextdubvhx (vuc, vuc, unsigned int);
3074 VEXTRACTBR vextractrv16qi {}
3075
3076 const vull __builtin_altivec_vextdubvlx (vuc, vuc, unsigned int);
3077 VEXTRACTBL vextractlv16qi {}
3078
3079 const vull __builtin_altivec_vextduhvhx (vus, vus, unsigned int);
3080 VEXTRACTHR vextractrv8hi {}
3081
3082 const vull __builtin_altivec_vextduhvlx (vus, vus, unsigned int);
3083 VEXTRACTHL vextractlv8hi {}
3084
3085 const vull __builtin_altivec_vextduwvhx (vui, vui, unsigned int);
3086 VEXTRACTWR vextractrv4si {}
3087
3088 const vull __builtin_altivec_vextduwvlx (vui, vui, unsigned int);
3089 VEXTRACTWL vextractlv4si {}
3090
3091 const signed int __builtin_altivec_vextractmb (vsc);
3092 VEXTRACTMB vec_extract_v16qi {}
3093
3094 const signed int __builtin_altivec_vextractmd (vsll);
3095 VEXTRACTMD vec_extract_v2di {}
3096
3097 const signed int __builtin_altivec_vextractmh (vss);
3098 VEXTRACTMH vec_extract_v8hi {}
3099
3100 const signed int __builtin_altivec_vextractmq (vsq);
3101 VEXTRACTMQ vec_extract_v1ti {}
3102
3103 const signed int __builtin_altivec_vextractmw (vsi);
3104 VEXTRACTMW vec_extract_v4si {}
3105
3106 const unsigned long long __builtin_altivec_vgnb (vull, const int <2,7>);
3107 VGNB vgnb {}
3108
3109 const vuc __builtin_altivec_vinsgubvlx (unsigned int, vuc, unsigned int);
3110 VINSERTGPRBL vinsertgl_v16qi {}
3111
3112 const vsc __builtin_altivec_vinsgubvrx (signed int, vsc, signed int);
3113 VINSERTGPRBR vinsertgr_v16qi {}
3114
3115 const vull __builtin_altivec_vinsgudvlx (unsigned int, vull, unsigned int);
3116 VINSERTGPRDL vinsertgl_v2di {}
3117
3118 const vsll __builtin_altivec_vinsgudvrx (signed int, vsll, signed int);
3119 VINSERTGPRDR vinsertgr_v2di {}
3120
3121 const vus __builtin_altivec_vinsguhvlx (unsigned int, vus, unsigned int);
3122 VINSERTGPRHL vinsertgl_v8hi {}
3123
3124 const vss __builtin_altivec_vinsguhvrx (signed int, vss, signed int);
3125 VINSERTGPRHR vinsertgr_v8hi {}
3126
3127 const vui __builtin_altivec_vinsguwvlx (unsigned int, vui, unsigned int);
3128 VINSERTGPRWL vinsertgl_v4si {}
3129
3130 const vsi __builtin_altivec_vinsguwvrx (signed int, vsi, signed int);
3131 VINSERTGPRWR vinsertgr_v4si {}
3132
3133 const vuc __builtin_altivec_vinsvubvlx (vuc, vuc, unsigned int);
3134 VINSERTVPRBL vinsertvl_v16qi {}
3135
3136 const vsc __builtin_altivec_vinsvubvrx (vsc, vsc, signed int);
3137 VINSERTVPRBR vinsertvr_v16qi {}
3138
3139 const vus __builtin_altivec_vinsvuhvlx (vus, vus, unsigned int);
3140 VINSERTVPRHL vinsertvl_v8hi {}
3141
3142 const vss __builtin_altivec_vinsvuhvrx (vss, vss, signed int);
3143 VINSERTVPRHR vinsertvr_v8hi {}
3144
3145 const vui __builtin_altivec_vinsvuwvlx (vui, vui, unsigned int);
3146 VINSERTVPRWL vinsertvl_v4si {}
3147
3148 const vsi __builtin_altivec_vinsvuwvrx (vsi, vsi, signed int);
3149 VINSERTVPRWR vinsertvr_v4si {}
3150
3151 const vsll __builtin_altivec_vmodsd (vsll, vsll);
3152 VMODSD modv2di3 {}
3153
3154 const vsi __builtin_altivec_vmodsw (vsi, vsi);
3155 VMODSW modv4si3 {}
3156
3157 const vull __builtin_altivec_vmodud (vull, vull);
3158 VMODUD umodv2di3 {}
3159
3160 const vui __builtin_altivec_vmoduw (vui, vui);
3161 VMODUW umodv4si3 {}
3162
3163 const vsq __builtin_altivec_vmulesd (vsll, vsll);
3164 VMULESD vec_widen_smult_even_v2di {}
3165
3166 const vuq __builtin_altivec_vmuleud (vull, vull);
3167 VMULEUD vec_widen_umult_even_v2di {}
3168
3169 const vsll __builtin_altivec_vmulhsd (vsll, vsll);
3170 VMULHSD smulv2di3_highpart {}
3171
3172 const vsi __builtin_altivec_vmulhsw (vsi, vsi);
3173 VMULHSW smulv4si3_highpart {}
3174
3175 const vull __builtin_altivec_vmulhud (vull, vull);
3176 VMULHUD umulv2di3_highpart {}
3177
3178 const vui __builtin_altivec_vmulhuw (vui, vui);
3179 VMULHUW umulv4si3_highpart {}
3180
3181 const vsll __builtin_altivec_vmulld (vsll, vsll);
3182 VMULLD mulv2di3 {}
3183
3184 const vsq __builtin_altivec_vmulosd (vsll, vsll);
3185 VMULOSD vec_widen_smult_odd_v2di {}
3186
3187 const vuq __builtin_altivec_vmuloud (vull, vull);
3188 VMULOUD vec_widen_umult_odd_v2di {}
3189
3190 const vsq __builtin_altivec_vnor_v1ti (vsq, vsq);
3191 VNOR_V1TI norv1ti3 {}
3192
3193 const vuq __builtin_altivec_vnor_v1ti_uns (vuq, vuq);
3194 VNOR_V1TI_UNS norv1ti3 {}
3195
3196 const vull __builtin_altivec_vpdepd (vull, vull);
3197 VPDEPD vpdepd {}
3198
3199 const vull __builtin_altivec_vpextd (vull, vull);
3200 VPEXTD vpextd {}
3201
3202 const vuc __builtin_altivec_vreplace_un_udi (vuc, unsigned long long, \
3203 const int<4>);
3204 VREPLACE_UN_UDI vreplace_un_di {}
3205
3206 const vuc __builtin_altivec_vreplace_un_usi (vuc, unsigned int, \
3207 const int<4>);
3208 VREPLACE_UN_USI vreplace_un_si {}
3209
3210 const vuc __builtin_altivec_vreplace_un_df (vuc, double, const int<4>);
3211 VREPLACE_UN_DF vreplace_un_df {}
3212
3213 const vuc __builtin_altivec_vreplace_un_di (vuc, signed long long, \
3214 const int<4>);
3215 VREPLACE_UN_DI vreplace_un_di {}
3216
3217 const vuc __builtin_altivec_vreplace_un_sf (vuc, float, const int<4>);
3218 VREPLACE_UN_SF vreplace_un_sf {}
3219
3220 const vuc __builtin_altivec_vreplace_un_si (vuc, signed int, const int<4>);
3221 VREPLACE_UN_SI vreplace_un_si {}
3222
3223 const vull __builtin_altivec_vreplace_uv2di (vull, unsigned long long, \
3224 const int<1>);
3225 VREPLACE_ELT_UV2DI vreplace_elt_v2di {}
3226
3227 const vui __builtin_altivec_vreplace_uv4si (vui, unsigned int, const int<2>);
3228 VREPLACE_ELT_UV4SI vreplace_elt_v4si {}
3229
3230 const vd __builtin_altivec_vreplace_v2df (vd, double, const int<1>);
3231 VREPLACE_ELT_V2DF vreplace_elt_v2df {}
3232
3233 const vsll __builtin_altivec_vreplace_v2di (vsll, signed long long, \
3234 const int<1>);
3235 VREPLACE_ELT_V2DI vreplace_elt_v2di {}
3236
3237 const vf __builtin_altivec_vreplace_v4sf (vf, float, const int<2>);
3238 VREPLACE_ELT_V4SF vreplace_elt_v4sf {}
3239
3240 const vsi __builtin_altivec_vreplace_v4si (vsi, signed int, const int<2>);
3241 VREPLACE_ELT_V4SI vreplace_elt_v4si {}
3242
3243 const vsq __builtin_altivec_vrlq (vsq, vuq);
3244 VRLQ vrotlv1ti3 {}
3245
3246 const vsq __builtin_altivec_vrlqmi (vsq, vsq, vuq);
3247 VRLQMI altivec_vrlqmi {}
3248
3249 const vsq __builtin_altivec_vrlqnm (vsq, vuq);
3250 VRLQNM altivec_vrlqnm {}
3251
3252 const vsq __builtin_altivec_vsignext (vsll);
3253 VSIGNEXTSD2Q vsx_sign_extend_v2di_v1ti {}
3254
3255 const vsc __builtin_altivec_vsldb_v16qi (vsc, vsc, const int<3>);
3256 VSLDB_V16QI vsldb_v16qi {}
3257
3258 const vsll __builtin_altivec_vsldb_v2di (vsll, vsll, const int<3>);
3259 VSLDB_V2DI vsldb_v2di {}
3260
3261 const vsi __builtin_altivec_vsldb_v4si (vsi, vsi, const int<3>);
3262 VSLDB_V4SI vsldb_v4si {}
3263
3264 const vss __builtin_altivec_vsldb_v8hi (vss, vss, const int<3>);
3265 VSLDB_V8HI vsldb_v8hi {}
3266
3267 const vsq __builtin_altivec_vsldb_v1ti (vsq, vsq, const int<3>);
3268 VSLDB_V1TI vsldb_v1ti {}
3269
3270 const vsq __builtin_altivec_vslq (vsq, vuq);
3271 VSLQ vashlv1ti3 {}
3272
3273 const vsq __builtin_altivec_vsraq (vsq, vuq);
3274 VSRAQ vashrv1ti3 {}
3275
3276 const vsc __builtin_altivec_vsrdb_v16qi (vsc, vsc, const int<3>);
3277 VSRDB_V16QI vsrdb_v16qi {}
3278
3279 const vsll __builtin_altivec_vsrdb_v2di (vsll, vsll, const int<3>);
3280 VSRDB_V2DI vsrdb_v2di {}
3281
3282 const vsi __builtin_altivec_vsrdb_v4si (vsi, vsi, const int<3>);
3283 VSRDB_V4SI vsrdb_v4si {}
3284
3285 const vss __builtin_altivec_vsrdb_v8hi (vss, vss, const int<3>);
3286 VSRDB_V8HI vsrdb_v8hi {}
3287
3288 const vsq __builtin_altivec_vsrdb_v1ti (vsq, vsq, const int<3>);
3289 VSRDB_V1TI vsrdb_v1ti {}
3290
3291 const vsq __builtin_altivec_vsrq (vsq, vuq);
3292 VSRQ vlshrv1ti3 {}
3293
3294 const vsc __builtin_altivec_vstribl (vsc);
3295 VSTRIBL vstril_v16qi {}
3296
3297 const signed int __builtin_altivec_vstribl_p (vsc);
3298 VSTRIBL_P vstril_p_v16qi {}
3299
3300 const vsc __builtin_altivec_vstribr (vsc);
3301 VSTRIBR vstrir_v16qi {}
3302
3303 const signed int __builtin_altivec_vstribr_p (vsc);
3304 VSTRIBR_P vstrir_p_v16qi {}
3305
3306 const vss __builtin_altivec_vstrihl (vss);
3307 VSTRIHL vstril_v8hi {}
3308
3309 const signed int __builtin_altivec_vstrihl_p (vss);
3310 VSTRIHL_P vstril_p_v8hi {}
3311
3312 const vss __builtin_altivec_vstrihr (vss);
3313 VSTRIHR vstrir_v8hi {}
3314
3315 const signed int __builtin_altivec_vstrihr_p (vss);
3316 VSTRIHR_P vstrir_p_v8hi {}
3317
3318 const vuq __builtin_vsx_vmsumcud (vull, vull, vuq);
3319 VMSUMCUD vmsumcud {}
3320
3321 const signed int __builtin_vsx_xvtlsbb_all_ones (vsc);
3322 XVTLSBB_ONES xvtlsbbo {}
3323
3324 const signed int __builtin_vsx_xvtlsbb_all_zeros (vsc);
3325 XVTLSBB_ZEROS xvtlsbbz {}
3326
3327 const vf __builtin_vsx_vxxsplti32dx_v4sf (vf, const int<1>, float);
3328 VXXSPLTI32DX_V4SF xxsplti32dx_v4sf {}
3329
3330 const vsi __builtin_vsx_vxxsplti32dx_v4si (vsi, const int<1>, signed int);
3331 VXXSPLTI32DX_V4SI xxsplti32dx_v4si {}
3332
3333 const vd __builtin_vsx_vxxspltidp (float);
3334 VXXSPLTIDP xxspltidp_v2df {}
3335
3336 const vf __builtin_vsx_vxxspltiw_v4sf (float);
3337 VXXSPLTIW_V4SF xxspltiw_v4sf {}
3338
3339 const vsi __builtin_vsx_vxxspltiw_v4si (signed int);
3340 VXXSPLTIW_V4SI xxspltiw_v4si {}
3341
3342 const vuc __builtin_vsx_xvcvbf16spn (vuc);
3343 XVCVBF16SPN vsx_xvcvbf16spn {}
3344
3345 const vuc __builtin_vsx_xvcvspbf16 (vuc);
3346 XVCVSPBF16 vsx_xvcvspbf16 {}
3347
3348 const vuc __builtin_vsx_xxblend_v16qi (vuc, vuc, vuc);
3349 VXXBLEND_V16QI xxblend_v16qi {}
3350
3351 const vd __builtin_vsx_xxblend_v2df (vd, vd, vd);
3352 VXXBLEND_V2DF xxblend_v2df {}
3353
3354 const vull __builtin_vsx_xxblend_v2di (vull, vull, vull);
3355 VXXBLEND_V2DI xxblend_v2di {}
3356
3357 const vf __builtin_vsx_xxblend_v4sf (vf, vf, vf);
3358 VXXBLEND_V4SF xxblend_v4sf {}
3359
3360 const vui __builtin_vsx_xxblend_v4si (vui, vui, vui);
3361 VXXBLEND_V4SI xxblend_v4si {}
3362
3363 const vus __builtin_vsx_xxblend_v8hi (vus, vus, vus);
3364 VXXBLEND_V8HI xxblend_v8hi {}
3365
3366 const vull __builtin_vsx_xxeval (vull, vull, vull, const int <8>);
3367 XXEVAL xxeval {}
3368
3369 const vuc __builtin_vsx_xxgenpcvm_v16qi (vuc, const int <2>);
3370 XXGENPCVM_V16QI xxgenpcvm_v16qi {}
3371
3372 const vull __builtin_vsx_xxgenpcvm_v2di (vull, const int <2>);
3373 XXGENPCVM_V2DI xxgenpcvm_v2di {}
3374
3375 const vui __builtin_vsx_xxgenpcvm_v4si (vui, const int <2>);
3376 XXGENPCVM_V4SI xxgenpcvm_v4si {}
3377
3378 const vus __builtin_vsx_xxgenpcvm_v8hi (vus, const int <2>);
3379 XXGENPCVM_V8HI xxgenpcvm_v8hi {}
3380
3381 const vuc __builtin_vsx_xxpermx_uv16qi (vuc, vuc, vuc, const int<3>);
3382 XXPERMX_UV16QI xxpermx {}
3383
3384 const vull __builtin_vsx_xxpermx_uv2di (vull, vull, vuc, const int<3>);
3385 XXPERMX_UV2DI xxpermx {}
3386
3387 const vui __builtin_vsx_xxpermx_uv4si (vui, vui, vuc, const int<3>);
3388 XXPERMX_UV4SI xxpermx {}
3389
3390 const vus __builtin_vsx_xxpermx_uv8hi (vus, vus, vuc, const int<3>);
3391 XXPERMX_UV8HI xxpermx {}
3392
3393 const vsc __builtin_vsx_xxpermx_v16qi (vsc, vsc, vuc, const int<3>);
3394 XXPERMX_V16QI xxpermx {}
3395
3396 const vd __builtin_vsx_xxpermx_v2df (vd, vd, vuc, const int<3>);
3397 XXPERMX_V2DF xxpermx {}
3398
3399 const vsll __builtin_vsx_xxpermx_v2di (vsll, vsll, vuc, const int<3>);
3400 XXPERMX_V2DI xxpermx {}
3401
3402 const vf __builtin_vsx_xxpermx_v4sf (vf, vf, vuc, const int<3>);
3403 XXPERMX_V4SF xxpermx {}
3404
3405 const vsi __builtin_vsx_xxpermx_v4si (vsi, vsi, vuc, const int<3>);
3406 XXPERMX_V4SI xxpermx {}
3407
3408 const vss __builtin_vsx_xxpermx_v8hi (vss, vss, vuc, const int<3>);
3409 XXPERMX_V8HI xxpermx {}
3410
3411 pure unsigned __int128 __builtin_altivec_ze_lxvrbx (signed long, \
3412 const unsigned char *);
3413 ZE_LXVRBX vsx_lxvrbx {lxvrze}
3414
3415 pure unsigned __int128 __builtin_altivec_ze_lxvrhx (signed long, \
3416 const unsigned short *);
3417 ZE_LXVRHX vsx_lxvrhx {lxvrze}
3418
3419 pure unsigned __int128 __builtin_altivec_ze_lxvrwx (signed long, \
3420 const unsigned int *);
3421 ZE_LXVRWX vsx_lxvrwx {lxvrze}
3422
3423 pure unsigned __int128 \
3424 __builtin_altivec_ze_lxvrdx (signed long, const unsigned long long *);
3425 ZE_LXVRDX vsx_lxvrdx {lxvrze}
3426
3427
3428 [power10-64]
3429 const unsigned long long __builtin_cfuged (unsigned long long, \
3430 unsigned long long);
3431 CFUGED cfuged {}
3432
3433 const unsigned long long __builtin_cntlzdm (unsigned long long, \
3434 unsigned long long);
3435 CNTLZDM cntlzdm {}
3436
3437 const unsigned long long __builtin_cnttzdm (unsigned long long, \
3438 unsigned long long);
3439 CNTTZDM cnttzdm {}
3440
3441 const unsigned long long __builtin_pdepd (unsigned long long, \
3442 unsigned long long);
3443 PDEPD pdepd {}
3444
3445 const unsigned long long __builtin_pextd (unsigned long long, \
3446 unsigned long long);
3447 PEXTD pextd {}
3448
3449
3450 [mma]
3451 void __builtin_mma_assemble_acc (v512 *, vuc, vuc, vuc, vuc);
3452 ASSEMBLE_ACC nothing {mma,mmaint}
3453
3454 v512 __builtin_mma_assemble_acc_internal (vuc, vuc, vuc, vuc);
3455 ASSEMBLE_ACC_INTERNAL mma_assemble_acc {mma}
3456
3457 void __builtin_mma_assemble_pair (v256 *, vuc, vuc);
3458 ASSEMBLE_PAIR nothing {mma,mmaint}
3459
3460 v256 __builtin_mma_assemble_pair_internal (vuc, vuc);
3461 ASSEMBLE_PAIR_INTERNAL vsx_assemble_pair {mma}
3462
3463 void __builtin_mma_build_acc (v512 *, vuc, vuc, vuc, vuc);
3464 BUILD_ACC nothing {mma,mmaint}
3465
3466 v512 __builtin_mma_build_acc_internal (vuc, vuc, vuc, vuc);
3467 BUILD_ACC_INTERNAL mma_assemble_acc {mma}
3468
3469 void __builtin_mma_disassemble_acc (void *, v512 *);
3470 DISASSEMBLE_ACC nothing {mma,quad,mmaint}
3471
3472 vuc __builtin_mma_disassemble_acc_internal (v512, const int<2>);
3473 DISASSEMBLE_ACC_INTERNAL mma_disassemble_acc {mma}
3474
3475 void __builtin_mma_disassemble_pair (void *, v256 *);
3476 DISASSEMBLE_PAIR nothing {mma,pair,mmaint}
3477
3478 vuc __builtin_mma_disassemble_pair_internal (v256, const int<2>);
3479 DISASSEMBLE_PAIR_INTERNAL vsx_disassemble_pair {mma}
3480
3481 void __builtin_mma_pmxvbf16ger2 (v512 *, vuc, vuc, const int<4>, \
3482 const int<4>, const int<2>);
3483 PMXVBF16GER2 nothing {mma,mmaint}
3484
3485 v512 __builtin_mma_pmxvbf16ger2_internal (vuc, vuc, const int<4>, \
3486 const int<4>, const int<2>);
3487 PMXVBF16GER2_INTERNAL mma_pmxvbf16ger2 {mma}
3488
3489 void __builtin_mma_pmxvbf16ger2nn (v512 *, vuc, vuc, const int<4>, \
3490 const int<4>, const int<2>);
3491 PMXVBF16GER2NN nothing {mma,quad,mmaint}
3492
3493 v512 __builtin_mma_pmxvbf16ger2nn_internal (v512, vuc, vuc, const int<4>, \
3494 const int<4>, const int<2>);
3495 PMXVBF16GER2NN_INTERNAL mma_pmxvbf16ger2nn {mma,quad}
3496
3497 void __builtin_mma_pmxvbf16ger2np (v512 *, vuc, vuc, const int<4>, \
3498 const int<4>, const int<2>);
3499 PMXVBF16GER2NP nothing {mma,quad,mmaint}
3500
3501 v512 __builtin_mma_pmxvbf16ger2np_internal (v512, vuc, vuc, const int<4>, \
3502 const int<4>, const int<2>);
3503 PMXVBF16GER2NP_INTERNAL mma_pmxvbf16ger2np {mma,quad}
3504
3505 void __builtin_mma_pmxvbf16ger2pn (v512 *, vuc, vuc, const int<4>, \
3506 const int<4>, const int<2>);
3507 PMXVBF16GER2PN nothing {mma,quad,mmaint}
3508
3509 v512 __builtin_mma_pmxvbf16ger2pn_internal (v512, vuc, vuc, const int<4>, \
3510 const int<4>, const int<2>);
3511 PMXVBF16GER2PN_INTERNAL mma_pmxvbf16ger2pn {mma,quad}
3512
3513 void __builtin_mma_pmxvbf16ger2pp (v512 *, vuc, vuc, const int<4>, \
3514 const int<4>, const int<2>);
3515 PMXVBF16GER2PP nothing {mma,quad,mmaint}
3516
3517 v512 __builtin_mma_pmxvbf16ger2pp_internal (v512, vuc, vuc, const int<4>, \
3518 const int<4>, const int<2>);
3519 PMXVBF16GER2PP_INTERNAL mma_pmxvbf16ger2pp {mma,quad}
3520
3521 void __builtin_mma_pmxvf16ger2 (v512 *, vuc, vuc, const int<4>, \
3522 const int<4>, const int<2>);
3523 PMXVF16GER2 nothing {mma,mmaint}
3524
3525 v512 __builtin_mma_pmxvf16ger2_internal (vuc, vuc, const int<4>, \
3526 const int<4>, const int<2>);
3527 PMXVF16GER2_INTERNAL mma_pmxvf16ger2 {mma}
3528
3529 void __builtin_mma_pmxvf16ger2nn (v512 *, vuc, vuc, const int<4>, \
3530 const int<4>, const int<2>);
3531 PMXVF16GER2NN nothing {mma,quad,mmaint}
3532
3533 v512 __builtin_mma_pmxvf16ger2nn_internal (v512, vuc, vuc, const int<4>, \
3534 const int<4>, const int<2>);
3535 PMXVF16GER2NN_INTERNAL mma_pmxvf16ger2nn {mma,quad}
3536
3537 void __builtin_mma_pmxvf16ger2np (v512 *, vuc, vuc, const int<4>, \
3538 const int<4>, const int<2>);
3539 PMXVF16GER2NP nothing {mma,quad,mmaint}
3540
3541 v512 __builtin_mma_pmxvf16ger2np_internal (v512, vuc, vuc, const int<4>, \
3542 const int<4>, const int<2>);
3543 PMXVF16GER2NP_INTERNAL mma_pmxvf16ger2np {mma,quad}
3544
3545 void __builtin_mma_pmxvf16ger2pn (v512 *, vuc, vuc, const int<4>, \
3546 const int<4>, const int<2>);
3547 PMXVF16GER2PN nothing {mma,quad,mmaint}
3548
3549 v512 __builtin_mma_pmxvf16ger2pn_internal (v512, vuc, vuc, const int<4>, \
3550 const int<4>, const int<2>);
3551 PMXVF16GER2PN_INTERNAL mma_pmxvf16ger2pn {mma,quad}
3552
3553 void __builtin_mma_pmxvf16ger2pp (v512 *, vuc, vuc, const int<4>, \
3554 const int<4>, const int<2>);
3555 PMXVF16GER2PP nothing {mma,quad,mmaint}
3556
3557 v512 __builtin_mma_pmxvf16ger2pp_internal (v512, vuc, vuc, const int<4>, \
3558 const int<4>, const int<2>);
3559 PMXVF16GER2PP_INTERNAL mma_pmxvf16ger2pp {mma,quad}
3560
3561 void __builtin_mma_pmxvf32ger (v512 *, vuc, vuc, const int<4>, const int<4>);
3562 PMXVF32GER nothing {mma,mmaint}
3563
3564 v512 __builtin_mma_pmxvf32ger_internal (vuc, vuc, const int<4>, \
3565 const int<4>);
3566 PMXVF32GER_INTERNAL mma_pmxvf32ger {mma}
3567
3568 void __builtin_mma_pmxvf32gernn (v512 *, vuc, vuc, const int<4>, \
3569 const int<4>);
3570 PMXVF32GERNN nothing {mma,quad,mmaint}
3571
3572 v512 __builtin_mma_pmxvf32gernn_internal (v512, vuc, vuc, const int<4>, \
3573 const int<4>);
3574 PMXVF32GERNN_INTERNAL mma_pmxvf32gernn {mma,quad}
3575
3576 void __builtin_mma_pmxvf32gernp (v512 *, vuc, vuc, const int<4>, \
3577 const int<4>);
3578 PMXVF32GERNP nothing {mma,quad,mmaint}
3579
3580 v512 __builtin_mma_pmxvf32gernp_internal (v512, vuc, vuc, const int<4>, \
3581 const int<4>);
3582 PMXVF32GERNP_INTERNAL mma_pmxvf32gernp {mma,quad}
3583
3584 void __builtin_mma_pmxvf32gerpn (v512 *, vuc, vuc, const int<4>, \
3585 const int<4>);
3586 PMXVF32GERPN nothing {mma,quad,mmaint}
3587
3588 v512 __builtin_mma_pmxvf32gerpn_internal (v512, vuc, vuc, const int<4>, \
3589 const int<4>);
3590 PMXVF32GERPN_INTERNAL mma_pmxvf32gerpn {mma,quad}
3591
3592 void __builtin_mma_pmxvf32gerpp (v512 *, vuc, vuc, const int<4>, \
3593 const int<4>);
3594 PMXVF32GERPP nothing {mma,quad,mmaint}
3595
3596 v512 __builtin_mma_pmxvf32gerpp_internal (v512, vuc, vuc, const int<4>, \
3597 const int<4>);
3598 PMXVF32GERPP_INTERNAL mma_pmxvf32gerpp {mma,quad}
3599
3600 void __builtin_mma_pmxvf64ger (v512 *, v256, vuc, const int<4>, \
3601 const int<2>);
3602 PMXVF64GER nothing {mma,pair,mmaint}
3603
3604 v512 __builtin_mma_pmxvf64ger_internal (v256, vuc, const int<4>, \
3605 const int<2>);
3606 PMXVF64GER_INTERNAL mma_pmxvf64ger {mma,pair}
3607
3608 void __builtin_mma_pmxvf64gernn (v512 *, v256, vuc, const int<4>, \
3609 const int<2>);
3610 PMXVF64GERNN nothing {mma,pair,quad,mmaint}
3611
3612 v512 __builtin_mma_pmxvf64gernn_internal (v512, v256, vuc, const int<4>, \
3613 const int<2>);
3614 PMXVF64GERNN_INTERNAL mma_pmxvf64gernn {mma,pair,quad}
3615
3616 void __builtin_mma_pmxvf64gernp (v512 *, v256, vuc, const int<4>, \
3617 const int<2>);
3618 PMXVF64GERNP nothing {mma,pair,quad,mmaint}
3619
3620 v512 __builtin_mma_pmxvf64gernp_internal (v512, v256, vuc, const int<4>, \
3621 const int<2>);
3622 PMXVF64GERNP_INTERNAL mma_pmxvf64gernp {mma,pair,quad}
3623
3624 void __builtin_mma_pmxvf64gerpn (v512 *, v256, vuc, const int<4>, \
3625 const int<2>);
3626 PMXVF64GERPN nothing {mma,pair,quad,mmaint}
3627
3628 v512 __builtin_mma_pmxvf64gerpn_internal (v512, v256, vuc, const int<4>, \
3629 const int<2>);
3630 PMXVF64GERPN_INTERNAL mma_pmxvf64gerpn {mma,pair,quad}
3631
3632 void __builtin_mma_pmxvf64gerpp (v512 *, v256, vuc, const int<4>, \
3633 const int<2>);
3634 PMXVF64GERPP nothing {mma,pair,quad,mmaint}
3635
3636 v512 __builtin_mma_pmxvf64gerpp_internal (v512, v256, vuc, const int<4>, \
3637 const int<2>);
3638 PMXVF64GERPP_INTERNAL mma_pmxvf64gerpp {mma,pair,quad}
3639
3640 void __builtin_mma_pmxvi16ger2 (v512 *, vuc, vuc, const int<4>, \
3641 const int<4>, const int<2>);
3642 PMXVI16GER2 nothing {mma,mmaint}
3643
3644 v512 __builtin_mma_pmxvi16ger2_internal (vuc, vuc, const int<4>, \
3645 const int<4>, const int<2>);
3646 PMXVI16GER2_INTERNAL mma_pmxvi16ger2 {mma}
3647
3648 void __builtin_mma_pmxvi16ger2pp (v512 *, vuc, vuc, const int<4>, \
3649 const int<4>, const int<2>);
3650 PMXVI16GER2PP nothing {mma,quad,mmaint}
3651
3652 v512 __builtin_mma_pmxvi16ger2pp_internal (v512, vuc, vuc, const int<4>, \
3653 const int<4>, const int<2>);
3654 PMXVI16GER2PP_INTERNAL mma_pmxvi16ger2pp {mma,quad}
3655
3656 void __builtin_mma_pmxvi16ger2s (v512 *, vuc, vuc, const int<4>, \
3657 const int<4>, const int<2>);
3658 PMXVI16GER2S nothing {mma,mmaint}
3659
3660 v512 __builtin_mma_pmxvi16ger2s_internal (vuc, vuc, const int<4>, \
3661 const int<4>, const int<2>);
3662 PMXVI16GER2S_INTERNAL mma_pmxvi16ger2s {mma}
3663
3664 void __builtin_mma_pmxvi16ger2spp (v512 *, vuc, vuc, const int<4>, \
3665 const int<4>, const int<2>);
3666 PMXVI16GER2SPP nothing {mma,quad,mmaint}
3667
3668 v512 __builtin_mma_pmxvi16ger2spp_internal (v512, vuc, vuc, const int<4>, \
3669 const int<4>, const int<2>);
3670 PMXVI16GER2SPP_INTERNAL mma_pmxvi16ger2spp {mma,quad}
3671
3672 void __builtin_mma_pmxvi4ger8 (v512 *, vuc, vuc, const int<4>, \
3673 const int<4>, const int<8>);
3674 PMXVI4GER8 nothing {mma,mmaint}
3675
3676 v512 __builtin_mma_pmxvi4ger8_internal (vuc, vuc, const int<4>, \
3677 const int<4>, const int<8>);
3678 PMXVI4GER8_INTERNAL mma_pmxvi4ger8 {mma}
3679
3680 void __builtin_mma_pmxvi4ger8pp (v512 *, vuc, vuc, const int<4>, \
3681 const int<4>, const int<8>);
3682 PMXVI4GER8PP nothing {mma,quad,mmaint}
3683
3684 v512 __builtin_mma_pmxvi4ger8pp_internal (v512, vuc, vuc, const int<4>, \
3685 const int<4>, const int<8>);
3686 PMXVI4GER8PP_INTERNAL mma_pmxvi4ger8pp {mma,quad}
3687
3688 void __builtin_mma_pmxvi8ger4 (v512 *, vuc, vuc, const int<4>, \
3689 const int<4>, const int<4>);
3690 PMXVI8GER4 nothing {mma,mmaint}
3691
3692 v512 __builtin_mma_pmxvi8ger4_internal (vuc, vuc, const int<4>, \
3693 const int<4>, const int<4>);
3694 PMXVI8GER4_INTERNAL mma_pmxvi8ger4 {mma}
3695
3696 void __builtin_mma_pmxvi8ger4pp (v512 *, vuc, vuc, const int<4>, \
3697 const int<4>, const int<4>);
3698 PMXVI8GER4PP nothing {mma,quad,mmaint}
3699
3700 v512 __builtin_mma_pmxvi8ger4pp_internal (v512, vuc, vuc, const int<4>, \
3701 const int<4>, const int<4>);
3702 PMXVI8GER4PP_INTERNAL mma_pmxvi8ger4pp {mma,quad}
3703
3704 void __builtin_mma_pmxvi8ger4spp (v512 *, vuc, vuc, const int<4>, \
3705 const int<4>, const int<4>);
3706 PMXVI8GER4SPP nothing {mma,quad,mmaint}
3707
3708 v512 __builtin_mma_pmxvi8ger4spp_internal (v512, vuc, vuc, const int<4>, \
3709 const int<4>, const int<4>);
3710 PMXVI8GER4SPP_INTERNAL mma_pmxvi8ger4spp {mma,quad}
3711
3712 void __builtin_mma_xvbf16ger2 (v512 *, vuc, vuc);
3713 XVBF16GER2 nothing {mma,mmaint}
3714
3715 v512 __builtin_mma_xvbf16ger2_internal (vuc, vuc);
3716 XVBF16GER2_INTERNAL mma_xvbf16ger2 {mma}
3717
3718 void __builtin_mma_xvbf16ger2nn (v512 *, vuc, vuc);
3719 XVBF16GER2NN nothing {mma,quad,mmaint}
3720
3721 v512 __builtin_mma_xvbf16ger2nn_internal (v512, vuc, vuc);
3722 XVBF16GER2NN_INTERNAL mma_xvbf16ger2nn {mma,quad}
3723
3724 void __builtin_mma_xvbf16ger2np (v512 *, vuc, vuc);
3725 XVBF16GER2NP nothing {mma,quad,mmaint}
3726
3727 v512 __builtin_mma_xvbf16ger2np_internal (v512, vuc, vuc);
3728 XVBF16GER2NP_INTERNAL mma_xvbf16ger2np {mma,quad}
3729
3730 void __builtin_mma_xvbf16ger2pn (v512 *, vuc, vuc);
3731 XVBF16GER2PN nothing {mma,quad,mmaint}
3732
3733 v512 __builtin_mma_xvbf16ger2pn_internal (v512, vuc, vuc);
3734 XVBF16GER2PN_INTERNAL mma_xvbf16ger2pn {mma,quad}
3735
3736 void __builtin_mma_xvbf16ger2pp (v512 *, vuc, vuc);
3737 XVBF16GER2PP nothing {mma,quad,mmaint}
3738
3739 v512 __builtin_mma_xvbf16ger2pp_internal (v512, vuc, vuc);
3740 XVBF16GER2PP_INTERNAL mma_xvbf16ger2pp {mma,quad}
3741
3742 void __builtin_mma_xvf16ger2 (v512 *, vuc, vuc);
3743 XVF16GER2 nothing {mma,mmaint}
3744
3745 v512 __builtin_mma_xvf16ger2_internal (vuc, vuc);
3746 XVF16GER2_INTERNAL mma_xvf16ger2 {mma}
3747
3748 void __builtin_mma_xvf16ger2nn (v512 *, vuc, vuc);
3749 XVF16GER2NN nothing {mma,quad,mmaint}
3750
3751 v512 __builtin_mma_xvf16ger2nn_internal (v512, vuc, vuc);
3752 XVF16GER2NN_INTERNAL mma_xvf16ger2nn {mma,quad}
3753
3754 void __builtin_mma_xvf16ger2np (v512 *, vuc, vuc);
3755 XVF16GER2NP nothing {mma,quad,mmaint}
3756
3757 v512 __builtin_mma_xvf16ger2np_internal (v512, vuc, vuc);
3758 XVF16GER2NP_INTERNAL mma_xvf16ger2np {mma,quad}
3759
3760 void __builtin_mma_xvf16ger2pn (v512 *, vuc, vuc);
3761 XVF16GER2PN nothing {mma,quad,mmaint}
3762
3763 v512 __builtin_mma_xvf16ger2pn_internal (v512, vuc, vuc);
3764 XVF16GER2PN_INTERNAL mma_xvf16ger2pn {mma,quad}
3765
3766 void __builtin_mma_xvf16ger2pp (v512 *, vuc, vuc);
3767 XVF16GER2PP nothing {mma,quad,mmaint}
3768
3769 v512 __builtin_mma_xvf16ger2pp_internal (v512, vuc, vuc);
3770 XVF16GER2PP_INTERNAL mma_xvf16ger2pp {mma,quad}
3771
3772 void __builtin_mma_xvf32ger (v512 *, vuc, vuc);
3773 XVF32GER nothing {mma,mmaint}
3774
3775 v512 __builtin_mma_xvf32ger_internal (vuc, vuc);
3776 XVF32GER_INTERNAL mma_xvf32ger {mma}
3777
3778 void __builtin_mma_xvf32gernn (v512 *, vuc, vuc);
3779 XVF32GERNN nothing {mma,quad,mmaint}
3780
3781 v512 __builtin_mma_xvf32gernn_internal (v512, vuc, vuc);
3782 XVF32GERNN_INTERNAL mma_xvf32gernn {mma,quad}
3783
3784 void __builtin_mma_xvf32gernp (v512 *, vuc, vuc);
3785 XVF32GERNP nothing {mma,quad,mmaint}
3786
3787 v512 __builtin_mma_xvf32gernp_internal (v512, vuc, vuc);
3788 XVF32GERNP_INTERNAL mma_xvf32gernp {mma,quad}
3789
3790 void __builtin_mma_xvf32gerpn (v512 *, vuc, vuc);
3791 XVF32GERPN nothing {mma,quad,mmaint}
3792
3793 v512 __builtin_mma_xvf32gerpn_internal (v512, vuc, vuc);
3794 XVF32GERPN_INTERNAL mma_xvf32gerpn {mma,quad}
3795
3796 void __builtin_mma_xvf32gerpp (v512 *, vuc, vuc);
3797 XVF32GERPP nothing {mma,quad,mmaint}
3798
3799 v512 __builtin_mma_xvf32gerpp_internal (v512, vuc, vuc);
3800 XVF32GERPP_INTERNAL mma_xvf32gerpp {mma,quad}
3801
3802 void __builtin_mma_xvf64ger (v512 *, v256, vuc);
3803 XVF64GER nothing {mma,pair,mmaint}
3804
3805 v512 __builtin_mma_xvf64ger_internal (v256, vuc);
3806 XVF64GER_INTERNAL mma_xvf64ger {mma,pair}
3807
3808 void __builtin_mma_xvf64gernn (v512 *, v256, vuc);
3809 XVF64GERNN nothing {mma,pair,quad,mmaint}
3810
3811 v512 __builtin_mma_xvf64gernn_internal (v512, v256, vuc);
3812 XVF64GERNN_INTERNAL mma_xvf64gernn {mma,pair,quad}
3813
3814 void __builtin_mma_xvf64gernp (v512 *, v256, vuc);
3815 XVF64GERNP nothing {mma,pair,quad,mmaint}
3816
3817 v512 __builtin_mma_xvf64gernp_internal (v512, v256, vuc);
3818 XVF64GERNP_INTERNAL mma_xvf64gernp {mma,pair,quad}
3819
3820 void __builtin_mma_xvf64gerpn (v512 *, v256, vuc);
3821 XVF64GERPN nothing {mma,pair,quad,mmaint}
3822
3823 v512 __builtin_mma_xvf64gerpn_internal (v512, v256, vuc);
3824 XVF64GERPN_INTERNAL mma_xvf64gerpn {mma,pair,quad}
3825
3826 void __builtin_mma_xvf64gerpp (v512 *, v256, vuc);
3827 XVF64GERPP nothing {mma,pair,quad,mmaint}
3828
3829 v512 __builtin_mma_xvf64gerpp_internal (v512, v256, vuc);
3830 XVF64GERPP_INTERNAL mma_xvf64gerpp {mma,pair,quad}
3831
3832 void __builtin_mma_xvi16ger2 (v512 *, vuc, vuc);
3833 XVI16GER2 nothing {mma,mmaint}
3834
3835 v512 __builtin_mma_xvi16ger2_internal (vuc, vuc);
3836 XVI16GER2_INTERNAL mma_xvi16ger2 {mma}
3837
3838 void __builtin_mma_xvi16ger2pp (v512 *, vuc, vuc);
3839 XVI16GER2PP nothing {mma,quad,mmaint}
3840
3841 v512 __builtin_mma_xvi16ger2pp_internal (v512, vuc, vuc);
3842 XVI16GER2PP_INTERNAL mma_xvi16ger2pp {mma,quad}
3843
3844 void __builtin_mma_xvi16ger2s (v512 *, vuc, vuc);
3845 XVI16GER2S nothing {mma,mmaint}
3846
3847 v512 __builtin_mma_xvi16ger2s_internal (vuc, vuc);
3848 XVI16GER2S_INTERNAL mma_xvi16ger2s {mma}
3849
3850 void __builtin_mma_xvi16ger2spp (v512 *, vuc, vuc);
3851 XVI16GER2SPP nothing {mma,quad,mmaint}
3852
3853 v512 __builtin_mma_xvi16ger2spp_internal (v512, vuc, vuc);
3854 XVI16GER2SPP_INTERNAL mma_xvi16ger2spp {mma,quad}
3855
3856 void __builtin_mma_xvi4ger8 (v512 *, vuc, vuc);
3857 XVI4GER8 nothing {mma,mmaint}
3858
3859 v512 __builtin_mma_xvi4ger8_internal (vuc, vuc);
3860 XVI4GER8_INTERNAL mma_xvi4ger8 {mma}
3861
3862 void __builtin_mma_xvi4ger8pp (v512 *, vuc, vuc);
3863 XVI4GER8PP nothing {mma,quad,mmaint}
3864
3865 v512 __builtin_mma_xvi4ger8pp_internal (v512, vuc, vuc);
3866 XVI4GER8PP_INTERNAL mma_xvi4ger8pp {mma,quad}
3867
3868 void __builtin_mma_xvi8ger4 (v512 *, vuc, vuc);
3869 XVI8GER4 nothing {mma,mmaint}
3870
3871 v512 __builtin_mma_xvi8ger4_internal (vuc, vuc);
3872 XVI8GER4_INTERNAL mma_xvi8ger4 {mma}
3873
3874 void __builtin_mma_xvi8ger4pp (v512 *, vuc, vuc);
3875 XVI8GER4PP nothing {mma,quad,mmaint}
3876
3877 v512 __builtin_mma_xvi8ger4pp_internal (v512, vuc, vuc);
3878 XVI8GER4PP_INTERNAL mma_xvi8ger4pp {mma,quad}
3879
3880 void __builtin_mma_xvi8ger4spp (v512 *, vuc, vuc);
3881 XVI8GER4SPP nothing {mma,quad,mmaint}
3882
3883 v512 __builtin_mma_xvi8ger4spp_internal (v512, vuc, vuc);
3884 XVI8GER4SPP_INTERNAL mma_xvi8ger4spp {mma,quad}
3885
3886 void __builtin_mma_xxmfacc (v512 *);
3887 XXMFACC nothing {mma,quad,mmaint}
3888
3889 v512 __builtin_mma_xxmfacc_internal (v512);
3890 XXMFACC_INTERNAL mma_xxmfacc {mma,quad}
3891
3892 void __builtin_mma_xxmtacc (v512 *);
3893 XXMTACC nothing {mma,quad,mmaint}
3894
3895 v512 __builtin_mma_xxmtacc_internal (v512);
3896 XXMTACC_INTERNAL mma_xxmtacc {mma,quad}
3897
3898 void __builtin_mma_xxsetaccz (v512 *);
3899 XXSETACCZ nothing {mma,mmaint}
3900
3901 v512 __builtin_mma_xxsetaccz_internal ();
3902 XXSETACCZ_INTERNAL mma_xxsetaccz {mma}
3903
3904 void __builtin_vsx_assemble_pair (v256 *, vuc, vuc);
3905 ASSEMBLE_PAIR_V nothing {mma,mmaint}
3906
3907 v256 __builtin_vsx_assemble_pair_internal (vuc, vuc);
3908 ASSEMBLE_PAIR_V_INTERNAL vsx_assemble_pair {mma}
3909
3910 void __builtin_vsx_build_pair (v256 *, vuc, vuc);
3911 BUILD_PAIR nothing {mma,mmaint}
3912
3913 v256 __builtin_vsx_build_pair_internal (vuc, vuc);
3914 BUILD_PAIR_INTERNAL vsx_assemble_pair {mma}
3915
3916 void __builtin_vsx_disassemble_pair (void *, v256 *);
3917 DISASSEMBLE_PAIR_V nothing {mma,pair,mmaint}
3918
3919 vuc __builtin_vsx_disassemble_pair_internal (v256, const int<2>);
3920 DISASSEMBLE_PAIR_V_INTERNAL vsx_disassemble_pair {mma}
3921
3922 v256 __builtin_vsx_lxvp (unsigned long, const v256 *);
3923 LXVP nothing {mma}
3924
3925 void __builtin_vsx_stxvp (v256, unsigned long, const v256 *);
3926 STXVP nothing {mma,pair}