Home
last modified time | relevance | path

Searched refs:vec_sub (Results 1 – 23 of 23) sorted by relevance

/external/libvpx/libvpx/vpx_dsp/ppc/
Dhadamard_vsx.c18 const int16x8_t b1 = vec_sub(v[0], v[1]); in vpx_hadamard_s16_8x8_one_pass()
20 const int16x8_t b3 = vec_sub(v[2], v[3]); in vpx_hadamard_s16_8x8_one_pass()
22 const int16x8_t b5 = vec_sub(v[4], v[5]); in vpx_hadamard_s16_8x8_one_pass()
24 const int16x8_t b7 = vec_sub(v[6], v[7]); in vpx_hadamard_s16_8x8_one_pass()
28 const int16x8_t c2 = vec_sub(b0, b2); in vpx_hadamard_s16_8x8_one_pass()
29 const int16x8_t c3 = vec_sub(b1, b3); in vpx_hadamard_s16_8x8_one_pass()
32 const int16x8_t c6 = vec_sub(b4, b6); in vpx_hadamard_s16_8x8_one_pass()
33 const int16x8_t c7 = vec_sub(b5, b7); in vpx_hadamard_s16_8x8_one_pass()
36 v[1] = vec_sub(c2, c6); in vpx_hadamard_s16_8x8_one_pass()
37 v[2] = vec_sub(c0, c4); in vpx_hadamard_s16_8x8_one_pass()
[all …]
Dintrapred_vsx.c246 val = vec_sub(vec_add(vec_splat(l, 0), a), tl); in vpx_tm_predictor_4x4_vsx()
252 val = vec_sub(vec_add(vec_splat(l, 1), a), tl); in vpx_tm_predictor_4x4_vsx()
258 val = vec_sub(vec_add(vec_splat(l, 2), a), tl); in vpx_tm_predictor_4x4_vsx()
264 val = vec_sub(vec_add(vec_splat(l, 3), a), tl); in vpx_tm_predictor_4x4_vsx()
276 val = vec_sub(vec_add(vec_splat(l, 0), a), tl); in vpx_tm_predictor_8x8_vsx()
281 val = vec_sub(vec_add(vec_splat(l, 1), a), tl); in vpx_tm_predictor_8x8_vsx()
286 val = vec_sub(vec_add(vec_splat(l, 2), a), tl); in vpx_tm_predictor_8x8_vsx()
291 val = vec_sub(vec_add(vec_splat(l, 3), a), tl); in vpx_tm_predictor_8x8_vsx()
296 val = vec_sub(vec_add(vec_splat(l, 4), a), tl); in vpx_tm_predictor_8x8_vsx()
301 val = vec_sub(vec_add(vec_splat(l, 5), a), tl); in vpx_tm_predictor_8x8_vsx()
[all …]
Dsad_vsx.c24 v_subh = vec_sub(v_ah, v_bh); \
25 v_subl = vec_sub(v_al, v_bl); \
Dvariance_vsx.c31 const int16x8_t d0 = vec_sub(a0, b0); in vpx_get4x4sse_cs_vsx()
32 const int16x8_t d1 = vec_sub(a1, b1); in vpx_get4x4sse_cs_vsx()
/external/libjpeg-turbo/simd/
Djfdctfst-altivec.c50 tmp13 = vec_sub(tmp0, tmp3); \
52 tmp12 = vec_sub(tmp1, tmp2); \
55 out4 = vec_sub(tmp10, tmp11); \
62 out6 = vec_sub(tmp13, z1); \
72 z5 = vec_sub(tmp10, tmp12); \
82 z13 = vec_sub(tmp7, z3); \
85 out3 = vec_sub(z13, z2); \
87 out7 = vec_sub(z11, z4); \
123 tmp7 = vec_sub(col0, col7); in jsimd_fdct_ifast_altivec()
125 tmp6 = vec_sub(col1, col6); in jsimd_fdct_ifast_altivec()
[all …]
Djquanti-altivec.c82 out0 = vec_sub(out0, pw_centerjsamp); in jsimd_convsamp_altivec()
83 out1 = vec_sub(out1, pw_centerjsamp); in jsimd_convsamp_altivec()
84 out2 = vec_sub(out2, pw_centerjsamp); in jsimd_convsamp_altivec()
85 out3 = vec_sub(out3, pw_centerjsamp); in jsimd_convsamp_altivec()
86 out4 = vec_sub(out4, pw_centerjsamp); in jsimd_convsamp_altivec()
87 out5 = vec_sub(out5, pw_centerjsamp); in jsimd_convsamp_altivec()
88 out6 = vec_sub(out6, pw_centerjsamp); in jsimd_convsamp_altivec()
89 out7 = vec_sub(out7, pw_centerjsamp); in jsimd_convsamp_altivec()
164 row0 = vec_sub(row0, row0s); in jsimd_quantize_altivec()
165 row1 = vec_sub(row1, row1s); in jsimd_quantize_altivec()
[all …]
Djidctfst-altivec.c52 tmp11 = vec_sub(in##0, in##4); \
55 tmp12 = vec_sub(in##2, in##6); \
58 tmp12 = vec_sub(tmp12, tmp13); \
61 tmp3 = vec_sub(tmp10, tmp13); \
63 tmp2 = vec_sub(tmp11, tmp12); \
68 z10 = vec_sub(in##5, in##3); \
71 z12s = vec_sub(in##1, in##7); \
74 tmp11 = vec_sub(z11, z13); \
94 tmp10 = vec_sub(tmp10, z5); \
96 tmp12 = vec_sub(tmp12, z10); \
[all …]
Djfdctint-altivec.c153 tmp13 = vec_sub(tmp0, tmp3); \
155 tmp12 = vec_sub(tmp1, tmp2); \
159 out4 = vec_sub(tmp10, tmp11); \
170 tmp13 = vec_sub(tmp0, tmp3); \
172 tmp12 = vec_sub(tmp1, tmp2); \
177 out4 = vec_sub(tmp10, tmp11); \
229 tmp7 = vec_sub(col0, col7); in jsimd_fdct_islow_altivec()
231 tmp6 = vec_sub(col1, col6); in jsimd_fdct_islow_altivec()
233 tmp5 = vec_sub(col2, col5); in jsimd_fdct_islow_altivec()
235 tmp4 = vec_sub(col3, col4); in jsimd_fdct_islow_altivec()
[all …]
Djidctint-altivec.c70 tmp1 = vec_sub(in##0, in##4); \
81 tmp13l = vec_sub(tmp0l, tmp3l); \
82 tmp13h = vec_sub(tmp0h, tmp3h); \
93 tmp12l = vec_sub(tmp1l, tmp2l); \
94 tmp12h = vec_sub(tmp1h, tmp2h); \
156 out7l = vec_sub(tmp10l, tmp3l); \
157 out7h = vec_sub(tmp10h, tmp3h); \
169 out6l = vec_sub(tmp11l, tmp2l); \
170 out6h = vec_sub(tmp11h, tmp2h); \
182 out5l = vec_sub(tmp12l, tmp1l); \
[all …]
Djdcolext-altivec.c90 cbl = vec_sub(cbl, pw_cj); in jsimd_ycc_rgb_convert_altivec()
91 cbh = vec_sub(cbh, pw_cj); in jsimd_ycc_rgb_convert_altivec()
96 crl = vec_sub(crl, pw_cj); in jsimd_ycc_rgb_convert_altivec()
97 crh = vec_sub(crh, pw_cj); in jsimd_ycc_rgb_convert_altivec()
148 gl = vec_sub(gl, crl); in jsimd_ycc_rgb_convert_altivec()
149 gh = vec_sub(gh, crh); in jsimd_ycc_rgb_convert_altivec()
Djdmrgext-altivec.c88 cbl = vec_sub(cbl, pw_cj); in jsimd_h2v1_merged_upsample_altivec()
89 cbh = vec_sub(cbh, pw_cj); in jsimd_h2v1_merged_upsample_altivec()
94 crl = vec_sub(crl, pw_cj); in jsimd_h2v1_merged_upsample_altivec()
95 crh = vec_sub(crh, pw_cj); in jsimd_h2v1_merged_upsample_altivec()
144 g_yl = vec_sub(g_yl, crl); in jsimd_h2v1_merged_upsample_altivec()
145 g_yh = vec_sub(g_yh, crh); in jsimd_h2v1_merged_upsample_altivec()
/external/clang/test/CodeGen/
Dbuiltins-ppc-quadword.c95 res_vlll = vec_sub(vlll, vlll); in test1()
100 res_vulll = vec_sub(vulll, vulll); in test1()
Dbuiltins-ppc-p8vector.c1458 res_vsll = vec_sub(vsll, vsll); in test1()
1462 res_vull = vec_sub(vull, vull); in test1()
1466 res_vd = vec_sub(vda, vda); in test1()
1470 res_vsx = vec_sub(vsx, vsx); in test1()
1474 res_vux = vec_sub(vux, vux); in test1()
Dbuiltins-ppc-altivec.c5086 res_vsc = vec_sub(vsc, vsc); in test6()
5090 res_vsc = vec_sub(vbc, vsc); in test6()
5094 res_vsc = vec_sub(vsc, vbc); in test6()
5098 res_vuc = vec_sub(vuc, vuc); in test6()
5102 res_vuc = vec_sub(vbc, vuc); in test6()
5106 res_vuc = vec_sub(vuc, vbc); in test6()
5110 res_vs = vec_sub(vs, vs); in test6()
5114 res_vs = vec_sub(vbs, vs); in test6()
5118 res_vs = vec_sub(vs, vbs); in test6()
5122 res_vus = vec_sub(vus, vus); in test6()
[all …]
Dbuiltins-ppc-vsx.c907 res_vd = vec_sub(vd, vd); in test1()
/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()
145 vec_sub (v3, in vec_stack()
/external/fec/
Dviterbi27_av.c138 m_metric = vec_sub((vector unsigned char)(31),metric); in update_viterbi27_blk_av()
149 m_metric = vec_sub((vector unsigned char)(31),metric); in update_viterbi27_blk_av()
Dviterbi39_av.c143 m_metric = vec_sub((vector unsigned short)(765),metric); in update_viterbi39_blk_av()
166 …decisions = vec_sub(decisions,(vector unsigned char)vec_pack(vec_mergeh(decision0,decision1),vec_m… in update_viterbi39_blk_av()
Dviterbi615_av.c148 m_metric = vec_sub((vector unsigned short)(1530),metric); in update_viterbi615_blk_av()
171 …decisions = vec_sub(decisions,(vector unsigned char)vec_pack(vec_mergeh(decision0,decision1),vec_m… in update_viterbi615_blk_av()
/external/valgrind/none/tests/ppc32/
DtestVMX.stdout.exp368 Function vec_sub [type char] ===> OK
369 Function vec_sub [type unsigned char] ===> OK
370 Function vec_sub [type short] ===> OK
371 Function vec_sub [type unsigned short] ===> OK
372 Function vec_sub [type integer] ===> OK
373 Function vec_sub [type unsigned int] ===> OK
DtestVMX.c5821 Caux1.v = vec_sub( Ccons1, Ccons2 ); in part4()
5836 UCaux1.v = vec_sub( UCcons1, UCcons2 ); in part4()
5851 Saux1.v = vec_sub( Scons1, Scons2 ); in part4()
5866 USaux1.v = vec_sub( UScons1, UScons2 ); in part4()
5881 Iaux1.v = vec_sub( Icons1, Icons2 ); in part4()
5896 UIaux1.v = vec_sub( UIcons1, UIcons2 ); in part4()
5912 Faux1.v = vec_sub( Fcons1, Fcons2 ); in part4()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pwr8.h138 return (__m128i) vec_sub ((vector signed int) a, (vector signed int) b); in vec_sub_epi32()
/external/clang/lib/Headers/
Daltivec.h9347 vec_sub(vector signed char __a, vector signed char __b) { in vec_sub() function
9352 vec_sub(vector bool char __a, vector signed char __b) { in vec_sub() function
9357 vec_sub(vector signed char __a, vector bool char __b) { in vec_sub() function
9362 vec_sub(vector unsigned char __a, vector unsigned char __b) { in vec_sub() function
9367 vec_sub(vector bool char __a, vector unsigned char __b) { in vec_sub() function
9372 vec_sub(vector unsigned char __a, vector bool char __b) { in vec_sub() function
9376 static __inline__ vector short __ATTRS_o_ai vec_sub(vector short __a, in vec_sub() function
9381 static __inline__ vector short __ATTRS_o_ai vec_sub(vector bool short __a, in vec_sub() function
9386 static __inline__ vector short __ATTRS_o_ai vec_sub(vector short __a, in vec_sub() function
9392 vec_sub(vector unsigned short __a, vector unsigned short __b) { in vec_sub() function
[all …]