Lines Matching defs:__m64
31 typedef long long __m64 __attribute__((__vector_size__(8)));
43 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
46 return (__m64)(__v2si){__i, 0};
50 _mm_cvtsi64_si32(__m64 __m)
56 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
59 return (__m64)__i;
63 _mm_cvtm64_si64(__m64 __m)
68 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
69 _mm_packs_pi16(__m64 __m1, __m64 __m2)
71 return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
74 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
75 _mm_packs_pi32(__m64 __m1, __m64 __m2)
77 return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
80 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
81 _mm_packs_pu16(__m64 __m1, __m64 __m2)
83 return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
86 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
87 _mm_unpackhi_pi8(__m64 __m1, __m64 __m2)
89 return (__m64)__builtin_shufflevector((__v8qi)__m1, (__v8qi)__m2, 4, 8+4, 5,
93 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
94 _mm_unpackhi_pi16(__m64 __m1, __m64 __m2)
96 return (__m64)__builtin_shufflevector((__v4hi)__m1, (__v4hi)__m2, 2, 4+2, 3,
100 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
101 _mm_unpackhi_pi32(__m64 __m1, __m64 __m2)
103 return (__m64)__builtin_shufflevector((__v2si)__m1, (__v2si)__m2, 1, 2+1);
106 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
107 _mm_unpacklo_pi8(__m64 __m1, __m64 __m2)
109 return (__m64)__builtin_shufflevector((__v8qi)__m1, (__v8qi)__m2, 0, 8+0, 1,
113 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
114 _mm_unpacklo_pi16(__m64 __m1, __m64 __m2)
116 return (__m64)__builtin_shufflevector((__v4hi)__m1, (__v4hi)__m2, 0, 4+0, 1,
120 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
121 _mm_unpacklo_pi32(__m64 __m1, __m64 __m2)
123 return (__m64)__builtin_shufflevector((__v2si)__m1, (__v2si)__m2, 0, 2+0);
126 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
127 _mm_add_pi8(__m64 __m1, __m64 __m2)
129 return (__m64)((__v8qi)__m1 + (__v8qi)__m2);
132 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
133 _mm_add_pi16(__m64 __m1, __m64 __m2)
135 return (__m64)((__v4hi)__m1 + (__v4hi)__m2);
138 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
139 _mm_add_pi32(__m64 __m1, __m64 __m2)
141 return (__m64)((__v2si)__m1 + (__v2si)__m2);
144 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
145 _mm_adds_pi8(__m64 __m1, __m64 __m2)
147 return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
150 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
151 _mm_adds_pi16(__m64 __m1, __m64 __m2)
153 return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2);
156 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
157 _mm_adds_pu8(__m64 __m1, __m64 __m2)
159 return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2);
162 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
163 _mm_adds_pu16(__m64 __m1, __m64 __m2)
165 return (__m64)__builtin_ia32_paddusw((__v4hi)__m1, (__v4hi)__m2);
168 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
169 _mm_sub_pi8(__m64 __m1, __m64 __m2)
171 return (__m64)((__v8qi)__m1 - (__v8qi)__m2);
174 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
175 _mm_sub_pi16(__m64 __m1, __m64 __m2)
177 return (__m64)((__v4hi)__m1 - (__v4hi)__m2);
180 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
181 _mm_sub_pi32(__m64 __m1, __m64 __m2)
183 return (__m64)((__v2si)__m1 - (__v2si)__m2);
186 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
187 _mm_subs_pi8(__m64 __m1, __m64 __m2)
189 return (__m64)__builtin_ia32_psubsb((__v8qi)__m1, (__v8qi)__m2);
192 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
193 _mm_subs_pi16(__m64 __m1, __m64 __m2)
195 return (__m64)__builtin_ia32_psubsw((__v4hi)__m1, (__v4hi)__m2);
198 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
199 _mm_subs_pu8(__m64 __m1, __m64 __m2)
201 return (__m64)__builtin_ia32_psubusb((__v8qi)__m1, (__v8qi)__m2);
204 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
205 _mm_subs_pu16(__m64 __m1, __m64 __m2)
207 return (__m64)__builtin_ia32_psubusw((__v4hi)__m1, (__v4hi)__m2);
210 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
211 _mm_madd_pi16(__m64 __m1, __m64 __m2)
213 return (__m64)__builtin_ia32_pmaddwd((__v4hi)__m1, (__v4hi)__m2);
216 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
217 _mm_mulhi_pi16(__m64 __m1, __m64 __m2)
219 return (__m64)__builtin_ia32_pmulhw((__v4hi)__m1, (__v4hi)__m2);
222 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
223 _mm_mullo_pi16(__m64 __m1, __m64 __m2)
225 return (__m64)((__v4hi)__m1 * (__v4hi)__m2);
228 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
229 _mm_sll_pi16(__m64 __m, __m64 __count)
231 return (__m64)__builtin_ia32_psllw((__v4hi)__m, __count);
234 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
235 _mm_slli_pi16(__m64 __m, int __count)
237 return (__m64)__builtin_ia32_psllwi((__v4hi)__m, __count);
240 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
241 _mm_sll_pi32(__m64 __m, __m64 __count)
243 return (__m64)__builtin_ia32_pslld((__v2si)__m, __count);
246 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
247 _mm_slli_pi32(__m64 __m, int __count)
249 return (__m64)__builtin_ia32_pslldi((__v2si)__m, __count);
252 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
253 _mm_sll_si64(__m64 __m, __m64 __count)
258 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
259 _mm_slli_si64(__m64 __m, int __count)
264 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
265 _mm_sra_pi16(__m64 __m, __m64 __count)
267 return (__m64)__builtin_ia32_psraw((__v4hi)__m, __count);
270 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
271 _mm_srai_pi16(__m64 __m, int __count)
273 return (__m64)__builtin_ia32_psrawi((__v4hi)__m, __count);
276 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
277 _mm_sra_pi32(__m64 __m, __m64 __count)
279 return (__m64)__builtin_ia32_psrad((__v2si)__m, __count);
282 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
283 _mm_srai_pi32(__m64 __m, int __count)
285 return (__m64)__builtin_ia32_psradi((__v2si)__m, __count);
288 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
289 _mm_srl_pi16(__m64 __m, __m64 __count)
291 return (__m64)__builtin_ia32_psrlw((__v4hi)__m, __count);
294 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
295 _mm_srli_pi16(__m64 __m, int __count)
297 return (__m64)__builtin_ia32_psrlwi((__v4hi)__m, __count);
300 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
301 _mm_srl_pi32(__m64 __m, __m64 __count)
303 return (__m64)__builtin_ia32_psrld((__v2si)__m, __count);
306 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
307 _mm_srli_pi32(__m64 __m, int __count)
309 return (__m64)__builtin_ia32_psrldi((__v2si)__m, __count);
312 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
313 _mm_srl_si64(__m64 __m, __m64 __count)
315 return (__m64)__builtin_ia32_psrlq(__m, __count);
318 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
319 _mm_srli_si64(__m64 __m, int __count)
324 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
325 _mm_and_si64(__m64 __m1, __m64 __m2)
330 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
331 _mm_andnot_si64(__m64 __m1, __m64 __m2)
336 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
337 _mm_or_si64(__m64 __m1, __m64 __m2)
342 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
343 _mm_xor_si64(__m64 __m1, __m64 __m2)
348 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
349 _mm_cmpeq_pi8(__m64 __m1, __m64 __m2)
351 return (__m64)((__v8qi)__m1 == (__v8qi)__m2);
354 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
355 _mm_cmpeq_pi16(__m64 __m1, __m64 __m2)
357 return (__m64)((__v4hi)__m1 == (__v4hi)__m2);
360 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
361 _mm_cmpeq_pi32(__m64 __m1, __m64 __m2)
363 return (__m64)((__v2si)__m1 == (__v2si)__m2);
366 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
367 _mm_cmpgt_pi8(__m64 __m1, __m64 __m2)
369 return (__m64)((__v8qi)__m1 > (__v8qi)__m2);
372 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
373 _mm_cmpgt_pi16(__m64 __m1, __m64 __m2)
375 return (__m64)((__v4hi)__m1 > (__v4hi)__m2);
378 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
379 _mm_cmpgt_pi32(__m64 __m1, __m64 __m2)
381 return (__m64)((__v2si)__m1 > (__v2si)__m2);
384 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
387 return (__m64){ 0LL };
390 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
393 return (__m64)(__v2si){ __i0, __i1 };
396 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
399 return (__m64)(__v4hi){ __s0, __s1, __s2, __s3 };
402 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
406 return (__m64)(__v8qi){ __b0, __b1, __b2, __b3, __b4, __b5, __b6, __b7 };
409 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
412 return (__m64)(__v2si){ __i, __i };
415 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
418 return (__m64)(__v4hi){ __s, __s, __s, __s };
421 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
424 return (__m64)(__v8qi){ __b, __b, __b, __b, __b, __b, __b, __b };
427 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
430 return (__m64)(__v2si){ __i1, __i0 };
433 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
436 return (__m64)(__v4hi){ __s3, __s2, __s1, __s0 };
439 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
443 return (__m64)(__v8qi){ __b7, __b6, __b5, __b4, __b3, __b2, __b1, __b0 };