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
14 __v4hi v4hi; in f()
23 (void)reinterpret_cast<__v4hi>(v2si); in f()
24 (void)(__v4hi)v2si; in f()
46 …(void)reinterpret_cast<__v4hi>(v8hi); // expected-error {{reinterpret_cast from vector '__v8hi' (v… in f()
47 …(void)(__v4hi)v8hi; // expected-error {{C-style cast from vector '__v8hi' (vector of 8 'short' val… in f()
51 …(void)(__v4hi)v3hi; // expected-error {{C-style cast from vector '__v3hi' (vector of 3 'short' val… in f()
55 …(void)reinterpret_cast<__v4hi>(v3hi); // expected-error {{reinterpret_cast from vector '__v3hi' (v… in f()
71 __v4hi threeToFour(__v3hi v) { // expected-note {{not viable}} in threeToFour()
74 __v3hi fourToThree(__v4hi v) { // expected-note {{not viable}} in fourToThree()
[all …]
Daggregate-initialization.cpp45 typedef short __v4hi __attribute__ ((__vector_size__ (8))); typedef
46 __v4hi v1 = { (void *)1, 2, 3 }; // expected-error {{cannot initialize a vector element of type 'sh…
/external/clang/lib/Headers/
Dmmintrin.h31 typedef short __v4hi __attribute__((__vector_size__(8))); typedef
143 return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2); in _mm_packs_pi16()
203 return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2); in _mm_packs_pu16()
253 return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2); in _mm_unpackhi_pi16()
324 return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2); in _mm_unpacklo_pi16()
387 return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2); in _mm_add_pi16()
453 return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2); in _mm_adds_pi16()
497 return (__m64)__builtin_ia32_paddusw((__v4hi)__m1, (__v4hi)__m2); in _mm_adds_pu16()
539 return (__m64)__builtin_ia32_psubw((__v4hi)__m1, (__v4hi)__m2); in _mm_sub_pi16()
606 return (__m64)__builtin_ia32_psubsw((__v4hi)__m1, (__v4hi)__m2); in _mm_subs_pi16()
[all …]
Dtmmintrin.h83 return (__m64)__builtin_ia32_pabsw((__v4hi)__a); in _mm_abs_pi16()
252 return (__m64)__builtin_ia32_phaddw((__v4hi)__a, (__v4hi)__b); in _mm_hadd_pi16()
323 return (__m64)__builtin_ia32_phaddsw((__v4hi)__a, (__v4hi)__b); in _mm_hadds_pi16()
392 return (__m64)__builtin_ia32_phsubw((__v4hi)__a, (__v4hi)__b); in _mm_hsub_pi16()
465 return (__m64)__builtin_ia32_phsubsw((__v4hi)__a, (__v4hi)__b); in _mm_hsubs_pi16()
567 return (__m64)__builtin_ia32_pmulhrsw((__v4hi)__a, (__v4hi)__b); in _mm_mulhrs_pi16()
743 return (__m64)__builtin_ia32_psignw((__v4hi)__a, (__v4hi)__b); in _mm_sign_pi16()
Dxmmintrin.h2163 return (__m64)__builtin_ia32_pmaxsw((__v4hi)__a, (__v4hi)__b); in _mm_max_pi16()
2201 return (__m64)__builtin_ia32_pminsw((__v4hi)__a, (__v4hi)__b); in _mm_min_pi16()
2257 return (__m64)__builtin_ia32_pmulhuw((__v4hi)__a, (__v4hi)__b); in _mm_mulhi_pu16()
2288 (__m64)__builtin_ia32_pshufw((__v4hi)(__m64)(a), (n)); })
2352 return (__m64)__builtin_ia32_pavgw((__v4hi)__a, (__v4hi)__b); in _mm_avg_pu16()
Dmm3dnow.h132 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.c138 typedef short __v4hi __attribute__((__vector_size__(8))); in test14() typedef
141 __v4hi a; in test14()
142 __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()