Home
last modified time | relevance | path

Searched refs:__v4hi (Results 1 – 9 of 9) sorted by relevance

/external/clang/test/SemaCXX/
Dvector-casts.cpp3 typedef short __v4hi __attribute__((__vector_size__(8))); typedef
11 __v4hi v4hi; in f()
19 (void)reinterpret_cast<__v4hi>(v2si); in f()
20 (void)(__v4hi)v2si; in f()
37 …(void)reinterpret_cast<__v4hi>(v8hi); // expected-error {{reinterpret_cast from vector '__v8hi' (v… in f()
38 …(void)(__v4hi)v8hi; // expected-error {{C-style cast from vector '__v8hi' (vector of 8 'short' val… in f()
53 __v4hi threeToFour(__v3hi v) { // expected-note {{not viable}} in threeToFour()
56 __v3hi fourToThree(__v4hi v) { // expected-note {{not viable}} in fourToThree()
60 void call3to4(__v4hi v) { in call3to4()
Daggregate-initialization.cpp37 typedef short __v4hi __attribute__ ((__vector_size__ (8))); typedef
38 __v4hi v1 = { (void *)1, 2, 3 }; // expected-error {{cannot initialize a vector element of type 'sh…
/external/clang/lib/Headers/
Dmmintrin.h34 typedef short __v4hi __attribute__((__vector_size__(8))); typedef
70 return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2); in _mm_packs_pi16()
82 return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2); in _mm_packs_pu16()
94 return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2); in _mm_unpackhi_pi16()
112 return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2); in _mm_unpacklo_pi16()
130 return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2); in _mm_add_pi16()
148 return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2); in _mm_adds_pi16()
160 return (__m64)__builtin_ia32_paddusw((__v4hi)__m1, (__v4hi)__m2); in _mm_adds_pu16()
172 return (__m64)__builtin_ia32_psubw((__v4hi)__m1, (__v4hi)__m2); in _mm_sub_pi16()
190 return (__m64)__builtin_ia32_psubsw((__v4hi)__m1, (__v4hi)__m2); in _mm_subs_pi16()
[all …]
Dtmmintrin.h48 return (__m64)__builtin_ia32_pabsw((__v4hi)__a); in _mm_abs_pi16()
94 return (__m64)__builtin_ia32_phaddw((__v4hi)__a, (__v4hi)__b); in _mm_hadd_pi16()
112 return (__m64)__builtin_ia32_phaddsw((__v4hi)__a, (__v4hi)__b); in _mm_hadds_pi16()
130 return (__m64)__builtin_ia32_phsubw((__v4hi)__a, (__v4hi)__b); in _mm_hsub_pi16()
148 return (__m64)__builtin_ia32_phsubsw((__v4hi)__a, (__v4hi)__b); in _mm_hsubs_pi16()
172 return (__m64)__builtin_ia32_pmulhrsw((__v4hi)__a, (__v4hi)__b); in _mm_mulhrs_pi16()
214 return (__m64)__builtin_ia32_psignw((__v4hi)__a, (__v4hi)__b); in _mm_sign_pi16()
Dxmmintrin.h703 __v4hi __b = (__v4hi)__a; in _mm_extract_pi16()
710 __v4hi __b = (__v4hi)__a; in _mm_insert_pi16()
718 return (__m64)__builtin_ia32_pmaxsw((__v4hi)__a, (__v4hi)__b); in _mm_max_pi16()
730 return (__m64)__builtin_ia32_pminsw((__v4hi)__a, (__v4hi)__b); in _mm_min_pi16()
748 return (__m64)__builtin_ia32_pmulhuw((__v4hi)__a, (__v4hi)__b); in _mm_mulhi_pu16()
753 (__m64)__builtin_ia32_pshufw((__v4hi)__a, (n)); })
770 return (__m64)__builtin_ia32_pavgw((__v4hi)__a, (__v4hi)__b); in _mm_avg_pu16()
Dmm3dnow.h129 return (__m64)__builtin_ia32_pmulhrw((__v4hi)__m1, (__v4hi)__m2); in _m_pmulhrw()
/external/clang/test/CodeGen/
Dvector.c2 typedef short __v4hi __attribute__ ((__vector_size__ (8))); typedef
5 __v4hi A = (__v4hi)0LL; in test1()
8 __v4hi x = {1,2,3};
9 __v4hi y = {1,2,3,4};
/external/clang/test/Sema/
Dexprs.c137 typedef short __v4hi __attribute__((__vector_size__(8))); in test14() typedef
140 __v4hi a; in test14()
141 __m64 mask = (__m64)((__v4hi)a > (__v4hi)a); in test14()
/external/clang/test/CodeGenCXX/
Drtti-layout.cpp107 typedef short __v4hi __attribute__ ((__vector_size__ (8))); in f() typedef
108 CHECK_VTABLE(__v4hi, fundamental); in f()