/external/eigen/Eigen/src/Core/arch/AltiVec/ |
PacketMath.h | 164 template<> EIGEN_STRONG_INLINE Packet4f plset<float>(const float& a) { return vec_add(pset1<Packet4f>(a), p4f_COUNTDOWN); } 165 template<> EIGEN_STRONG_INLINE Packet4i plset<int>(const int& a) { return vec_add(pset1<Packet4i>(a), p4i_COUNTDOWN); } 167 template<> EIGEN_STRONG_INLINE Packet4f padd<Packet4f>(const Packet4f& a, const Packet4f& b) { return vec_add(a,b); } 168 template<> EIGEN_STRONG_INLINE Packet4i padd<Packet4i>(const Packet4i& a, const Packet4i& b) { return vec_add(a,b); } 197 prod = vec_add( low_prod, high_prod ); 205 prod_ = vec_add(prod_, v1sel); 354 sum = vec_add(a, b); 356 sum = vec_add(sum, b); 379 sum[0] = vec_add(sum[0], sum[1]); 381 sum[1] = vec_add(sum[2], sum[3]) [all...] |
Complex.h | 68 template<> EIGEN_STRONG_INLINE Packet2cf 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/clang/test/Parser/ |
cxx-altivec.cpp | 151 result.xyzw = vec_add(lhs.xyzw, rhs.xyzw);
|
/external/clang/test/CodeGen/ |
builtins-ppc-altivec.c | 69 /* vec_add */ 70 res_vsc = vec_add(vsc, vsc); // CHECK: add <16 x i8> 71 res_vsc = vec_add(vbc, vsc); // CHECK: add <16 x i8> 72 res_vsc = vec_add(vsc, vbc); // CHECK: add <16 x i8> 73 res_vuc = vec_add(vuc, vuc); // CHECK: add <16 x i8> 74 res_vuc = vec_add(vbc, vuc); // CHECK: add <16 x i8> 75 res_vuc = vec_add(vuc, vbc); // CHECK: add <16 x i8> 76 res_vs = vec_add(vs, vs); // CHECK: add <8 x i16> 77 res_vs = vec_add(vbs, vs); // CHECK: add <8 x i16> 78 res_vs = vec_add(vs, vbs); // CHECK: add <8 x i16 [all...] |
/external/valgrind/main/none/tests/ppc32/ |
testVMX.stdout.exp | 13 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
|
testVMX.c | 566 /* Function vec_add */ 569 Caux1.v = vec_add( Ccons1, Ccons2 ); 579 printf("Function vec_add [type char] ===> Error\n"); 581 printf("Function vec_add [type char] ===> OK\n"); 584 UCaux1.v = vec_add( UCcons1, UCcons2 ); 594 printf("Function vec_add [type unsigned char] ===> Error\n"); 596 printf("Function vec_add [type unsigned char] ===> OK\n"); 599 Saux1.v = vec_add( Scons1, Scons2 ); 609 printf("Function vec_add [type short] ===> Error\n"); 611 printf("Function vec_add [type short] ===> OK\n") [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_blit_A.c | 693 #define VEC_MERGE_PERMUTE() (vec_add(vec_lvsl(0, (int*)NULL), (vector unsigned char)vec_splat_u16(0x0F))) 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)) [all...] |
SDL_blit_N.c | 101 : vec_add(vec_lvsl(8, src), vec_splat_u8(8))) 145 vswiz = vec_add(plus, (vector unsigned char)vec_splat(srcvec, 0)); 264 vector unsigned int v16 = vec_add(v8, v8); 279 vec_add((vector unsigned int)vredalpha1, vec_sl(v8, v16)) 292 vec_add((vector unsigned int)vblue1, v8) 305 vec_add((vector unsigned int)vgreen1, vec_sl(v8, v8)) 409 vector unsigned int v16 = vec_add(v8, v8); 424 vec_add((vector unsigned int)vredalpha1, vec_sl(v8, v16)) 437 vec_add((vector unsigned int)vblue1, v8) 450 vec_add((vector unsigned int)vgreen1, vec_sl(v8, v8) [all...] |
/external/clang/lib/Headers/ |
altivec.h | 135 /* vec_add */ 138 vec_add(vector signed char __a, vector signed char __b) function 144 vec_add(vector bool char __a, vector signed char __b) function 150 vec_add(vector signed char __a, vector bool char __b) function 156 vec_add(vector unsigned char __a, vector unsigned char __b) function 162 vec_add(vector bool char __a, vector unsigned char __b) function 168 vec_add(vector unsigned char __a, vector bool char __b) function 174 vec_add(vector short __a, vector short __b) function 180 vec_add(vector bool short __a, vector short __b) function 186 vec_add(vector short __a, vector bool short __b function 192 vec_add(vector unsigned short __a, vector unsigned short __b) function 198 vec_add(vector bool short __a, vector unsigned short __b) function 204 vec_add(vector unsigned short __a, vector bool short __b) function 210 vec_add(vector int __a, vector int __b) function 216 vec_add(vector bool int __a, vector int __b) function 222 vec_add(vector int __a, vector bool int __b) function 228 vec_add(vector unsigned int __a, vector unsigned int __b) function 234 vec_add(vector bool int __a, vector unsigned int __b) function 240 vec_add(vector unsigned int __a, vector bool int __b) function 246 vec_add(vector float __a, vector float __b) function [all...] |
/prebuilts/sdk/renderscript/clang-include/ |
altivec.h | 135 /* vec_add */ 138 vec_add(vector signed char __a, vector signed char __b) function 144 vec_add(vector bool char __a, vector signed char __b) function 150 vec_add(vector signed char __a, vector bool char __b) function 156 vec_add(vector unsigned char __a, vector unsigned char __b) function 162 vec_add(vector bool char __a, vector unsigned char __b) function 168 vec_add(vector unsigned char __a, vector bool char __b) function 174 vec_add(vector short __a, vector short __b) function 180 vec_add(vector bool short __a, vector short __b) function 186 vec_add(vector short __a, vector bool short __b function 192 vec_add(vector unsigned short __a, vector unsigned short __b) function 198 vec_add(vector bool short __a, vector unsigned short __b) function 204 vec_add(vector unsigned short __a, vector bool short __b) function 210 vec_add(vector int __a, vector int __b) function 216 vec_add(vector bool int __a, vector int __b) function 222 vec_add(vector int __a, vector bool int __b) function 228 vec_add(vector unsigned int __a, vector unsigned int __b) function 234 vec_add(vector bool int __a, vector unsigned int __b) function 240 vec_add(vector unsigned int __a, vector bool int __b) function 246 vec_add(vector float __a, vector float __b) function [all...] |
/external/opencv/cv/src/ |
cvsmooth.cpp | 593 *(vector ushort*) &y[0] = vec_add( *(vector ushort*) &y[0], *(vector ushort*) &x[0] ); 594 *(vector ushort*) &y[8] = vec_add( *(vector ushort*) &y[8], *(vector ushort*) &x[8] ); [all...] |