Lines Matching defs:__m64
39 typedef int __m64 __attribute__ ((__vector_size__ (8), __may_alias__));
59 /* Convert I to a __m64 object. The integer is zero-extended to 64-bits. */
60 static __inline __m64 __attribute__((__always_inline__))
63 return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
66 static __inline __m64 __attribute__((__always_inline__))
73 /* Convert I to a __m64 object. */
76 static __inline __m64 __attribute__((__always_inline__))
79 return (__m64) __i;
82 static __inline __m64 __attribute__((__always_inline__))
85 return (__m64) __i;
89 static __inline __m64 __attribute__((__always_inline__))
92 return (__m64) __i;
95 static __inline __m64 __attribute__((__always_inline__))
98 return (__m64) __i;
102 /* Convert the lower 32 bits of the __m64 object into an integer. */
104 _mm_cvtsi64_si32 (__m64 __i)
110 _m_to_int (__m64 __i)
116 /* Convert the __m64 object to a 64bit integer. */
120 _m_to_int64 (__m64 __i)
126 _mm_cvtm64_si64 (__m64 __i)
133 _mm_cvtsi64_si64x (__m64 __i)
142 static __inline __m64 __attribute__((__always_inline__))
143 _mm_packs_pi16 (__m64 __m1, __m64 __m2)
145 return (__m64) __builtin_ia32_packsswb ((__v4hi)__m1, (__v4hi)__m2);
148 static __inline __m64 __attribute__((__always_inline__))
149 _m_packsswb (__m64 __m1, __m64 __m2)
157 static __inline __m64 __attribute__((__always_inline__))
158 _mm_packs_pi32 (__m64 __m1, __m64 __m2)
160 return (__m64) __builtin_ia32_packssdw ((__v2si)__m1, (__v2si)__m2);
163 static __inline __m64 __attribute__((__always_inline__))
164 _m_packssdw (__m64 __m1, __m64 __m2)
172 static __inline __m64 __attribute__((__always_inline__))
173 _mm_packs_pu16 (__m64 __m1, __m64 __m2)
175 return (__m64) __builtin_ia32_packuswb ((__v4hi)__m1, (__v4hi)__m2);
178 static __inline __m64 __attribute__((__always_inline__))
179 _m_packuswb (__m64 __m1, __m64 __m2)
186 static __inline __m64 __attribute__((__always_inline__))
187 _mm_unpackhi_pi8 (__m64 __m1, __m64 __m2)
189 return (__m64) __builtin_ia32_punpckhbw ((__v8qi)__m1, (__v8qi)__m2);
192 static __inline __m64 __attribute__((__always_inline__))
193 _m_punpckhbw (__m64 __m1, __m64 __m2)
200 static __inline __m64 __attribute__((__always_inline__))
201 _mm_unpackhi_pi16 (__m64 __m1, __m64 __m2)
203 return (__m64) __builtin_ia32_punpckhwd ((__v4hi)__m1, (__v4hi)__m2);
206 static __inline __m64 __attribute__((__always_inline__))
207 _m_punpckhwd (__m64 __m1, __m64 __m2)
214 static __inline __m64 __attribute__((__always_inline__))
215 _mm_unpackhi_pi32 (__m64 __m1, __m64 __m2)
217 return (__m64) __builtin_ia32_punpckhdq ((__v2si)__m1, (__v2si)__m2);
220 static __inline __m64 __attribute__((__always_inline__))
221 _m_punpckhdq (__m64 __m1, __m64 __m2)
228 static __inline __m64 __attribute__((__always_inline__))
229 _mm_unpacklo_pi8 (__m64 __m1, __m64 __m2)
231 return (__m64) __builtin_ia32_punpcklbw ((__v8qi)__m1, (__v8qi)__m2);
234 static __inline __m64 __attribute__((__always_inline__))
235 _m_punpcklbw (__m64 __m1, __m64 __m2)
242 static __inline __m64 __attribute__((__always_inline__))
243 _mm_unpacklo_pi16 (__m64 __m1, __m64 __m2)
245 return (__m64) __builtin_ia32_punpcklwd ((__v4hi)__m1, (__v4hi)__m2);
248 static __inline __m64 __attribute__((__always_inline__))
249 _m_punpcklwd (__m64 __m1, __m64 __m2)
256 static __inline __m64 __attribute__((__always_inline__))
257 _mm_unpacklo_pi32 (__m64 __m1, __m64 __m2)
259 return (__m64) __builtin_ia32_punpckldq ((__v2si)__m1, (__v2si)__m2);
262 static __inline __m64 __attribute__((__always_inline__))
263 _m_punpckldq (__m64 __m1, __m64 __m2)
269 static __inline __m64 __attribute__((__always_inline__))
270 _mm_add_pi8 (__m64 __m1, __m64 __m2)
272 return (__m64) __builtin_ia32_paddb ((__v8qi)__m1, (__v8qi)__m2);
275 static __inline __m64 __attribute__((__always_inline__))
276 _m_paddb (__m64 __m1, __m64 __m2)
282 static __inline __m64 __attribute__((__always_inline__))
283 _mm_add_pi16 (__m64 __m1, __m64 __m2)
285 return (__m64) __builtin_ia32_paddw ((__v4hi)__m1, (__v4hi)__m2);
288 static __inline __m64 __attribute__((__always_inline__))
289 _m_paddw (__m64 __m1, __m64 __m2)
295 static __inline __m64 __attribute__((__always_inline__))
296 _mm_add_pi32 (__m64 __m1, __m64 __m2)
298 return (__m64) __builtin_ia32_paddd ((__v2si)__m1, (__v2si)__m2);
301 static __inline __m64 __attribute__((__always_inline__))
302 _m_paddd (__m64 __m1, __m64 __m2)
309 static __inline __m64 __attribute__((__always_inline__))
310 _mm_add_si64 (__m64 __m1, __m64 __m2)
312 return (__m64) __builtin_ia32_paddq ((long long)__m1, (long long)__m2);
318 static __inline __m64 __attribute__((__always_inline__))
319 _mm_adds_pi8 (__m64 __m1, __m64 __m2)
321 return (__m64) __builtin_ia32_paddsb ((__v8qi)__m1, (__v8qi)__m2);
324 static __inline __m64 __attribute__((__always_inline__))
325 _m_paddsb (__m64 __m1, __m64 __m2)
332 static __inline __m64 __attribute__((__always_inline__))
333 _mm_adds_pi16 (__m64 __m1, __m64 __m2)
335 return (__m64) __builtin_ia32_paddsw ((__v4hi)__m1, (__v4hi)__m2);
338 static __inline __m64 __attribute__((__always_inline__))
339 _m_paddsw (__m64 __m1, __m64 __m2)
346 static __inline __m64 __attribute__((__always_inline__))
347 _mm_adds_pu8 (__m64 __m1, __m64 __m2)
349 return (__m64) __builtin_ia32_paddusb ((__v8qi)__m1, (__v8qi)__m2);
352 static __inline __m64 __attribute__((__always_inline__))
353 _m_paddusb (__m64 __m1, __m64 __m2)
360 static __inline __m64 __attribute__((__always_inline__))
361 _mm_adds_pu16 (__m64 __m1, __m64 __m2)
363 return (__m64) __builtin_ia32_paddusw ((__v4hi)__m1, (__v4hi)__m2);
366 static __inline __m64 __attribute__((__always_inline__))
367 _m_paddusw (__m64 __m1, __m64 __m2)
373 static __inline __m64 __attribute__((__always_inline__))
374 _mm_sub_pi8 (__m64 __m1, __m64 __m2)
376 return (__m64) __builtin_ia32_psubb ((__v8qi)__m1, (__v8qi)__m2);
379 static __inline __m64 __attribute__((__always_inline__))
380 _m_psubb (__m64 __m1, __m64 __m2)
386 static __inline __m64 __attribute__((__always_inline__))
387 _mm_sub_pi16 (__m64 __m1, __m64 __m2)
389 return (__m64) __builtin_ia32_psubw ((__v4hi)__m1, (__v4hi)__m2);
392 static __inline __m64 __attribute__((__always_inline__))
393 _m_psubw (__m64 __m1, __m64 __m2)
399 static __inline __m64 __attribute__((__always_inline__))
400 _mm_sub_pi32 (__m64 __m1, __m64 __m2)
402 return (__m64) __builtin_ia32_psubd ((__v2si)__m1, (__v2si)__m2);
405 static __inline __m64 __attribute__((__always_inline__))
406 _m_psubd (__m64 __m1, __m64 __m2)
413 static __inline __m64 __attribute__((__always_inline__))
414 _mm_sub_si64 (__m64 __m1, __m64 __m2)
416 return (__m64) __builtin_ia32_psubq ((long long)__m1, (long long)__m2);
422 static __inline __m64 __attribute__((__always_inline__))
423 _mm_subs_pi8 (__m64 __m1, __m64 __m2)
425 return (__m64) __builtin_ia32_psubsb ((__v8qi)__m1, (__v8qi)__m2);
428 static __inline __m64 __attribute__((__always_inline__))
429 _m_psubsb (__m64 __m1, __m64 __m2)
436 static __inline __m64 __attribute__((__always_inline__))
437 _mm_subs_pi16 (__m64 __m1, __m64 __m2)
439 return (__m64) __builtin_ia32_psubsw ((__v4hi)__m1, (__v4hi)__m2);
442 static __inline __m64 __attribute__((__always_inline__))
443 _m_psubsw (__m64 __m1, __m64 __m2)
450 static __inline __m64 __attribute__((__always_inline__))
451 _mm_subs_pu8 (__m64 __m1, __m64 __m2)
453 return (__m64) __builtin_ia32_psubusb ((__v8qi)__m1, (__v8qi)__m2);
456 static __inline __m64 __attribute__((__always_inline__))
457 _m_psubusb (__m64 __m1, __m64 __m2)
464 static __inline __m64 __attribute__((__always_inline__))
465 _mm_subs_pu16 (__m64 __m1, __m64 __m2)
467 return (__m64) __builtin_ia32_psubusw ((__v4hi)__m1, (__v4hi)__m2);
470 static __inline __m64 __attribute__((__always_inline__))
471 _m_psubusw (__m64 __m1, __m64 __m2)
479 static __inline __m64 __attribute__((__always_inline__))
480 _mm_madd_pi16 (__m64 __m1, __m64 __m2)
482 return (__m64) __builtin_ia32_pmaddwd ((__v4hi)__m1, (__v4hi)__m2);
485 static __inline __m64 __attribute__((__always_inline__))
486 _m_pmaddwd (__m64 __m1, __m64 __m2)
493 static __inline __m64 __attribute__((__always_inline__))
494 _mm_mulhi_pi16 (__m64 __m1, __m64 __m2)
496 return (__m64) __builtin_ia32_pmulhw ((__v4hi)__m1, (__v4hi)__m2);
499 static __inline __m64 __attribute__((__always_inline__))
500 _m_pmulhw (__m64 __m1, __m64 __m2)
507 static __inline __m64 __attribute__((__always_inline__))
508 _mm_mullo_pi16 (__m64 __m1, __m64 __m2)
510 return (__m64) __builtin_ia32_pmullw ((__v4hi)__m1, (__v4hi)__m2);
513 static __inline __m64 __attribute__((__always_inline__))
514 _m_pmullw (__m64 __m1, __m64 __m2)
520 static __inline __m64 __attribute__((__always_inline__))
521 _mm_sll_pi16 (__m64 __m, __m64 __count)
523 return (__m64) __builtin_ia32_psllw ((__v4hi)__m, (long long)__count);
526 static __inline __m64 __attribute__((__always_inline__))
527 _m_psllw (__m64 __m, __m64 __count)
532 static __inline __m64 __attribute__((__always_inline__))
533 _mm_slli_pi16 (__m64 __m, int __count)
535 return (__m64) __builtin_ia32_psllw ((__v4hi)__m, __count);
538 static __inline __m64 __attribute__((__always_inline__))
539 _m_psllwi (__m64 __m, int __count)
545 static __inline __m64 __attribute__((__always_inline__))
546 _mm_sll_pi32 (__m64 __m, __m64 __count)
548 return (__m64) __builtin_ia32_pslld ((__v2si)__m, (long long)__count);
551 static __inline __m64 __attribute__((__always_inline__))
552 _m_pslld (__m64 __m, __m64 __count)
557 static __inline __m64
558 _mm_slli_pi32 (__m64 __m, int __count)
560 return (__m64) __builtin_ia32_pslld ((__v2si)__m, __count);
563 static __inline __m64 __attribute__((__always_inline__))
564 _m_pslldi (__m64 __m, int __count)
570 static __inline __m64 __attribute__((__always_inline__))
571 _mm_sll_si64 (__m64 __m, __m64 __count)
573 return (__m64) __builtin_ia32_psllq ((long long)__m, (long long)__count);
576 static __inline __m64 __attribute__((__always_inline__))
577 _m_psllq (__m64 __m, __m64 __count)
582 static __inline __m64 __attribute__((__always_inline__))
583 _mm_slli_si64 (__m64 __m, int __count)
585 return (__m64) __builtin_ia32_psllq ((long long)__m, (long long)__count);
588 static __inline __m64 __attribute__((__always_inline__))
589 _m_psllqi (__m64 __m, int __count)
595 static __inline __m64 __attribute__((__always_inline__))
596 _mm_sra_pi16 (__m64 __m, __m64 __count)
598 return (__m64) __builtin_ia32_psraw ((__v4hi)__m, (long long)__count);
601 static __inline __m64 __attribute__((__always_inline__))
602 _m_psraw (__m64 __m, __m64 __count)
607 static __inline __m64 __attribute__((__always_inline__))
608 _mm_srai_pi16 (__m64 __m, int __count)
610 return (__m64) __builtin_ia32_psraw ((__v4hi)__m, __count);
613 static __inline __m64 __attribute__((__always_inline__))
614 _m_psrawi (__m64 __m, int __count)
620 static __inline __m64 __attribute__((__always_inline__))
621 _mm_sra_pi32 (__m64 __m, __m64 __count)
623 return (__m64) __builtin_ia32_psrad ((__v2si)__m, (long long)__count);
626 static __inline __m64 __attribute__((__always_inline__))
627 _m_psrad (__m64 __m, __m64 __count)
632 static __inline __m64 __attribute__((__always_inline__))
633 _mm_srai_pi32 (__m64 __m, int __count)
635 return (__m64) __builtin_ia32_psrad ((__v2si)__m, __count);
638 static __inline __m64 __attribute__((__always_inline__))
639 _m_psradi (__m64 __m, int __count)
645 static __inline __m64 __attribute__((__always_inline__))
646 _mm_srl_pi16 (__m64 __m, __m64 __count)
648 return (__m64) __builtin_ia32_psrlw ((__v4hi)__m, (long long)__count);
651 static __inline __m64 __attribute__((__always_inline__))
652 _m_psrlw (__m64 __m, __m64 __count)
657 static __inline __m64 __attribute__((__always_inline__))
658 _mm_srli_pi16 (__m64 __m, int __count)
660 return (__m64) __builtin_ia32_psrlw ((__v4hi)__m, __count);
663 static __inline __m64 __attribute__((__always_inline__))
664 _m_psrlwi (__m64 __m, int __count)
670 static __inline __m64 __attribute__((__always_inline__))
671 _mm_srl_pi32 (__m64 __m, __m64 __count)
673 return (__m64) __builtin_ia32_psrld ((__v2si)__m, (long long)__count);
676 static __inline __m64 __attribute__((__always_inline__))
677 _m_psrld (__m64 __m, __m64 __count)
682 static __inline __m64 __attribute__((__always_inline__))
683 _mm_srli_pi32 (__m64 __m, int __count)
685 return (__m64) __builtin_ia32_psrld ((__v2si)__m, __count);
688 static __inline __m64 __attribute__((__always_inline__))
689 _m_psrldi (__m64 __m, int __count)
695 static __inline __m64 __attribute__((__always_inline__))
696 _mm_srl_si64 (__m64 __m, __m64 __count)
698 return (__m64) __builtin_ia32_psrlq ((long long)__m, (long long)__count);
701 static __inline __m64 __attribute__((__always_inline__))
702 _m_psrlq (__m64 __m, __m64 __count)
707 static __inline __m64 __attribute__((__always_inline__))
708 _mm_srli_si64 (__m64 __m, int __count)
710 return (__m64) __builtin_ia32_psrlq ((long long)__m, (long long)__count);
713 static __inline __m64 __attribute__((__always_inline__))
714 _m_psrlqi (__m64 __m, int __count)
720 static __inline __m64 __attribute__((__always_inline__))
721 _mm_and_si64 (__m64 __m1, __m64 __m2)
726 static __inline __m64 __attribute__((__always_inline__))
727 _m_pand (__m64 __m1, __m64 __m2)
734 static __inline __m64 __attribute__((__always_inline__))
735 _mm_andnot_si64 (__m64 __m1, __m64 __m2)
740 static __inline __m64 __attribute__((__always_inline__))
741 _m_pandn (__m64 __m1, __m64 __m2)
747 static __inline __m64 __attribute__((__always_inline__))
748 _mm_or_si64 (__m64 __m1, __m64 __m2)
753 static __inline __m64 __attribute__((__always_inline__))
754 _m_por (__m64 __m1, __m64 __m2)
760 static __inline __m64 __attribute__((__always_inline__))
761 _mm_xor_si64 (__m64 __m1, __m64 __m2)
766 static __inline __m64 __attribute__((__always_inline__))
767 _m_pxor (__m64 __m1, __m64 __m2)
774 static __inline __m64 __attribute__((__always_inline__))
775 _mm_cmpeq_pi8 (__m64 __m1, __m64 __m2)
777 return (__m64) __builtin_ia32_pcmpeqb ((__v8qi)__m1, (__v8qi)__m2);
780 static __inline __m64 __attribute__((__always_inline__))
781 _m_pcmpeqb (__m64 __m1, __m64 __m2)
786 static __inline __m64 __attribute__((__always_inline__))
787 _mm_cmpgt_pi8 (__m64 __m1, __m64 __m2)
789 return (__m64) __builtin_ia32_pcmpgtb ((__v8qi)__m1, (__v8qi)__m2);
792 static __inline __m64 __attribute__((__always_inline__))
793 _m_pcmpgtb (__m64 __m1, __m64 __m2)
800 static __inline __m64 __attribute__((__always_inline__))
801 _mm_cmpeq_pi16 (__m64 __m1, __m64 __m2)
803 return (__m64) __builtin_ia32_pcmpeqw ((__v4hi)__m1, (__v4hi)__m2);
806 static __inline __m64 __attribute__((__always_inline__))
807 _m_pcmpeqw (__m64 __m1, __m64 __m2)
812 static __inline __m64 __attribute__((__always_inline__))
813 _mm_cmpgt_pi16 (__m64 __m1, __m64 __m2)
815 return (__m64) __builtin_ia32_pcmpgtw ((__v4hi)__m1, (__v4hi)__m2);
818 static __inline __m64 __attribute__((__always_inline__))
819 _m_pcmpgtw (__m64 __m1, __m64 __m2)
826 static __inline __m64 __attribute__((__always_inline__))
827 _mm_cmpeq_pi32 (__m64 __m1, __m64 __m2)
829 return (__m64) __builtin_ia32_pcmpeqd ((__v2si)__m1, (__v2si)__m2);
832 static __inline __m64 __attribute__((__always_inline__))
833 _m_pcmpeqd (__m64 __m1, __m64 __m2)
838 static __inline __m64 __attribute__((__always_inline__))
839 _mm_cmpgt_pi32 (__m64 __m1, __m64 __m2)
841 return (__m64) __builtin_ia32_pcmpgtd ((__v2si)__m1, (__v2si)__m2);
844 static __inline __m64 __attribute__((__always_inline__))
845 _m_pcmpgtd (__m64 __m1, __m64 __m2)
851 static __inline __m64 __attribute__((__always_inline__))
854 return (__m64)0LL;
858 static __inline __m64 __attribute__((__always_inline__))
861 return (__m64) __builtin_ia32_vec_init_v2si (__i0, __i1);
865 static __inline __m64 __attribute__((__always_inline__))
868 return (__m64) __builtin_ia32_vec_init_v4hi (__w0, __w1, __w2, __w3);
872 static __inline __m64 __attribute__((__always_inline__))
876 return (__m64) __builtin_ia32_vec_init_v8qi (__b0, __b1, __b2, __b3,
881 static __inline __m64 __attribute__((__always_inline__))
887 static __inline __m64 __attribute__((__always_inline__))
893 static __inline __m64 __attribute__((__always_inline__))
901 static __inline __m64 __attribute__((__always_inline__))
908 static __inline __m64 __attribute__((__always_inline__))
915 static __inline __m64 __attribute__((__always_inline__))