clang 24.0.0git
hlx_hexagon_protos.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8// Automatically generated file, do not edit!
9//===----------------------------------------------------------------------===//
10
11#ifndef _HLX_HEXAGON_PROTOS_H_
12#define _HLX_HEXAGON_PROTOS_H_ 1
13
14#ifdef __HLX__
15
16#if __HLX_ARCH__ >= 85
17/* ==========================================================================
18 Assembly Syntax: Ld16.tmp=mem(Rs32)
19 C Intrinsic Prototype: HLX_Vector Q6_L_tmp_mem_A(void* BaseAddress)
20 Instruction Type: LD
21 Execution Slots: SLOT1
22 ========================================================================== */
23
24#define Q6_L_tmp_mem_A __builtin_HEXAGON_LX_L16b_tmp
25#endif
26
27#if __HLX_ARCH__ >= 85
28/* ==========================================================================
29 Assembly Syntax: Ldd16.tmp=mem(Rs32)
30 C Intrinsic Prototype: HLX_VectorPair Q6_LL_tmp_mem_A(void* BaseAddress)
31 Instruction Type: MAPPING
32 Execution Slots: SLOT0123
33 ========================================================================== */
34
35#define Q6_LL_tmp_mem_A __builtin_HEXAGON_LX_LL16b_tmp
36#endif
37
38#if __HLX_ARCH__ >= 85
39/* ==========================================================================
40 Assembly Syntax: mem(Rs32)=Ku16.new
41 C Intrinsic Prototype: void Q6_mem_new_AL(void* BaseAddress, HLX_Vector Ku)
42 Instruction Type: ST
43 Execution Slots: SLOT0
44 ========================================================================== */
45
46#define Q6_mem_new_AL __builtin_HEXAGON_LX_S16b_new
47#endif
48
49#if __HLX_ARCH__ >= 85
50/* ==========================================================================
51 Assembly Syntax: mem(Rs32)=Kuu16.new
52 C Intrinsic Prototype: void Q6_mem_new_ALL(void* BaseAddress, HLX_VectorPair Kuu)
53 Instruction Type: MAPPING
54 Execution Slots: SLOT0123
55 ========================================================================== */
56
57#define Q6_mem_new_ALL __builtin_HEXAGON_LX_SS16b_new
58#endif
59
60#if __HLX_ARCH__ >= 85
61/* ==========================================================================
62 Assembly Syntax: Ld16.uh=abs(Lu16.h)
63 C Intrinsic Prototype: HLX_Vector Q6_Luh_abs_Lh(HLX_Vector Lu)
64 Instruction Type: M
65 Execution Slots: SLOT23
66 ========================================================================== */
67
68#define Q6_Luh_abs_Lh __builtin_HEXAGON_LX_abs_uh
69#endif
70
71#if __HLX_ARCH__ >= 85
72/* ==========================================================================
73 Assembly Syntax: Ld16.h=abs(Lu16.h):sat
74 C Intrinsic Prototype: HLX_Vector Q6_Lh_abs_Lh_sat(HLX_Vector Lu)
75 Instruction Type: M
76 Execution Slots: SLOT23
77 ========================================================================== */
78
79#define Q6_Lh_abs_Lh_sat __builtin_HEXAGON_LX_abs_uh_sat
80#endif
81
82#if __HLX_ARCH__ >= 85
83/* ==========================================================================
84 Assembly Syntax: Ldd16.uh=abs(Luu16.h)
85 C Intrinsic Prototype: HLX_VectorPair Q6_LWuh_abs_LWh(HLX_VectorPair Luu)
86 Instruction Type: M
87 Execution Slots: SLOT2
88 ========================================================================== */
89
90#define Q6_LWuh_abs_LWh __builtin_HEXAGON_LX_abs_uhp
91#endif
92
93#if __HLX_ARCH__ >= 85
94/* ==========================================================================
95 Assembly Syntax: Ldd16.h=abs(Luu16.h):sat
96 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_abs_LWh_sat(HLX_VectorPair Luu)
97 Instruction Type: M
98 Execution Slots: SLOT2
99 ========================================================================== */
100
101#define Q6_LWh_abs_LWh_sat __builtin_HEXAGON_LX_abs_uhp_sat
102#endif
103
104#if __HLX_ARCH__ >= 85
105/* ==========================================================================
106 Assembly Syntax: Ldd16.uw=abs(Luu16.w)
107 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_abs_LWw(HLX_VectorPair Luu)
108 Instruction Type: M
109 Execution Slots: SLOT2
110 ========================================================================== */
111
112#define Q6_LWuw_abs_LWw __builtin_HEXAGON_LX_abs_uw
113#endif
114
115#if __HLX_ARCH__ >= 85
116/* ==========================================================================
117 Assembly Syntax: Ldd16.w=abs(Luu16.w):sat
118 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_abs_LWw_sat(HLX_VectorPair Luu)
119 Instruction Type: M
120 Execution Slots: SLOT2
121 ========================================================================== */
122
123#define Q6_LWw_abs_LWw_sat __builtin_HEXAGON_LX_abs_uw_sat
124#endif
125
126#if __HLX_ARCH__ >= 85
127/* ==========================================================================
128 Assembly Syntax: Ld16.uh=absdiff(Lu16.h,Lv16.h)
129 C Intrinsic Prototype: HLX_Vector Q6_Luh_absdiff_LhLh(HLX_Vector Lu, HLX_Vector Lv)
130 Instruction Type: M
131 Execution Slots: SLOT2
132 ========================================================================== */
133
134#define Q6_Luh_absdiff_LhLh __builtin_HEXAGON_LX_absdiff_h
135#endif
136
137#if __HLX_ARCH__ >= 85
138/* ==========================================================================
139 Assembly Syntax: Ld16.uh=absdiff(Lu16.uh,Lv16.uh)
140 C Intrinsic Prototype: HLX_Vector Q6_Luh_absdiff_LuhLuh(HLX_Vector Lu, HLX_Vector Lv)
141 Instruction Type: M
142 Execution Slots: SLOT2
143 ========================================================================== */
144
145#define Q6_Luh_absdiff_LuhLuh __builtin_HEXAGON_LX_absdiff_uh
146#endif
147
148#if __HLX_ARCH__ >= 85
149/* ==========================================================================
150 Assembly Syntax: Ldd16.uw=absdiff(Luu16.uw,Lvv16.uw)
151 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_absdiff_LWuwLWuw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
152 Instruction Type: M
153 Execution Slots: SLOT2
154 ========================================================================== */
155
156#define Q6_LWuw_absdiff_LWuwLWuw __builtin_HEXAGON_LX_absdiff_uw
157#endif
158
159#if __HLX_ARCH__ >= 85
160/* ==========================================================================
161 Assembly Syntax: Ldd16.uw=absdiff(Luu16.w,Lvv16.w)
162 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_absdiff_LWwLWw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
163 Instruction Type: M
164 Execution Slots: SLOT2
165 ========================================================================== */
166
167#define Q6_LWuw_absdiff_LWwLWw __builtin_HEXAGON_LX_absdiff_w
168#endif
169
170#if __HLX_ARCH__ >= 85
171/* ==========================================================================
172 Assembly Syntax: Ld16.h=add(Lu16.h,Lv16.h)
173 C Intrinsic Prototype: HLX_Vector Q6_Lh_add_LhLh(HLX_Vector Lu, HLX_Vector Lv)
174 Instruction Type: M
175 Execution Slots: SLOT23
176 ========================================================================== */
177
178#define Q6_Lh_add_LhLh __builtin_HEXAGON_LX_add_h
179#endif
180
181#if __HLX_ARCH__ >= 85
182/* ==========================================================================
183 Assembly Syntax: Ld16.h=add(Lu16.h,Lv16.h):sat
184 C Intrinsic Prototype: HLX_Vector Q6_Lh_add_LhLh_sat(HLX_Vector Lu, HLX_Vector Lv)
185 Instruction Type: M
186 Execution Slots: SLOT23
187 ========================================================================== */
188
189#define Q6_Lh_add_LhLh_sat __builtin_HEXAGON_LX_add_h_sat
190#endif
191
192#if __HLX_ARCH__ >= 85
193/* ==========================================================================
194 Assembly Syntax: Ldd16.h=add(Luu16.h,Lvv16.h)
195 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_add_LWhLWh(HLX_VectorPair Luu, HLX_VectorPair Lvv)
196 Instruction Type: M
197 Execution Slots: SLOT2
198 ========================================================================== */
199
200#define Q6_LWh_add_LWhLWh __builtin_HEXAGON_LX_add_hp
201#endif
202
203#if __HLX_ARCH__ >= 85
204/* ==========================================================================
205 Assembly Syntax: Ldd16.h=add(Luu16.h,Lvv16.h):sat
206 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_add_LWhLWh_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
207 Instruction Type: M
208 Execution Slots: SLOT2
209 ========================================================================== */
210
211#define Q6_LWh_add_LWhLWh_sat __builtin_HEXAGON_LX_add_hp_sat
212#endif
213
214#if __HLX_ARCH__ >= 85
215/* ==========================================================================
216 Assembly Syntax: Ld16.uh=add(Lu16.uh,Lv16.uh):sat
217 C Intrinsic Prototype: HLX_Vector Q6_Luh_add_LuhLuh_sat(HLX_Vector Lu, HLX_Vector Lv)
218 Instruction Type: M
219 Execution Slots: SLOT23
220 ========================================================================== */
221
222#define Q6_Luh_add_LuhLuh_sat __builtin_HEXAGON_LX_add_uh_sat
223#endif
224
225#if __HLX_ARCH__ >= 85
226/* ==========================================================================
227 Assembly Syntax: Ld16.uh=add(Lu16.h,Lv16.h):sat
228 C Intrinsic Prototype: HLX_Vector Q6_Luh_add_LhLh_sat(HLX_Vector Lu, HLX_Vector Lv)
229 Instruction Type: M
230 Execution Slots: SLOT23
231 ========================================================================== */
232
233#define Q6_Luh_add_LhLh_sat __builtin_HEXAGON_LX_add_uhh_sat
234#endif
235
236#if __HLX_ARCH__ >= 85
237/* ==========================================================================
238 Assembly Syntax: Ldd16.uh=add(Luu16.h,Lvv16.h):sat
239 C Intrinsic Prototype: HLX_VectorPair Q6_LWuh_add_LWhLWh_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
240 Instruction Type: M
241 Execution Slots: SLOT2
242 ========================================================================== */
243
244#define Q6_LWuh_add_LWhLWh_sat __builtin_HEXAGON_LX_add_uhp_h_sat
245#endif
246
247#if __HLX_ARCH__ >= 85
248/* ==========================================================================
249 Assembly Syntax: Ldd16.uh=add(Luu16.uh,Lvv16.uh):sat
250 C Intrinsic Prototype: HLX_VectorPair Q6_LWuh_add_LWuhLWuh_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
251 Instruction Type: M
252 Execution Slots: SLOT2
253 ========================================================================== */
254
255#define Q6_LWuh_add_LWuhLWuh_sat __builtin_HEXAGON_LX_add_uhp_sat
256#endif
257
258#if __HLX_ARCH__ >= 85
259/* ==========================================================================
260 Assembly Syntax: Ldd16.uw=add(Luu16.uw,Lvv16.uw):sat
261 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_LWuwLWuw_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
262 Instruction Type: M
263 Execution Slots: SLOT2
264 ========================================================================== */
265
266#define Q6_LWuw_add_LWuwLWuw_sat __builtin_HEXAGON_LX_add_uw_sat
267#endif
268
269#if __HLX_ARCH__ >= 85
270/* ==========================================================================
271 Assembly Syntax: Ldd16.uw=add(Luu16.w,Lvv16.w):sat
272 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_LWwLWw_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
273 Instruction Type: M
274 Execution Slots: SLOT2
275 ========================================================================== */
276
277#define Q6_LWuw_add_LWwLWw_sat __builtin_HEXAGON_LX_add_uw_w_sat
278#endif
279
280#if __HLX_ARCH__ >= 85
281/* ==========================================================================
282 Assembly Syntax: Ldd16.w=add(Luu16.w,Lvv16.w)
283 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_add_LWwLWw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
284 Instruction Type: M
285 Execution Slots: SLOT2
286 ========================================================================== */
287
288#define Q6_LWw_add_LWwLWw __builtin_HEXAGON_LX_add_w
289#endif
290
291#if __HLX_ARCH__ >= 85
292/* ==========================================================================
293 Assembly Syntax: Ldd16.w=add(Luu16.w,Lvv16.w):sat
294 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_add_LWwLWw_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
295 Instruction Type: M
296 Execution Slots: SLOT2
297 ========================================================================== */
298
299#define Q6_LWw_add_LWwLWw_sat __builtin_HEXAGON_LX_add_w_sat
300#endif
301
302#if __HLX_ARCH__ >= 85
303/* ==========================================================================
304 Assembly Syntax: Ldd16.w=add(Lu16.uh,Lv16.uh)
305 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_add_LuhLuh(HLX_Vector Lu, HLX_Vector Lv)
306 Instruction Type: M
307 Execution Slots: SLOT23
308 ========================================================================== */
309
310#define Q6_LWw_add_LuhLuh __builtin_HEXAGON_LX_add_wuh
311#endif
312
313#if __HLX_ARCH__ >= 85
314/* ==========================================================================
315 Assembly Syntax: Ldd16.w=add(Luu16.w,Lv16.h)
316 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_add_LWwLh(HLX_VectorPair Luu, HLX_Vector Lv)
317 Instruction Type: M
318 Execution Slots: SLOT23
319 ========================================================================== */
320
321#define Q6_LWw_add_LWwLh __builtin_HEXAGON_LX_add_wwh
322#endif
323
324#if __HLX_ARCH__ >= 85
325/* ==========================================================================
326 Assembly Syntax: Ldd16.w=add(Luu16.w,Lv16.uh)
327 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_add_LWwLuh(HLX_VectorPair Luu, HLX_Vector Lv)
328 Instruction Type: M
329 Execution Slots: SLOT23
330 ========================================================================== */
331
332#define Q6_LWw_add_LWwLuh __builtin_HEXAGON_LX_add_wwuh
333#endif
334
335#if __HLX_ARCH__ >= 85
336/* ==========================================================================
337 Assembly Syntax: Ld16=and(Lu16,Lv16)
338 C Intrinsic Prototype: HLX_Vector Q6_L_and_LL(HLX_Vector Lu, HLX_Vector Lv)
339 Instruction Type: M
340 Execution Slots: SLOT23
341 ========================================================================== */
342
343#define Q6_L_and_LL __builtin_HEXAGON_LX_and
344#endif
345
346#if __HLX_ARCH__ >= 85
347/* ==========================================================================
348 Assembly Syntax: Ldd16=and(Luu16,Lvv16)
349 C Intrinsic Prototype: HLX_VectorPair Q6_LW_and_LWLW(HLX_VectorPair Luu, HLX_VectorPair Lvv)
350 Instruction Type: M
351 Execution Slots: SLOT2
352 ========================================================================== */
353
354#define Q6_LW_and_LWLW __builtin_HEXAGON_LX_and_w
355#endif
356
357#if __HLX_ARCH__ >= 85
358/* ==========================================================================
359 Assembly Syntax: Ld16=andn(Lu16,Lv16)
360 C Intrinsic Prototype: HLX_Vector Q6_L_andn_LL(HLX_Vector Lu, HLX_Vector Lv)
361 Instruction Type: M
362 Execution Slots: SLOT23
363 ========================================================================== */
364
365#define Q6_L_andn_LL __builtin_HEXAGON_LX_andn
366#endif
367
368#if __HLX_ARCH__ >= 85
369/* ==========================================================================
370 Assembly Syntax: Ldd16=andn(Luu16,Lvv16)
371 C Intrinsic Prototype: HLX_VectorPair Q6_LW_andn_LWLW(HLX_VectorPair Luu, HLX_VectorPair Lvv)
372 Instruction Type: M
373 Execution Slots: SLOT2
374 ========================================================================== */
375
376#define Q6_LW_andn_LWLW __builtin_HEXAGON_LX_andn_w
377#endif
378
379#if __HLX_ARCH__ >= 85
380/* ==========================================================================
381 Assembly Syntax: Ld16.h=Lu16.h
382 C Intrinsic Prototype: HLX_Vector Q6_Lh_equals_Lh(HLX_Vector Lu)
383 Instruction Type: M
384 Execution Slots: SLOT23
385 ========================================================================== */
386
387#define Q6_Lh_equals_Lh __builtin_HEXAGON_LX_assign
388#endif
389
390#if __HLX_ARCH__ >= 85
391/* ==========================================================================
392 Assembly Syntax: Ld16.h=Rt32.h
393 C Intrinsic Prototype: HLX_Vector Q6_Lh_equals_Rh(Word32 Rt)
394 Instruction Type: M
395 Execution Slots: SLOT23
396 ========================================================================== */
397
398#define Q6_Lh_equals_Rh __builtin_HEXAGON_LX_assign_r
399#endif
400
401#if __HLX_ARCH__ >= 85
402/* ==========================================================================
403 Assembly Syntax: Ldd16.w=Rt32.w
404 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_equals_Rw(Word32 Rt)
405 Instruction Type: M
406 Execution Slots: SLOT23
407 ========================================================================== */
408
409#define Q6_LWw_equals_Rw __builtin_HEXAGON_LX_assign_rw
410#endif
411
412#if __HLX_ARCH__ >= 85
413/* ==========================================================================
414 Assembly Syntax: Ld16.h=#s5
415 C Intrinsic Prototype: HLX_Vector Q6_Lh_equals_Is(Word32 Is5)
416 Instruction Type: M
417 Execution Slots: SLOT23
418 ========================================================================== */
419
420#define Q6_Lh_equals_Is __builtin_HEXAGON_LX_assign_s
421#endif
422
423#if __HLX_ARCH__ >= 85
424/* ==========================================================================
425 Assembly Syntax: Ld16.uh=#u5
426 C Intrinsic Prototype: HLX_Vector Q6_Luh_equals_I(Word32 Iu5)
427 Instruction Type: M
428 Execution Slots: SLOT23
429 ========================================================================== */
430
431#define Q6_Luh_equals_I __builtin_HEXAGON_LX_assign_u
432#endif
433
434#if __HLX_ARCH__ >= 85
435/* ==========================================================================
436 Assembly Syntax: Ldd16.w=Luu16.w
437 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_equals_LWw(HLX_VectorPair Luu)
438 Instruction Type: M
439 Execution Slots: SLOT23
440 ========================================================================== */
441
442#define Q6_LWw_equals_LWw __builtin_HEXAGON_LX_assign_w
443#endif
444
445#if __HLX_ARCH__ >= 85
446/* ==========================================================================
447 Assembly Syntax: Ld16.h=avg(Lu16.h,Lv16.h)
448 C Intrinsic Prototype: HLX_Vector Q6_Lh_avg_LhLh(HLX_Vector Lu, HLX_Vector Lv)
449 Instruction Type: M
450 Execution Slots: SLOT2
451 ========================================================================== */
452
453#define Q6_Lh_avg_LhLh __builtin_HEXAGON_LX_avg_h
454#endif
455
456#if __HLX_ARCH__ >= 85
457/* ==========================================================================
458 Assembly Syntax: Ld16.h=avg(Lu16.h,Lv16.h):rnd
459 C Intrinsic Prototype: HLX_Vector Q6_Lh_avg_LhLh_rnd(HLX_Vector Lu, HLX_Vector Lv)
460 Instruction Type: M
461 Execution Slots: SLOT2
462 ========================================================================== */
463
464#define Q6_Lh_avg_LhLh_rnd __builtin_HEXAGON_LX_avg_h_rnd
465#endif
466
467#if __HLX_ARCH__ >= 85
468/* ==========================================================================
469 Assembly Syntax: Ld16.uh=avg(Lu16.uh,Lv16.uh)
470 C Intrinsic Prototype: HLX_Vector Q6_Luh_avg_LuhLuh(HLX_Vector Lu, HLX_Vector Lv)
471 Instruction Type: M
472 Execution Slots: SLOT2
473 ========================================================================== */
474
475#define Q6_Luh_avg_LuhLuh __builtin_HEXAGON_LX_avg_uh
476#endif
477
478#if __HLX_ARCH__ >= 85
479/* ==========================================================================
480 Assembly Syntax: Ld16.uh=avg(Lu16.uh,Lv16.uh):rnd
481 C Intrinsic Prototype: HLX_Vector Q6_Luh_avg_LuhLuh_rnd(HLX_Vector Lu, HLX_Vector Lv)
482 Instruction Type: M
483 Execution Slots: SLOT2
484 ========================================================================== */
485
486#define Q6_Luh_avg_LuhLuh_rnd __builtin_HEXAGON_LX_avg_uh_rnd
487#endif
488
489#if __HLX_ARCH__ >= 85
490/* ==========================================================================
491 Assembly Syntax: Ldd16.uw=avg(Luu16.uw,Lvv16.uw)
492 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_avg_LWuwLWuw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
493 Instruction Type: M
494 Execution Slots: SLOT2
495 ========================================================================== */
496
497#define Q6_LWuw_avg_LWuwLWuw __builtin_HEXAGON_LX_avg_uw
498#endif
499
500#if __HLX_ARCH__ >= 85
501/* ==========================================================================
502 Assembly Syntax: Ldd16.uw=avg(Luu16.uw,Lvv16.uw):rnd
503 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_avg_LWuwLWuw_rnd(HLX_VectorPair Luu, HLX_VectorPair Lvv)
504 Instruction Type: M
505 Execution Slots: SLOT2
506 ========================================================================== */
507
508#define Q6_LWuw_avg_LWuwLWuw_rnd __builtin_HEXAGON_LX_avg_uw_rnd
509#endif
510
511#if __HLX_ARCH__ >= 85
512/* ==========================================================================
513 Assembly Syntax: Ldd16.w=avg(Luu16.w,Lvv16.w)
514 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_avg_LWwLWw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
515 Instruction Type: M
516 Execution Slots: SLOT2
517 ========================================================================== */
518
519#define Q6_LWw_avg_LWwLWw __builtin_HEXAGON_LX_avg_w
520#endif
521
522#if __HLX_ARCH__ >= 85
523/* ==========================================================================
524 Assembly Syntax: Ldd16.w=avg(Luu16.w,Lvv16.w):rnd
525 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_avg_LWwLWw_rnd(HLX_VectorPair Luu, HLX_VectorPair Lvv)
526 Instruction Type: M
527 Execution Slots: SLOT2
528 ========================================================================== */
529
530#define Q6_LWw_avg_LWwLWw_rnd __builtin_HEXAGON_LX_avg_w_rnd
531#endif
532
533#if __HLX_ARCH__ >= 85
534/* ==========================================================================
535 Assembly Syntax: Ld16.h=cmp.gt(Lu16.h, Lv16.h)
536 C Intrinsic Prototype: HLX_Vector Q6_Lh_cmp_gt_LhLh(HLX_Vector Lu, HLX_Vector Lv)
537 Instruction Type: M
538 Execution Slots: SLOT23
539 ========================================================================== */
540
541#define Q6_Lh_cmp_gt_LhLh __builtin_HEXAGON_LX_cmp_gt_h
542#endif
543
544#if __HLX_ARCH__ >= 85
545/* ==========================================================================
546 Assembly Syntax: Ldd16.h=cmp.gt(Luu16.h, Lvv16.h)
547 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_cmp_gt_LWhLWh(HLX_VectorPair Luu, HLX_VectorPair Lvv)
548 Instruction Type: M
549 Execution Slots: SLOT2
550 ========================================================================== */
551
552#define Q6_LWh_cmp_gt_LWhLWh __builtin_HEXAGON_LX_cmp_gt_hp
553#endif
554
555#if __HLX_ARCH__ >= 85
556/* ==========================================================================
557 Assembly Syntax: Ld16.h=cmp.gt(Lu16.uh, Lv16.uh)
558 C Intrinsic Prototype: HLX_Vector Q6_Lh_cmp_gt_LuhLuh(HLX_Vector Lu, HLX_Vector Lv)
559 Instruction Type: M
560 Execution Slots: SLOT23
561 ========================================================================== */
562
563#define Q6_Lh_cmp_gt_LuhLuh __builtin_HEXAGON_LX_cmp_gt_uh
564#endif
565
566#if __HLX_ARCH__ >= 85
567/* ==========================================================================
568 Assembly Syntax: Ldd16.h=cmp.gt(Luu16.uh, Lvv16.uh)
569 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_cmp_gt_LWuhLWuh(HLX_VectorPair Luu, HLX_VectorPair Lvv)
570 Instruction Type: M
571 Execution Slots: SLOT2
572 ========================================================================== */
573
574#define Q6_LWh_cmp_gt_LWuhLWuh __builtin_HEXAGON_LX_cmp_gt_uhp
575#endif
576
577#if __HLX_ARCH__ >= 85
578/* ==========================================================================
579 Assembly Syntax: Ldd16.w=cmp.gt(Luu16.uw, Lvv16.uw)
580 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_cmp_gt_LWuwLWuw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
581 Instruction Type: M
582 Execution Slots: SLOT2
583 ========================================================================== */
584
585#define Q6_LWw_cmp_gt_LWuwLWuw __builtin_HEXAGON_LX_cmp_gt_uw
586#endif
587
588#if __HLX_ARCH__ >= 85
589/* ==========================================================================
590 Assembly Syntax: Ldd16.w=cmp.gt(Luu16.w, Lvv16.w)
591 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_cmp_gt_LWwLWw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
592 Instruction Type: M
593 Execution Slots: SLOT2
594 ========================================================================== */
595
596#define Q6_LWw_cmp_gt_LWwLWw __builtin_HEXAGON_LX_cmp_gt_w
597#endif
598
599#if __HLX_ARCH__ >= 85
600/* ==========================================================================
601 Assembly Syntax: Ldd16=combine(Lu16,Lv16)
602 C Intrinsic Prototype: HLX_VectorPair Q6_LW_combine_LL(HLX_Vector Lu, HLX_Vector Lv)
603 Instruction Type: M
604 Execution Slots: SLOT2
605 ========================================================================== */
606
607#define Q6_LW_combine_LL __builtin_HEXAGON_LX_combine_w
608#endif
609
610#if __HLX_ARCH__ >= 85
611/* ==========================================================================
612 Assembly Syntax: Ld16.b=packhi(Lu16.h,Lv16.h)
613 C Intrinsic Prototype: HLX_Vector Q6_Lb_packhi_LhLh(HLX_Vector Lu, HLX_Vector Lv)
614 Instruction Type: M
615 Execution Slots: SLOT2
616 ========================================================================== */
617
618#define Q6_Lb_packhi_LhLh __builtin_HEXAGON_LX_conv_b_h_hi
619#endif
620
621#if __HLX_ARCH__ >= 85
622/* ==========================================================================
623 Assembly Syntax: Ld16.b=packlo(Lu16.h,Lv16.h)
624 C Intrinsic Prototype: HLX_Vector Q6_Lb_packlo_LhLh(HLX_Vector Lu, HLX_Vector Lv)
625 Instruction Type: M
626 Execution Slots: SLOT2
627 ========================================================================== */
628
629#define Q6_Lb_packlo_LhLh __builtin_HEXAGON_LX_conv_b_h_lo
630#endif
631
632#if __HLX_ARCH__ >= 85
633/* ==========================================================================
634 Assembly Syntax: Ldd16.h=unpackhi(Lu16.b)
635 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_unpackhi_Lb(HLX_Vector Lu)
636 Instruction Type: M
637 Execution Slots: SLOT2
638 ========================================================================== */
639
640#define Q6_LWh_unpackhi_Lb __builtin_HEXAGON_LX_conv_h_b_hi
641#endif
642
643#if __HLX_ARCH__ >= 85
644/* ==========================================================================
645 Assembly Syntax: Ldd16.h=unpacklo(Lu16.b)
646 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_unpacklo_Lb(HLX_Vector Lu)
647 Instruction Type: M
648 Execution Slots: SLOT2
649 ========================================================================== */
650
651#define Q6_LWh_unpacklo_Lb __builtin_HEXAGON_LX_conv_h_b_lo
652#endif
653
654#if __HLX_ARCH__ >= 85
655/* ==========================================================================
656 Assembly Syntax: Ldd16.uw=zxt(Lu16.uh)
657 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_zxt_Luh(HLX_Vector Lu)
658 Instruction Type: M
659 Execution Slots: SLOT23
660 ========================================================================== */
661
662#define Q6_LWuw_zxt_Luh __builtin_HEXAGON_LX_conv_uw_uh
663#endif
664
665#if __HLX_ARCH__ >= 85
666/* ==========================================================================
667 Assembly Syntax: Ldd16.w=sxt(Lu16.h)
668 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_sxt_Lh(HLX_Vector Lu)
669 Instruction Type: M
670 Execution Slots: SLOT23
671 ========================================================================== */
672
673#define Q6_LWw_sxt_Lh __builtin_HEXAGON_LX_conv_w_h
674#endif
675
676#if __HLX_ARCH__ >= 85
677/* ==========================================================================
678 Assembly Syntax: Ld16=hi(Luu16)
679 C Intrinsic Prototype: HLX_Vector Q6_L_hi_LW(HLX_VectorPair Luu)
680 Instruction Type: M
681 Execution Slots: SLOT0123
682 ========================================================================== */
683
684#define Q6_L_hi_LW __builtin_HEXAGON_LX_hi
685#endif
686
687#if __HLX_ARCH__ >= 85
688/* ==========================================================================
689 Assembly Syntax: Ld16=lo(Luu16)
690 C Intrinsic Prototype: HLX_Vector Q6_L_lo_LW(HLX_VectorPair Luu)
691 Instruction Type: M
692 Execution Slots: SLOT0123
693 ========================================================================== */
694
695#define Q6_L_lo_LW __builtin_HEXAGON_LX_lo
696#endif
697
698#if __HLX_ARCH__ >= 85
699/* ==========================================================================
700 Assembly Syntax: Ld16.h=lut4(Lu16.uh,Rtt32.h)
701 C Intrinsic Prototype: HLX_Vector Q6_Lh_lut4_LuhPh(HLX_Vector Lu, Word64 Rtt)
702 Instruction Type: M
703 Execution Slots: SLOT2
704 ========================================================================== */
705
706#define Q6_Lh_lut4_LuhPh __builtin_HEXAGON_LX_lut4
707#endif
708
709#if __HLX_ARCH__ >= 85
710/* ==========================================================================
711 Assembly Syntax: Ld16.h=lut4(Lu16.uh,Rtt32.h):mask
712 C Intrinsic Prototype: HLX_Vector Q6_Lh_lut4_LuhPh_mask(HLX_Vector Lu, Word64 Rtt)
713 Instruction Type: M
714 Execution Slots: SLOT2
715 ========================================================================== */
716
717#define Q6_Lh_lut4_LuhPh_mask __builtin_HEXAGON_LX_lut4_mask
718#endif
719
720#if __HLX_ARCH__ >= 85
721/* ==========================================================================
722 Assembly Syntax: Ldd16.w=lut4(Lu16.uh,Rtt32.uh):>>1
723 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_lut4_LuhPuh_rs1(HLX_Vector Lu, Word64 Rtt)
724 Instruction Type: M
725 Execution Slots: SLOT2
726 ========================================================================== */
727
728#define Q6_LWw_lut4_LuhPuh_rs1 __builtin_HEXAGON_LX_lut4_sh
729#endif
730
731#if __HLX_ARCH__ >= 85
732/* ==========================================================================
733 Assembly Syntax: Ldd16.w=lut4(Lu16.uh,Rtt32.uh):>>1:neg
734 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_lut4_LuhPuh_rs1_neg(HLX_Vector Lu, Word64 Rtt)
735 Instruction Type: M
736 Execution Slots: SLOT2
737 ========================================================================== */
738
739#define Q6_LWw_lut4_LuhPuh_rs1_neg __builtin_HEXAGON_LX_lut4_sh_neg
740#endif
741
742#if __HLX_ARCH__ >= 85
743/* ==========================================================================
744 Assembly Syntax: Ld16.h=max(Lu16.h,Lv16.h)
745 C Intrinsic Prototype: HLX_Vector Q6_Lh_max_LhLh(HLX_Vector Lu, HLX_Vector Lv)
746 Instruction Type: M
747 Execution Slots: SLOT23
748 ========================================================================== */
749
750#define Q6_Lh_max_LhLh __builtin_HEXAGON_LX_max_h
751#endif
752
753#if __HLX_ARCH__ >= 85
754/* ==========================================================================
755 Assembly Syntax: Ldd16.h=max(Luu16.h,Lvv16.h)
756 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_max_LWhLWh(HLX_VectorPair Luu, HLX_VectorPair Lvv)
757 Instruction Type: M
758 Execution Slots: SLOT2
759 ========================================================================== */
760
761#define Q6_LWh_max_LWhLWh __builtin_HEXAGON_LX_max_hp
762#endif
763
764#if __HLX_ARCH__ >= 85
765/* ==========================================================================
766 Assembly Syntax: Ld16.uh=max(Lu16.uh,Lv16.uh)
767 C Intrinsic Prototype: HLX_Vector Q6_Luh_max_LuhLuh(HLX_Vector Lu, HLX_Vector Lv)
768 Instruction Type: M
769 Execution Slots: SLOT23
770 ========================================================================== */
771
772#define Q6_Luh_max_LuhLuh __builtin_HEXAGON_LX_max_uh
773#endif
774
775#if __HLX_ARCH__ >= 85
776/* ==========================================================================
777 Assembly Syntax: Ldd16.uh=max(Luu16.uh,Lvv16.uh)
778 C Intrinsic Prototype: HLX_VectorPair Q6_LWuh_max_LWuhLWuh(HLX_VectorPair Luu, HLX_VectorPair Lvv)
779 Instruction Type: M
780 Execution Slots: SLOT2
781 ========================================================================== */
782
783#define Q6_LWuh_max_LWuhLWuh __builtin_HEXAGON_LX_max_uhp
784#endif
785
786#if __HLX_ARCH__ >= 85
787/* ==========================================================================
788 Assembly Syntax: Ldd16.uw=max(Luu16.uw,Lvv16.uw)
789 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_max_LWuwLWuw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
790 Instruction Type: M
791 Execution Slots: SLOT2
792 ========================================================================== */
793
794#define Q6_LWuw_max_LWuwLWuw __builtin_HEXAGON_LX_max_uw
795#endif
796
797#if __HLX_ARCH__ >= 85
798/* ==========================================================================
799 Assembly Syntax: Ldd16.w=max(Luu16.w,Lvv16.w)
800 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_max_LWwLWw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
801 Instruction Type: M
802 Execution Slots: SLOT2
803 ========================================================================== */
804
805#define Q6_LWw_max_LWwLWw __builtin_HEXAGON_LX_max_w
806#endif
807
808#if __HLX_ARCH__ >= 85
809/* ==========================================================================
810 Assembly Syntax: Ld16.h=min(Lu16.h,Lv16.h)
811 C Intrinsic Prototype: HLX_Vector Q6_Lh_min_LhLh(HLX_Vector Lu, HLX_Vector Lv)
812 Instruction Type: M
813 Execution Slots: SLOT23
814 ========================================================================== */
815
816#define Q6_Lh_min_LhLh __builtin_HEXAGON_LX_min_h
817#endif
818
819#if __HLX_ARCH__ >= 85
820/* ==========================================================================
821 Assembly Syntax: Ldd16.h=min(Luu16.h,Lvv16.h)
822 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_min_LWhLWh(HLX_VectorPair Luu, HLX_VectorPair Lvv)
823 Instruction Type: M
824 Execution Slots: SLOT2
825 ========================================================================== */
826
827#define Q6_LWh_min_LWhLWh __builtin_HEXAGON_LX_min_hp
828#endif
829
830#if __HLX_ARCH__ >= 85
831/* ==========================================================================
832 Assembly Syntax: Ld16.uh=min(Lu16.uh,Lv16.uh)
833 C Intrinsic Prototype: HLX_Vector Q6_Luh_min_LuhLuh(HLX_Vector Lu, HLX_Vector Lv)
834 Instruction Type: M
835 Execution Slots: SLOT23
836 ========================================================================== */
837
838#define Q6_Luh_min_LuhLuh __builtin_HEXAGON_LX_min_uh
839#endif
840
841#if __HLX_ARCH__ >= 85
842/* ==========================================================================
843 Assembly Syntax: Ldd16.uh=min(Luu16.uh,Lvv16.uh)
844 C Intrinsic Prototype: HLX_VectorPair Q6_LWuh_min_LWuhLWuh(HLX_VectorPair Luu, HLX_VectorPair Lvv)
845 Instruction Type: M
846 Execution Slots: SLOT2
847 ========================================================================== */
848
849#define Q6_LWuh_min_LWuhLWuh __builtin_HEXAGON_LX_min_uhp
850#endif
851
852#if __HLX_ARCH__ >= 85
853/* ==========================================================================
854 Assembly Syntax: Ldd16.uw=min(Luu16.uw,Lvv16.uw)
855 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_min_LWuwLWuw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
856 Instruction Type: M
857 Execution Slots: SLOT2
858 ========================================================================== */
859
860#define Q6_LWuw_min_LWuwLWuw __builtin_HEXAGON_LX_min_uw
861#endif
862
863#if __HLX_ARCH__ >= 85
864/* ==========================================================================
865 Assembly Syntax: Ldd16.w=min(Luu16.w,Lvv16.w)
866 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_min_LWwLWw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
867 Instruction Type: M
868 Execution Slots: SLOT2
869 ========================================================================== */
870
871#define Q6_LWw_min_LWwLWw __builtin_HEXAGON_LX_min_w
872#endif
873
874#if __HLX_ARCH__ >= 85
875/* ==========================================================================
876 Assembly Syntax: Lxx16.uw=add(mpy(Lu16.uh,hi(Lxx16).uh),Lvv16.w)
877 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_mpy_hi_LuhLWuhLWw(HLX_Vector Lu, HLX_VectorPair Lxx, HLX_VectorPair Lvv)
878 Instruction Type: M
879 Execution Slots: SLOT3
880 ========================================================================== */
881
882#define Q6_LWuw_add_mpy_hi_LuhLWuhLWw __builtin_HEXAGON_LX_mpa_uwuhuw_si
883#endif
884
885#if __HLX_ARCH__ >= 85
886/* ==========================================================================
887 Assembly Syntax: Lxx16.w+=mpy(Lu16.h,Lv16.h)
888 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpyacc_LhLh(HLX_VectorPair Lxx, HLX_Vector Lu, HLX_Vector Lv)
889 Instruction Type: M
890 Execution Slots: SLOT3
891 ========================================================================== */
892
893#define Q6_LWw_mpyacc_LhLh __builtin_HEXAGON_LX_mpa_wh
894#endif
895
896#if __HLX_ARCH__ >= 85
897/* ==========================================================================
898 Assembly Syntax: Lxx16.uw=add(mpy(Lu16.h,Lv16.uh),hi(Lxx16).uh)
899 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_mpy_hi_LhLuhLWuh(HLX_Vector Lu, HLX_Vector Lv, HLX_VectorPair Lxx)
900 Instruction Type: M
901 Execution Slots: SLOT3
902 ========================================================================== */
903
904#define Q6_LWuw_add_mpy_hi_LhLuhLWuh __builtin_HEXAGON_LX_mpa_wh_hi
905#endif
906
907#if __HLX_ARCH__ >= 85
908/* ==========================================================================
909 Assembly Syntax: Lxx16.w+=mpy(Lu16.h,Lv16.uh)
910 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpyacc_LhLuh(HLX_VectorPair Lxx, HLX_Vector Lu, HLX_Vector Lv)
911 Instruction Type: M
912 Execution Slots: SLOT3
913 ========================================================================== */
914
915#define Q6_LWw_mpyacc_LhLuh __builtin_HEXAGON_LX_mpa_whuh
916#endif
917
918#if __HLX_ARCH__ >= 85
919/* ==========================================================================
920 Assembly Syntax: Lxx16.w=add(mpy(Lu16.h,Lv16.uh),lo(Lxx16).uh)
921 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_add_mpy_lo_LhLuhLWuh(HLX_Vector Lu, HLX_Vector Lv, HLX_VectorPair Lxx)
922 Instruction Type: M
923 Execution Slots: SLOT3
924 ========================================================================== */
925
926#define Q6_LWw_add_mpy_lo_LhLuhLWuh __builtin_HEXAGON_LX_mpa_whuh_lo
927#endif
928
929#if __HLX_ARCH__ >= 85
930/* ==========================================================================
931 Assembly Syntax: Lxx16.w+=mpy(Lu16.uh,Lv16.uh)
932 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpyacc_LuhLuh(HLX_VectorPair Lxx, HLX_Vector Lu, HLX_Vector Lv)
933 Instruction Type: M
934 Execution Slots: SLOT3
935 ========================================================================== */
936
937#define Q6_LWw_mpyacc_LuhLuh __builtin_HEXAGON_LX_mpa_wuh
938#endif
939
940#if __HLX_ARCH__ >= 85
941/* ==========================================================================
942 Assembly Syntax: Lxx16.uw=add(mpy(Lu16.uh,Lv16.uh),hi(Lxx16).uh)
943 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_mpy_hi_LuhLuhLWuh(HLX_Vector Lu, HLX_Vector Lv, HLX_VectorPair Lxx)
944 Instruction Type: M
945 Execution Slots: SLOT3
946 ========================================================================== */
947
948#define Q6_LWuw_add_mpy_hi_LuhLuhLWuh __builtin_HEXAGON_LX_mpa_wuh_hi
949#endif
950
951#if __HLX_ARCH__ >= 85
952/* ==========================================================================
953 Assembly Syntax: Lxx16.uw=add(mpy(Lu16.uh,Lv16.uh),lo(Lxx16).uh)
954 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_mpy_lo_LuhLuhLWuh(HLX_Vector Lu, HLX_Vector Lv, HLX_VectorPair Lxx)
955 Instruction Type: M
956 Execution Slots: SLOT3
957 ========================================================================== */
958
959#define Q6_LWuw_add_mpy_lo_LuhLuhLWuh __builtin_HEXAGON_LX_mpa_wuh_lo
960#endif
961
962#if __HLX_ARCH__ >= 85
963/* ==========================================================================
964 Assembly Syntax: Lxx16.w=add(mpy(Lu16.uh,hi(Lxx16).h),Lvv16.w)
965 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_add_mpy_hi_LuhLWhLWw(HLX_Vector Lu, HLX_VectorPair Lxx, HLX_VectorPair Lvv)
966 Instruction Type: M
967 Execution Slots: SLOT3
968 ========================================================================== */
969
970#define Q6_LWw_add_mpy_hi_LuhLWhLWw __builtin_HEXAGON_LX_mpa_wuhw_si
971#endif
972
973#if __HLX_ARCH__ >= 85
974/* ==========================================================================
975 Assembly Syntax: Lxx16.uw=add(mpy(Lu16.uh,hi(Lxx16).uh),Rt32.w)
976 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_mpy_hi_LuhLWuhRw(HLX_Vector Lu, HLX_VectorPair Lxx, Word32 Rt)
977 Instruction Type: M
978 Execution Slots: SLOT3
979 ========================================================================== */
980
981#define Q6_LWuw_add_mpy_hi_LuhLWuhRw __builtin_HEXAGON_LX_mpar_uwuhuw_si
982#endif
983
984#if __HLX_ARCH__ >= 85
985/* ==========================================================================
986 Assembly Syntax: Lxx16.w+=mpy(Lu16.h,Rt32.h)
987 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpyacc_LhRh(HLX_VectorPair Lxx, HLX_Vector Lu, Word32 Rt)
988 Instruction Type: M
989 Execution Slots: SLOT3
990 ========================================================================== */
991
992#define Q6_LWw_mpyacc_LhRh __builtin_HEXAGON_LX_mpar_wh
993#endif
994
995#if __HLX_ARCH__ >= 85
996/* ==========================================================================
997 Assembly Syntax: Lxx16.uw=add(mpy(Lu16.h,Rt32.uh),hi(Lxx16).uh)
998 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_mpy_hi_LhRuhLWuh(HLX_Vector Lu, Word32 Rt, HLX_VectorPair Lxx)
999 Instruction Type: M
1000 Execution Slots: SLOT3
1001 ========================================================================== */
1002
1003#define Q6_LWuw_add_mpy_hi_LhRuhLWuh __builtin_HEXAGON_LX_mpar_wh_hi
1004#endif
1005
1006#if __HLX_ARCH__ >= 85
1007/* ==========================================================================
1008 Assembly Syntax: Lxx16.w+=mpy(Lu16.h,Rt32.uh)
1009 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpyacc_LhRuh(HLX_VectorPair Lxx, HLX_Vector Lu, Word32 Rt)
1010 Instruction Type: M
1011 Execution Slots: SLOT3
1012 ========================================================================== */
1013
1014#define Q6_LWw_mpyacc_LhRuh __builtin_HEXAGON_LX_mpar_whuh
1015#endif
1016
1017#if __HLX_ARCH__ >= 85
1018/* ==========================================================================
1019 Assembly Syntax: Lxx16.w=add(mpy(Lu16.h,Rt32.uh),lo(Lxx16).uh)
1020 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_add_mpy_lo_LhRuhLWuh(HLX_Vector Lu, Word32 Rt, HLX_VectorPair Lxx)
1021 Instruction Type: M
1022 Execution Slots: SLOT3
1023 ========================================================================== */
1024
1025#define Q6_LWw_add_mpy_lo_LhRuhLWuh __builtin_HEXAGON_LX_mpar_whuh_lo
1026#endif
1027
1028#if __HLX_ARCH__ >= 85
1029/* ==========================================================================
1030 Assembly Syntax: Lxx16.w+=mpy(Lu16.uh,Rt32.uh)
1031 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpyacc_LuhRuh(HLX_VectorPair Lxx, HLX_Vector Lu, Word32 Rt)
1032 Instruction Type: M
1033 Execution Slots: SLOT3
1034 ========================================================================== */
1035
1036#define Q6_LWw_mpyacc_LuhRuh __builtin_HEXAGON_LX_mpar_wuh
1037#endif
1038
1039#if __HLX_ARCH__ >= 85
1040/* ==========================================================================
1041 Assembly Syntax: Lxx16.uw=add(mpy(Lu16.uh,Rt32.uh),hi(Lxx16).uh)
1042 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_mpy_hi_LuhRuhLWuh(HLX_Vector Lu, Word32 Rt, HLX_VectorPair Lxx)
1043 Instruction Type: M
1044 Execution Slots: SLOT3
1045 ========================================================================== */
1046
1047#define Q6_LWuw_add_mpy_hi_LuhRuhLWuh __builtin_HEXAGON_LX_mpar_wuh_hi
1048#endif
1049
1050#if __HLX_ARCH__ >= 85
1051/* ==========================================================================
1052 Assembly Syntax: Lxx16.uw=add(mpy(Lu16.uh,Rt32.uh),lo(Lxx16).uh)
1053 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_add_mpy_lo_LuhRuhLWuh(HLX_Vector Lu, Word32 Rt, HLX_VectorPair Lxx)
1054 Instruction Type: M
1055 Execution Slots: SLOT3
1056 ========================================================================== */
1057
1058#define Q6_LWuw_add_mpy_lo_LuhRuhLWuh __builtin_HEXAGON_LX_mpar_wuh_lo
1059#endif
1060
1061#if __HLX_ARCH__ >= 85
1062/* ==========================================================================
1063 Assembly Syntax: Lxx16.w=add(mpy(Lu16.uh,hi(Lxx16).h),Rt32.w)
1064 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_add_mpy_hi_LuhLWhRw(HLX_Vector Lu, HLX_VectorPair Lxx, Word32 Rt)
1065 Instruction Type: M
1066 Execution Slots: SLOT3
1067 ========================================================================== */
1068
1069#define Q6_LWw_add_mpy_hi_LuhLWhRw __builtin_HEXAGON_LX_mpar_wuhw_si
1070#endif
1071
1072#if __HLX_ARCH__ >= 85
1073/* ==========================================================================
1074 Assembly Syntax: Ldd16.uw=mpy(Lu16.uh,Lv16.uh)
1075 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_mpy_LuhLuh(HLX_Vector Lu, HLX_Vector Lv)
1076 Instruction Type: M
1077 Execution Slots: SLOT3
1078 ========================================================================== */
1079
1080#define Q6_LWuw_mpy_LuhLuh __builtin_HEXAGON_LX_mpy_uw_uh
1081#endif
1082
1083#if __HLX_ARCH__ >= 85
1084/* ==========================================================================
1085 Assembly Syntax: Ldd16.w=mpy(Lu16.h,Lv16.h)
1086 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpy_LhLh(HLX_Vector Lu, HLX_Vector Lv)
1087 Instruction Type: M
1088 Execution Slots: SLOT3
1089 ========================================================================== */
1090
1091#define Q6_LWw_mpy_LhLh __builtin_HEXAGON_LX_mpy_w_h
1092#endif
1093
1094#if __HLX_ARCH__ >= 85
1095/* ==========================================================================
1096 Assembly Syntax: Ldd16.w=mpy(Lu16.h,Lv16.uh)
1097 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpy_LhLuh(HLX_Vector Lu, HLX_Vector Lv)
1098 Instruction Type: M
1099 Execution Slots: SLOT3
1100 ========================================================================== */
1101
1102#define Q6_LWw_mpy_LhLuh __builtin_HEXAGON_LX_mpy_w_huh
1103#endif
1104
1105#if __HLX_ARCH__ >= 85
1106/* ==========================================================================
1107 Assembly Syntax: Ldd16.uw=mpy(Lu16.uh,Rt32.uh)
1108 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_mpy_LuhRuh(HLX_Vector Lu, Word32 Rt)
1109 Instruction Type: M
1110 Execution Slots: SLOT3
1111 ========================================================================== */
1112
1113#define Q6_LWuw_mpy_LuhRuh __builtin_HEXAGON_LX_mpyr_uw_uh
1114#endif
1115
1116#if __HLX_ARCH__ >= 85
1117/* ==========================================================================
1118 Assembly Syntax: Ldd16.w=mpy(Lu16.h,Rt32.h)
1119 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpy_LhRh(HLX_Vector Lu, Word32 Rt)
1120 Instruction Type: M
1121 Execution Slots: SLOT3
1122 ========================================================================== */
1123
1124#define Q6_LWw_mpy_LhRh __builtin_HEXAGON_LX_mpyr_w_h
1125#endif
1126
1127#if __HLX_ARCH__ >= 85
1128/* ==========================================================================
1129 Assembly Syntax: Ldd16.w=mpy(Lu16.h,Rt32.uh)
1130 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_mpy_LhRuh(HLX_Vector Lu, Word32 Rt)
1131 Instruction Type: M
1132 Execution Slots: SLOT3
1133 ========================================================================== */
1134
1135#define Q6_LWw_mpy_LhRuh __builtin_HEXAGON_LX_mpyr_w_huh
1136#endif
1137
1138#if __HLX_ARCH__ >= 85
1139/* ==========================================================================
1140 Assembly Syntax: Lx16.h=mux(Lx16.h,Lu16.h,Lv16.h)
1141 C Intrinsic Prototype: HLX_Vector Q6_Lh_mux_LhLhLh(HLX_Vector Lx, HLX_Vector Lu, HLX_Vector Lv)
1142 Instruction Type: M
1143 Execution Slots: SLOT23
1144 ========================================================================== */
1145
1146#define Q6_Lh_mux_LhLhLh __builtin_HEXAGON_LX_mux_h
1147#endif
1148
1149#if __HLX_ARCH__ >= 85
1150/* ==========================================================================
1151 Assembly Syntax: Ld16.h=navg(Lu16.h,Lv16.h)
1152 C Intrinsic Prototype: HLX_Vector Q6_Lh_navg_LhLh(HLX_Vector Lu, HLX_Vector Lv)
1153 Instruction Type: M
1154 Execution Slots: SLOT2
1155 ========================================================================== */
1156
1157#define Q6_Lh_navg_LhLh __builtin_HEXAGON_LX_navg_h
1158#endif
1159
1160#if __HLX_ARCH__ >= 85
1161/* ==========================================================================
1162 Assembly Syntax: Ld16.h=navg(Lu16.uh,Lv16.uh)
1163 C Intrinsic Prototype: HLX_Vector Q6_Lh_navg_LuhLuh(HLX_Vector Lu, HLX_Vector Lv)
1164 Instruction Type: M
1165 Execution Slots: SLOT2
1166 ========================================================================== */
1167
1168#define Q6_Lh_navg_LuhLuh __builtin_HEXAGON_LX_navg_uh
1169#endif
1170
1171#if __HLX_ARCH__ >= 85
1172/* ==========================================================================
1173 Assembly Syntax: Ldd16.w=navg(Luu16.uw,Lvv16.uw)
1174 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_navg_LWuwLWuw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1175 Instruction Type: M
1176 Execution Slots: SLOT2
1177 ========================================================================== */
1178
1179#define Q6_LWw_navg_LWuwLWuw __builtin_HEXAGON_LX_navg_uw
1180#endif
1181
1182#if __HLX_ARCH__ >= 85
1183/* ==========================================================================
1184 Assembly Syntax: Ldd16.w=navg(Luu16.w,Lvv16.w)
1185 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_navg_LWwLWw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1186 Instruction Type: M
1187 Execution Slots: SLOT2
1188 ========================================================================== */
1189
1190#define Q6_LWw_navg_LWwLWw __builtin_HEXAGON_LX_navg_w
1191#endif
1192
1193#if __HLX_ARCH__ >= 85
1194/* ==========================================================================
1195 Assembly Syntax: Ld16=not(Lu16)
1196 C Intrinsic Prototype: HLX_Vector Q6_L_not_L(HLX_Vector Lu)
1197 Instruction Type: M
1198 Execution Slots: SLOT23
1199 ========================================================================== */
1200
1201#define Q6_L_not_L __builtin_HEXAGON_LX_not
1202#endif
1203
1204#if __HLX_ARCH__ >= 85
1205/* ==========================================================================
1206 Assembly Syntax: Ldd16=not(Luu16)
1207 C Intrinsic Prototype: HLX_VectorPair Q6_LW_not_LW(HLX_VectorPair Luu)
1208 Instruction Type: M
1209 Execution Slots: SLOT2
1210 ========================================================================== */
1211
1212#define Q6_LW_not_LW __builtin_HEXAGON_LX_not_w
1213#endif
1214
1215#if __HLX_ARCH__ >= 85
1216/* ==========================================================================
1217 Assembly Syntax: Ld16=or(Lu16,Lv16)
1218 C Intrinsic Prototype: HLX_Vector Q6_L_or_LL(HLX_Vector Lu, HLX_Vector Lv)
1219 Instruction Type: M
1220 Execution Slots: SLOT23
1221 ========================================================================== */
1222
1223#define Q6_L_or_LL __builtin_HEXAGON_LX_or
1224#endif
1225
1226#if __HLX_ARCH__ >= 85
1227/* ==========================================================================
1228 Assembly Syntax: Ldd16=or(Luu16,Lvv16)
1229 C Intrinsic Prototype: HLX_VectorPair Q6_LW_or_LWLW(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1230 Instruction Type: M
1231 Execution Slots: SLOT2
1232 ========================================================================== */
1233
1234#define Q6_LW_or_LWLW __builtin_HEXAGON_LX_or_w
1235#endif
1236
1237#if __HLX_ARCH__ >= 85
1238/* ==========================================================================
1239 Assembly Syntax: Ld16=orn(Lu16,Lv16)
1240 C Intrinsic Prototype: HLX_Vector Q6_L_orn_LL(HLX_Vector Lu, HLX_Vector Lv)
1241 Instruction Type: M
1242 Execution Slots: SLOT23
1243 ========================================================================== */
1244
1245#define Q6_L_orn_LL __builtin_HEXAGON_LX_orn
1246#endif
1247
1248#if __HLX_ARCH__ >= 85
1249/* ==========================================================================
1250 Assembly Syntax: Ldd16=orn(Luu16,Lvv16)
1251 C Intrinsic Prototype: HLX_VectorPair Q6_LW_orn_LWLW(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1252 Instruction Type: M
1253 Execution Slots: SLOT2
1254 ========================================================================== */
1255
1256#define Q6_LW_orn_LWLW __builtin_HEXAGON_LX_orn_w
1257#endif
1258
1259#if __HLX_ARCH__ >= 85
1260/* ==========================================================================
1261 Assembly Syntax: Ld16.h=shr(Lu16.h,Lv16.h)
1262 C Intrinsic Prototype: HLX_Vector Q6_Lh_shr_LhLh(HLX_Vector Lu, HLX_Vector Lv)
1263 Instruction Type: M
1264 Execution Slots: SLOT2
1265 ========================================================================== */
1266
1267#define Q6_Lh_shr_LhLh __builtin_HEXAGON_LX_shr_h
1268#endif
1269
1270#if __HLX_ARCH__ >= 85
1271/* ==========================================================================
1272 Assembly Syntax: Ld16.h=shr(Luu16.w,Lv16.h):rnd:sat
1273 C Intrinsic Prototype: HLX_Vector Q6_Lh_shr_LWwLh_rnd_sat(HLX_VectorPair Luu, HLX_Vector Lv)
1274 Instruction Type: M
1275 Execution Slots: SLOT2
1276 ========================================================================== */
1277
1278#define Q6_Lh_shr_LWwLh_rnd_sat __builtin_HEXAGON_LX_shr_h_w_rnd_sat
1279#endif
1280
1281#if __HLX_ARCH__ >= 85
1282/* ==========================================================================
1283 Assembly Syntax: Ld16.h=shr(Luu16.w,Lv16.h):sat
1284 C Intrinsic Prototype: HLX_Vector Q6_Lh_shr_LWwLh_sat(HLX_VectorPair Luu, HLX_Vector Lv)
1285 Instruction Type: M
1286 Execution Slots: SLOT2
1287 ========================================================================== */
1288
1289#define Q6_Lh_shr_LWwLh_sat __builtin_HEXAGON_LX_shr_h_w_sat
1290#endif
1291
1292#if __HLX_ARCH__ >= 85
1293/* ==========================================================================
1294 Assembly Syntax: Ld16.h=shr(Luu16.w,Lv16.uh)
1295 C Intrinsic Prototype: HLX_Vector Q6_Lh_shr_LWwLuh(HLX_VectorPair Luu, HLX_Vector Lv)
1296 Instruction Type: M
1297 Execution Slots: SLOT2
1298 ========================================================================== */
1299
1300#define Q6_Lh_shr_LWwLuh __builtin_HEXAGON_LX_shr_h_w_uh
1301#endif
1302
1303#if __HLX_ARCH__ >= 85
1304/* ==========================================================================
1305 Assembly Syntax: Ld16.uh=shr(Lu16.uh,Lv16.h)
1306 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LuhLh(HLX_Vector Lu, HLX_Vector Lv)
1307 Instruction Type: M
1308 Execution Slots: SLOT2
1309 ========================================================================== */
1310
1311#define Q6_Luh_shr_LuhLh __builtin_HEXAGON_LX_shr_uh_uh
1312#endif
1313
1314#if __HLX_ARCH__ >= 85
1315/* ==========================================================================
1316 Assembly Syntax: Ld16.uh=shr(Luu16.uw,Lv16.h):rnd:sat
1317 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LWuwLh_rnd_sat(HLX_VectorPair Luu, HLX_Vector Lv)
1318 Instruction Type: M
1319 Execution Slots: SLOT2
1320 ========================================================================== */
1321
1322#define Q6_Luh_shr_LWuwLh_rnd_sat __builtin_HEXAGON_LX_shr_uh_uw_rnd_sat
1323#endif
1324
1325#if __HLX_ARCH__ >= 85
1326/* ==========================================================================
1327 Assembly Syntax: Ld16.uh=shr(Luu16.uw,Lv16.h):sat
1328 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LWuwLh_sat(HLX_VectorPair Luu, HLX_Vector Lv)
1329 Instruction Type: M
1330 Execution Slots: SLOT2
1331 ========================================================================== */
1332
1333#define Q6_Luh_shr_LWuwLh_sat __builtin_HEXAGON_LX_shr_uh_uw_sat
1334#endif
1335
1336#if __HLX_ARCH__ >= 85
1337/* ==========================================================================
1338 Assembly Syntax: Ld16.uh=shr(Luu16.w,Lv16.h):rnd:sat
1339 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LWwLh_rnd_sat(HLX_VectorPair Luu, HLX_Vector Lv)
1340 Instruction Type: M
1341 Execution Slots: SLOT2
1342 ========================================================================== */
1343
1344#define Q6_Luh_shr_LWwLh_rnd_sat __builtin_HEXAGON_LX_shr_uh_w_rnd_sat
1345#endif
1346
1347#if __HLX_ARCH__ >= 85
1348/* ==========================================================================
1349 Assembly Syntax: Ld16.uh=shr(Luu16.w,Lv16.h):sat
1350 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LWwLh_sat(HLX_VectorPair Luu, HLX_Vector Lv)
1351 Instruction Type: M
1352 Execution Slots: SLOT2
1353 ========================================================================== */
1354
1355#define Q6_Luh_shr_LWwLh_sat __builtin_HEXAGON_LX_shr_uh_w_sat
1356#endif
1357
1358#if __HLX_ARCH__ >= 85
1359/* ==========================================================================
1360 Assembly Syntax: Ldd16.uw=shr(Luu16.uw,Lv16.h)
1361 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_shr_LWuwLh(HLX_VectorPair Luu, HLX_Vector Lv)
1362 Instruction Type: M
1363 Execution Slots: SLOT2
1364 ========================================================================== */
1365
1366#define Q6_LWuw_shr_LWuwLh __builtin_HEXAGON_LX_shr_uw_uw
1367#endif
1368
1369#if __HLX_ARCH__ >= 85
1370/* ==========================================================================
1371 Assembly Syntax: Ldd16.w=shr(Luu16.w,Lv16.h)
1372 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_shr_LWwLh(HLX_VectorPair Luu, HLX_Vector Lv)
1373 Instruction Type: M
1374 Execution Slots: SLOT2
1375 ========================================================================== */
1376
1377#define Q6_LWw_shr_LWwLh __builtin_HEXAGON_LX_shr_w_w
1378#endif
1379
1380#if __HLX_ARCH__ >= 85
1381/* ==========================================================================
1382 Assembly Syntax: Lx16.h+=shr(Lu16.h,Lv16.h)
1383 C Intrinsic Prototype: HLX_Vector Q6_Lh_shracc_LhLh(HLX_Vector Lx, HLX_Vector Lu, HLX_Vector Lv)
1384 Instruction Type: M
1385 Execution Slots: SLOT2
1386 ========================================================================== */
1387
1388#define Q6_Lh_shracc_LhLh __builtin_HEXAGON_LX_shra_h_h
1389#endif
1390
1391#if __HLX_ARCH__ >= 85
1392/* ==========================================================================
1393 Assembly Syntax: Lx16.h+=shr(Lu16.uh,Lv16.h)
1394 C Intrinsic Prototype: HLX_Vector Q6_Lh_shracc_LuhLh(HLX_Vector Lx, HLX_Vector Lu, HLX_Vector Lv)
1395 Instruction Type: M
1396 Execution Slots: SLOT2
1397 ========================================================================== */
1398
1399#define Q6_Lh_shracc_LuhLh __builtin_HEXAGON_LX_shra_h_uh
1400#endif
1401
1402#if __HLX_ARCH__ >= 85
1403/* ==========================================================================
1404 Assembly Syntax: Lxx16.w+=shr(Luu16.uw,Lv16.h)
1405 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_shracc_LWuwLh(HLX_VectorPair Lxx, HLX_VectorPair Luu, HLX_Vector Lv)
1406 Instruction Type: M
1407 Execution Slots: SLOT2
1408 ========================================================================== */
1409
1410#define Q6_LWw_shracc_LWuwLh __builtin_HEXAGON_LX_shra_w_uw
1411#endif
1412
1413#if __HLX_ARCH__ >= 85
1414/* ==========================================================================
1415 Assembly Syntax: Lxx16.w+=shr(Luu16.w,Lv16.h)
1416 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_shracc_LWwLh(HLX_VectorPair Lxx, HLX_VectorPair Luu, HLX_Vector Lv)
1417 Instruction Type: M
1418 Execution Slots: SLOT2
1419 ========================================================================== */
1420
1421#define Q6_LWw_shracc_LWwLh __builtin_HEXAGON_LX_shra_w_w
1422#endif
1423
1424#if __HLX_ARCH__ >= 85
1425/* ==========================================================================
1426 Assembly Syntax: Lx16.h+=shr(Lu16.h,Rt32.h)
1427 C Intrinsic Prototype: HLX_Vector Q6_Lh_shracc_LhRh(HLX_Vector Lx, HLX_Vector Lu, Word32 Rt)
1428 Instruction Type: M
1429 Execution Slots: SLOT2
1430 ========================================================================== */
1431
1432#define Q6_Lh_shracc_LhRh __builtin_HEXAGON_LX_shrar_h_h
1433#endif
1434
1435#if __HLX_ARCH__ >= 85
1436/* ==========================================================================
1437 Assembly Syntax: Lx16.h+=shr(Lu16.uh,Rt32.h)
1438 C Intrinsic Prototype: HLX_Vector Q6_Lh_shracc_LuhRh(HLX_Vector Lx, HLX_Vector Lu, Word32 Rt)
1439 Instruction Type: M
1440 Execution Slots: SLOT2
1441 ========================================================================== */
1442
1443#define Q6_Lh_shracc_LuhRh __builtin_HEXAGON_LX_shrar_h_uh
1444#endif
1445
1446#if __HLX_ARCH__ >= 85
1447/* ==========================================================================
1448 Assembly Syntax: Lxx16.w+=shr(Luu16.uw,Rt32.h)
1449 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_shracc_LWuwRh(HLX_VectorPair Lxx, HLX_VectorPair Luu, Word32 Rt)
1450 Instruction Type: M
1451 Execution Slots: SLOT2
1452 ========================================================================== */
1453
1454#define Q6_LWw_shracc_LWuwRh __builtin_HEXAGON_LX_shrar_w_uw
1455#endif
1456
1457#if __HLX_ARCH__ >= 85
1458/* ==========================================================================
1459 Assembly Syntax: Lxx16.w+=shr(Luu16.w,Rt32.h)
1460 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_shracc_LWwRh(HLX_VectorPair Lxx, HLX_VectorPair Luu, Word32 Rt)
1461 Instruction Type: M
1462 Execution Slots: SLOT2
1463 ========================================================================== */
1464
1465#define Q6_LWw_shracc_LWwRh __builtin_HEXAGON_LX_shrar_w_w
1466#endif
1467
1468#if __HLX_ARCH__ >= 85
1469/* ==========================================================================
1470 Assembly Syntax: Ld16.h=shr(Lu16.h,Rt32.h)
1471 C Intrinsic Prototype: HLX_Vector Q6_Lh_shr_LhRh(HLX_Vector Lu, Word32 Rt)
1472 Instruction Type: M
1473 Execution Slots: SLOT2
1474 ========================================================================== */
1475
1476#define Q6_Lh_shr_LhRh __builtin_HEXAGON_LX_shrr_h
1477#endif
1478
1479#if __HLX_ARCH__ >= 85
1480/* ==========================================================================
1481 Assembly Syntax: Ld16.h=shr(Luu16.w,Rt32.h):rnd:sat
1482 C Intrinsic Prototype: HLX_Vector Q6_Lh_shr_LWwRh_rnd_sat(HLX_VectorPair Luu, Word32 Rt)
1483 Instruction Type: M
1484 Execution Slots: SLOT2
1485 ========================================================================== */
1486
1487#define Q6_Lh_shr_LWwRh_rnd_sat __builtin_HEXAGON_LX_shrr_h_w_rnd_sat
1488#endif
1489
1490#if __HLX_ARCH__ >= 85
1491/* ==========================================================================
1492 Assembly Syntax: Ld16.h=shr(Luu16.w,Rt32.h):sat
1493 C Intrinsic Prototype: HLX_Vector Q6_Lh_shr_LWwRh_sat(HLX_VectorPair Luu, Word32 Rt)
1494 Instruction Type: M
1495 Execution Slots: SLOT2
1496 ========================================================================== */
1497
1498#define Q6_Lh_shr_LWwRh_sat __builtin_HEXAGON_LX_shrr_h_w_sat
1499#endif
1500
1501#if __HLX_ARCH__ >= 85
1502/* ==========================================================================
1503 Assembly Syntax: Ld16.h=shr(Luu16.w,Rt32.uh)
1504 C Intrinsic Prototype: HLX_Vector Q6_Lh_shr_LWwRuh(HLX_VectorPair Luu, Word32 Rt)
1505 Instruction Type: M
1506 Execution Slots: SLOT2
1507 ========================================================================== */
1508
1509#define Q6_Lh_shr_LWwRuh __builtin_HEXAGON_LX_shrr_h_w_uh
1510#endif
1511
1512#if __HLX_ARCH__ >= 85
1513/* ==========================================================================
1514 Assembly Syntax: Ld16.uh=shr(Lu16.uh,Rt32.h)
1515 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LuhRh(HLX_Vector Lu, Word32 Rt)
1516 Instruction Type: M
1517 Execution Slots: SLOT2
1518 ========================================================================== */
1519
1520#define Q6_Luh_shr_LuhRh __builtin_HEXAGON_LX_shrr_uh_uh
1521#endif
1522
1523#if __HLX_ARCH__ >= 85
1524/* ==========================================================================
1525 Assembly Syntax: Ld16.uh=shr(Luu16.uw,Rt32.h):rnd:sat
1526 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LWuwRh_rnd_sat(HLX_VectorPair Luu, Word32 Rt)
1527 Instruction Type: M
1528 Execution Slots: SLOT2
1529 ========================================================================== */
1530
1531#define Q6_Luh_shr_LWuwRh_rnd_sat __builtin_HEXAGON_LX_shrr_uh_uw_rnd_sat
1532#endif
1533
1534#if __HLX_ARCH__ >= 85
1535/* ==========================================================================
1536 Assembly Syntax: Ld16.uh=shr(Luu16.uw,Rt32.h):sat
1537 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LWuwRh_sat(HLX_VectorPair Luu, Word32 Rt)
1538 Instruction Type: M
1539 Execution Slots: SLOT2
1540 ========================================================================== */
1541
1542#define Q6_Luh_shr_LWuwRh_sat __builtin_HEXAGON_LX_shrr_uh_uw_sat
1543#endif
1544
1545#if __HLX_ARCH__ >= 85
1546/* ==========================================================================
1547 Assembly Syntax: Ld16.uh=shr(Luu16.w,Rt32.h):rnd:sat
1548 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LWwRh_rnd_sat(HLX_VectorPair Luu, Word32 Rt)
1549 Instruction Type: M
1550 Execution Slots: SLOT2
1551 ========================================================================== */
1552
1553#define Q6_Luh_shr_LWwRh_rnd_sat __builtin_HEXAGON_LX_shrr_uh_w_rnd_sat
1554#endif
1555
1556#if __HLX_ARCH__ >= 85
1557/* ==========================================================================
1558 Assembly Syntax: Ld16.uh=shr(Luu16.w,Rt32.h):sat
1559 C Intrinsic Prototype: HLX_Vector Q6_Luh_shr_LWwRh_sat(HLX_VectorPair Luu, Word32 Rt)
1560 Instruction Type: M
1561 Execution Slots: SLOT2
1562 ========================================================================== */
1563
1564#define Q6_Luh_shr_LWwRh_sat __builtin_HEXAGON_LX_shrr_uh_w_sat
1565#endif
1566
1567#if __HLX_ARCH__ >= 85
1568/* ==========================================================================
1569 Assembly Syntax: Ldd16.uw=shr(Luu16.uw,Rt32.h)
1570 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_shr_LWuwRh(HLX_VectorPair Luu, Word32 Rt)
1571 Instruction Type: M
1572 Execution Slots: SLOT2
1573 ========================================================================== */
1574
1575#define Q6_LWuw_shr_LWuwRh __builtin_HEXAGON_LX_shrr_uw_uw
1576#endif
1577
1578#if __HLX_ARCH__ >= 85
1579/* ==========================================================================
1580 Assembly Syntax: Ldd16.w=shr(Luu16.w,Rt32.h)
1581 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_shr_LWwRh(HLX_VectorPair Luu, Word32 Rt)
1582 Instruction Type: M
1583 Execution Slots: SLOT2
1584 ========================================================================== */
1585
1586#define Q6_LWw_shr_LWwRh __builtin_HEXAGON_LX_shrr_w_w
1587#endif
1588
1589#if __HLX_ARCH__ >= 85
1590/* ==========================================================================
1591 Assembly Syntax: Ld16.h=sub(Lu16.h,Lv16.h)
1592 C Intrinsic Prototype: HLX_Vector Q6_Lh_sub_LhLh(HLX_Vector Lu, HLX_Vector Lv)
1593 Instruction Type: M
1594 Execution Slots: SLOT23
1595 ========================================================================== */
1596
1597#define Q6_Lh_sub_LhLh __builtin_HEXAGON_LX_sub_h
1598#endif
1599
1600#if __HLX_ARCH__ >= 85
1601/* ==========================================================================
1602 Assembly Syntax: Ld16.h=sub(Lu16.h,Lv16.h):sat
1603 C Intrinsic Prototype: HLX_Vector Q6_Lh_sub_LhLh_sat(HLX_Vector Lu, HLX_Vector Lv)
1604 Instruction Type: M
1605 Execution Slots: SLOT23
1606 ========================================================================== */
1607
1608#define Q6_Lh_sub_LhLh_sat __builtin_HEXAGON_LX_sub_h_sat
1609#endif
1610
1611#if __HLX_ARCH__ >= 85
1612/* ==========================================================================
1613 Assembly Syntax: Ldd16.h=sub(Luu16.h,Lvv16.h)
1614 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_sub_LWhLWh(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1615 Instruction Type: M
1616 Execution Slots: SLOT2
1617 ========================================================================== */
1618
1619#define Q6_LWh_sub_LWhLWh __builtin_HEXAGON_LX_sub_hp
1620#endif
1621
1622#if __HLX_ARCH__ >= 85
1623/* ==========================================================================
1624 Assembly Syntax: Ldd16.h=sub(Luu16.h,Lvv16.h):sat
1625 C Intrinsic Prototype: HLX_VectorPair Q6_LWh_sub_LWhLWh_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1626 Instruction Type: M
1627 Execution Slots: SLOT2
1628 ========================================================================== */
1629
1630#define Q6_LWh_sub_LWhLWh_sat __builtin_HEXAGON_LX_sub_hp_sat
1631#endif
1632
1633#if __HLX_ARCH__ >= 85
1634/* ==========================================================================
1635 Assembly Syntax: Ld16.h=sub(ilog2(Lu16.h),#u4)
1636 C Intrinsic Prototype: HLX_Vector Q6_Lh_sub_ilog2_LhI(HLX_Vector Lu, Word32 Iu4)
1637 Instruction Type: M
1638 Execution Slots: SLOT2
1639 ========================================================================== */
1640
1641#define Q6_Lh_sub_ilog2_LhI __builtin_HEXAGON_LX_sub_ilog2_h
1642#endif
1643
1644#if __HLX_ARCH__ >= 85
1645/* ==========================================================================
1646 Assembly Syntax: Ld16.h=sub(ilog2(Lu16.uh),#u4)
1647 C Intrinsic Prototype: HLX_Vector Q6_Lh_sub_ilog2_LuhI(HLX_Vector Lu, Word32 Iu4)
1648 Instruction Type: M
1649 Execution Slots: SLOT2
1650 ========================================================================== */
1651
1652#define Q6_Lh_sub_ilog2_LuhI __builtin_HEXAGON_LX_sub_ilog2_uh
1653#endif
1654
1655#if __HLX_ARCH__ >= 85
1656/* ==========================================================================
1657 Assembly Syntax: Ld16.h=sub(ilog2(Luu16.uw),#u5)
1658 C Intrinsic Prototype: HLX_Vector Q6_Lh_sub_ilog2_LWuwI(HLX_VectorPair Luu, Word32 Iu5)
1659 Instruction Type: M
1660 Execution Slots: SLOT2
1661 ========================================================================== */
1662
1663#define Q6_Lh_sub_ilog2_LWuwI __builtin_HEXAGON_LX_sub_ilog2_uw
1664#endif
1665
1666#if __HLX_ARCH__ >= 85
1667/* ==========================================================================
1668 Assembly Syntax: Ld16.h=sub(ilog2(Luu16.w),#u5)
1669 C Intrinsic Prototype: HLX_Vector Q6_Lh_sub_ilog2_LWwI(HLX_VectorPair Luu, Word32 Iu5)
1670 Instruction Type: M
1671 Execution Slots: SLOT2
1672 ========================================================================== */
1673
1674#define Q6_Lh_sub_ilog2_LWwI __builtin_HEXAGON_LX_sub_ilog2_w
1675#endif
1676
1677#if __HLX_ARCH__ >= 85
1678/* ==========================================================================
1679 Assembly Syntax: Ld16.uh=sub(Lu16.uh,Lv16.uh):sat
1680 C Intrinsic Prototype: HLX_Vector Q6_Luh_sub_LuhLuh_sat(HLX_Vector Lu, HLX_Vector Lv)
1681 Instruction Type: M
1682 Execution Slots: SLOT23
1683 ========================================================================== */
1684
1685#define Q6_Luh_sub_LuhLuh_sat __builtin_HEXAGON_LX_sub_uh_sat
1686#endif
1687
1688#if __HLX_ARCH__ >= 85
1689/* ==========================================================================
1690 Assembly Syntax: Ld16.uh=sub(Lu16.h,Lv16.h):sat
1691 C Intrinsic Prototype: HLX_Vector Q6_Luh_sub_LhLh_sat(HLX_Vector Lu, HLX_Vector Lv)
1692 Instruction Type: M
1693 Execution Slots: SLOT23
1694 ========================================================================== */
1695
1696#define Q6_Luh_sub_LhLh_sat __builtin_HEXAGON_LX_sub_uhh_sat
1697#endif
1698
1699#if __HLX_ARCH__ >= 85
1700/* ==========================================================================
1701 Assembly Syntax: Ldd16.uh=sub(Luu16.h,Lvv16.h):sat
1702 C Intrinsic Prototype: HLX_VectorPair Q6_LWuh_sub_LWhLWh_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1703 Instruction Type: M
1704 Execution Slots: SLOT2
1705 ========================================================================== */
1706
1707#define Q6_LWuh_sub_LWhLWh_sat __builtin_HEXAGON_LX_sub_uhp_h_sat
1708#endif
1709
1710#if __HLX_ARCH__ >= 85
1711/* ==========================================================================
1712 Assembly Syntax: Ldd16.uh=sub(Luu16.uh,Lvv16.uh):sat
1713 C Intrinsic Prototype: HLX_VectorPair Q6_LWuh_sub_LWuhLWuh_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1714 Instruction Type: M
1715 Execution Slots: SLOT2
1716 ========================================================================== */
1717
1718#define Q6_LWuh_sub_LWuhLWuh_sat __builtin_HEXAGON_LX_sub_uhp_sat
1719#endif
1720
1721#if __HLX_ARCH__ >= 85
1722/* ==========================================================================
1723 Assembly Syntax: Ldd16.uw=sub(Luu16.uw,Lvv16.uw):sat
1724 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_sub_LWuwLWuw_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1725 Instruction Type: M
1726 Execution Slots: SLOT2
1727 ========================================================================== */
1728
1729#define Q6_LWuw_sub_LWuwLWuw_sat __builtin_HEXAGON_LX_sub_uw_sat
1730#endif
1731
1732#if __HLX_ARCH__ >= 85
1733/* ==========================================================================
1734 Assembly Syntax: Ldd16.uw=sub(Luu16.w,Lvv16.w):sat
1735 C Intrinsic Prototype: HLX_VectorPair Q6_LWuw_sub_LWwLWw_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1736 Instruction Type: M
1737 Execution Slots: SLOT2
1738 ========================================================================== */
1739
1740#define Q6_LWuw_sub_LWwLWw_sat __builtin_HEXAGON_LX_sub_uw_w_sat
1741#endif
1742
1743#if __HLX_ARCH__ >= 85
1744/* ==========================================================================
1745 Assembly Syntax: Ldd16.w=sub(Luu16.w,Lvv16.w)
1746 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_sub_LWwLWw(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1747 Instruction Type: M
1748 Execution Slots: SLOT2
1749 ========================================================================== */
1750
1751#define Q6_LWw_sub_LWwLWw __builtin_HEXAGON_LX_sub_w
1752#endif
1753
1754#if __HLX_ARCH__ >= 85
1755/* ==========================================================================
1756 Assembly Syntax: Ldd16.w=sub(Luu16.w,Lvv16.w):sat
1757 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_sub_LWwLWw_sat(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1758 Instruction Type: M
1759 Execution Slots: SLOT2
1760 ========================================================================== */
1761
1762#define Q6_LWw_sub_LWwLWw_sat __builtin_HEXAGON_LX_sub_w_sat
1763#endif
1764
1765#if __HLX_ARCH__ >= 85
1766/* ==========================================================================
1767 Assembly Syntax: Ldd16.w=sub(Lu16.uh,Lv16.uh)
1768 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_sub_LuhLuh(HLX_Vector Lu, HLX_Vector Lv)
1769 Instruction Type: M
1770 Execution Slots: SLOT23
1771 ========================================================================== */
1772
1773#define Q6_LWw_sub_LuhLuh __builtin_HEXAGON_LX_sub_wuh
1774#endif
1775
1776#if __HLX_ARCH__ >= 85
1777/* ==========================================================================
1778 Assembly Syntax: Ldd16.w=sub(Luu16.w,Lv16.h)
1779 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_sub_LWwLh(HLX_VectorPair Luu, HLX_Vector Lv)
1780 Instruction Type: M
1781 Execution Slots: SLOT23
1782 ========================================================================== */
1783
1784#define Q6_LWw_sub_LWwLh __builtin_HEXAGON_LX_sub_wwh
1785#endif
1786
1787#if __HLX_ARCH__ >= 85
1788/* ==========================================================================
1789 Assembly Syntax: Ldd16.w=sub(Luu16.w,Lv16.uh)
1790 C Intrinsic Prototype: HLX_VectorPair Q6_LWw_sub_LWwLuh(HLX_VectorPair Luu, HLX_Vector Lv)
1791 Instruction Type: M
1792 Execution Slots: SLOT23
1793 ========================================================================== */
1794
1795#define Q6_LWw_sub_LWwLuh __builtin_HEXAGON_LX_sub_wwuh
1796#endif
1797
1798#if __HLX_ARCH__ >= 85
1799/* ==========================================================================
1800 Assembly Syntax: Ld16=xor(Lu16,Lv16)
1801 C Intrinsic Prototype: HLX_Vector Q6_L_xor_LL(HLX_Vector Lu, HLX_Vector Lv)
1802 Instruction Type: M
1803 Execution Slots: SLOT23
1804 ========================================================================== */
1805
1806#define Q6_L_xor_LL __builtin_HEXAGON_LX_xor
1807#endif
1808
1809#if __HLX_ARCH__ >= 85
1810/* ==========================================================================
1811 Assembly Syntax: Ldd16=xor(Luu16,Lvv16)
1812 C Intrinsic Prototype: HLX_VectorPair Q6_LW_xor_LWLW(HLX_VectorPair Luu, HLX_VectorPair Lvv)
1813 Instruction Type: M
1814 Execution Slots: SLOT2
1815 ========================================================================== */
1816
1817#define Q6_LW_xor_LWLW __builtin_HEXAGON_LX_xor_w
1818#endif
1819
1820#endif /* __HLX__ */
1821
1822#endif