Home
last modified time | relevance | path

Searched refs:vec_add (Results 1 – 12 of 12) sorted by relevance

/external/eigen/Eigen/src/Core/arch/AltiVec/
DPacketMath.h164 template<> EIGEN_STRONG_INLINE Packet4f plset<float>(const float& a) { return vec_add(pset1<Packet4…
165 template<> EIGEN_STRONG_INLINE Packet4i plset<int>(const int& a) { return vec_add(pset1<Packet4…
167 …TRONG_INLINE Packet4f padd<Packet4f>(const Packet4f& a, const Packet4f& b) { return vec_add(a,b); }
168 …TRONG_INLINE Packet4i padd<Packet4i>(const Packet4i& a, const Packet4i& b) { return vec_add(a,b); }
357 sum = vec_add(a, b);
359 sum = vec_add(sum, b);
382 sum[0] = vec_add(sum[0], sum[1]);
384 sum[1] = vec_add(sum[2], sum[3]);
386 sum[0] = vec_add(sum[0], sum[1]);
418 sum[0] = vec_add(sum[0], sum[1]);
[all …]
DComplex.h68 …2cf padd<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(vec_add(a.v,b.v)); }
89 return Packet2cf(vec_add(v1, v2));
205 return Packet2cf(pdiv(res.v, vec_add(s,vec_perm(s, s, p16uc_COMPLEX_REV))));
/external/libunwind/tests/
Dppc64-test-altivec.c130 vec_nor (v1, vec_add (v2, vec_sub (v3, vec_and (v4, vec_or (v5, v6))))); in vec_stack()
144 vec_add (v2, in vec_stack()
/external/clang/test/CodeGen/
Dbuiltins-ppc-altivec.c92 res_vsc = vec_add(vsc, vsc); in test1()
96 res_vsc = vec_add(vbc, vsc); in test1()
100 res_vsc = vec_add(vsc, vbc); in test1()
104 res_vuc = vec_add(vuc, vuc); in test1()
108 res_vuc = vec_add(vbc, vuc); in test1()
112 res_vuc = vec_add(vuc, vbc); in test1()
116 res_vs = vec_add(vs, vs); in test1()
120 res_vs = vec_add(vbs, vs); in test1()
124 res_vs = vec_add(vs, vbs); in test1()
128 res_vus = vec_add(vus, vus); in test1()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_blit_N.c101 : vec_add(vec_lvsl(8, src), vec_splat_u8(8)))
145 vswiz = vec_add(plus, (vector unsigned char)vec_splat(srcvec, 0)); in calc_swizzle32()
264 vector unsigned int v16 = vec_add(v8, v8); in Blit_RGB565_32Altivec()
279 vec_add((vector unsigned int)vredalpha1, vec_sl(v8, v16)) in Blit_RGB565_32Altivec()
292 vec_add((vector unsigned int)vblue1, v8) in Blit_RGB565_32Altivec()
305 vec_add((vector unsigned int)vgreen1, vec_sl(v8, v8)) in Blit_RGB565_32Altivec()
409 vector unsigned int v16 = vec_add(v8, v8); in Blit_RGB555_32Altivec()
424 vec_add((vector unsigned int)vredalpha1, vec_sl(v8, v16)) in Blit_RGB555_32Altivec()
437 vec_add((vector unsigned int)vblue1, v8) in Blit_RGB555_32Altivec()
450 vec_add((vector unsigned int)vgreen1, vec_sl(v8, v8)) in Blit_RGB555_32Altivec()
DSDL_blit_A.c693 #define VEC_MERGE_PERMUTE() (vec_add(vec_lvsl(0, (int*)NULL), (vector unsigned char)vec_splat_u16(0…
694 #define VEC_U32_24() (vec_add(vec_splat_u32(12), vec_splat_u32(12)))
698 : vec_add(vec_lvsl(8, src), vec_splat_u8(8)))
713 vtemp1 = vec_add(vtemp1, vtemp3); \
714 vtemp2 = vec_add(vtemp2, vtemp4); \
716 vtemp1 = vec_add(vtemp1, v1_16); \
718 vtemp1 = vec_add(vtemp1, vtemp3); \
720 vtemp2 = vec_add(vtemp2, v1_16); \
722 vtemp2 = vec_add(vtemp2, vtemp4); \
769 vswiz = vec_add(plus, (vector unsigned char)vec_splat(srcvec, 0)); in calc_swizzle32()
[all …]
/external/valgrind/main/none/tests/ppc32/
DtestVMX.stdout.exp13 Function vec_add [type char] ===> OK
14 Function vec_add [type unsigned char] ===> OK
15 Function vec_add [type short] ===> OK
16 Function vec_add [type unsigned short] ===> OK
17 Function vec_add [type integer] ===> OK
18 Function vec_add [type unsigned int] ===> OK
DtestVMX.c569 Caux1.v = vec_add( Ccons1, Ccons2 ); in main()
584 UCaux1.v = vec_add( UCcons1, UCcons2 ); in main()
599 Saux1.v = vec_add( Scons1, Scons2 ); in main()
614 USaux1.v = vec_add( UScons1, UScons2 ); in main()
629 Iaux1.v = vec_add( Icons1, Icons2 ); in main()
644 UIaux1.v = vec_add( UIcons1, UIcons3 ); in main()
660 Faux1.v = vec_add( Fcons1, Fcons2 ); in main()
/external/clang/test/Parser/
Dcxx-altivec.cpp153 result.xyzw = vec_add(lhs.xyzw, rhs.xyzw); in Add()
/external/clang/lib/Headers/
Daltivec.h141 vec_add(vector signed char __a, vector signed char __b) in vec_add() function
147 vec_add(vector bool char __a, vector signed char __b) in vec_add() function
153 vec_add(vector signed char __a, vector bool char __b) in vec_add() function
159 vec_add(vector unsigned char __a, vector unsigned char __b) in vec_add() function
165 vec_add(vector bool char __a, vector unsigned char __b) in vec_add() function
171 vec_add(vector unsigned char __a, vector bool char __b) in vec_add() function
177 vec_add(vector short __a, vector short __b) in vec_add() function
183 vec_add(vector bool short __a, vector short __b) in vec_add() function
189 vec_add(vector short __a, vector bool short __b) in vec_add() function
195 vec_add(vector unsigned short __a, vector unsigned short __b) in vec_add() function
[all …]
/external/opencv/cv/src/
Dcvsmooth.cpp593 *(vector ushort*) &y[0] = vec_add( *(vector ushort*) &y[0], *(vector ushort*) &x[0] ); in histogram_add()
594 *(vector ushort*) &y[8] = vec_add( *(vector ushort*) &y[8], *(vector ushort*) &x[8] ); in histogram_add()
/external/clang/docs/
DLanguageExtensions.rst309 b = vec_add(a, a) + a;