Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vpx_dsp/ppc/
Dinv_txfm_vsx.c93 t1 = vec_sub(in0, in1); \
99 temp3 = vec_sub(vec_mule(tmp16_0, cospi24_v), vec_mulo(tmp16_0, cospi8_v)); \
107 out1 = vec_sub(step0, step1); \
191 temp10 = vec_sub(vec_mule(tmp16_0, cospi0), vec_mulo(tmp16_0, cospi1)); \
192 temp11 = vec_sub(vec_mule(tmp16_1, cospi0), vec_mulo(tmp16_1, cospi1)); \
203 tmp16_2 = vec_sub(inpt0, inpt1); \
232 in5 = vec_sub(step4, step5); \
233 in6 = vec_sub(step7, step6); \
239 step2 = vec_sub(in1, in2); \
240 step3 = vec_sub(in0, in3); \
[all …]
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.c27 v_subh = vec_sub(v_ah, v_bh); \
28 v_subl = vec_sub(v_al, v_bl); \
152 v_subh = vec_sub(v_h, v_bh); \
153 v_subl = vec_sub(v_l, 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/
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 …]
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 …]
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/libpng/powerpc/
Dfilter_vsx_intrinsics.c349 avg_vec = vec_sub(avg_vec, vec_and(vec_xor(rp_part_vec,pp_part_vec),vec_splat_u8(1))); in png_read_filter_row_avg4_vsx()
355 avg_vec = vec_sub(avg_vec, vec_and(vec_xor(rp_part_vec,pp_part_vec),vec_splat_u8(1))); in png_read_filter_row_avg4_vsx()
361 avg_vec = vec_sub(avg_vec, vec_and(vec_xor(rp_part_vec,pp_part_vec),vec_splat_u8(1))); in png_read_filter_row_avg4_vsx()
436 avg_vec = vec_sub(avg_vec, vec_and(vec_xor(rp_part_vec,pp_part_vec),vec_splat_u8(1))); in png_read_filter_row_avg3_vsx()
442 avg_vec = vec_sub(avg_vec, vec_and(vec_xor(rp_part_vec,pp_part_vec),vec_splat_u8(1))); in png_read_filter_row_avg3_vsx()
448 avg_vec = vec_sub(avg_vec, vec_and(vec_xor(rp_part_vec,pp_part_vec),vec_splat_u8(1))); in png_read_filter_row_avg3_vsx()
454 avg_vec = vec_sub(avg_vec, vec_and(vec_xor(rp_part_vec,pp_part_vec),vec_splat_u8(1))); in png_read_filter_row_avg3_vsx()
545 pa_vec = (vector signed short) vec_sub(b_vec,c_vec); in png_read_filter_row_paeth4_vsx()
546 pb_vec = (vector signed short) vec_sub(a_vec , c_vec); in png_read_filter_row_paeth4_vsx()
566 pa_vec = (vector signed short) vec_sub(b_vec,c_vec); in png_read_filter_row_paeth4_vsx()
[all …]
/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
/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 …]
/external/opencv/cv/src/
Dcvsmooth.cpp628 *(vector ushort*) &y[0] = vec_sub( *(vector ushort*) &y[0], *(vector ushort*) &x[0] ); in histogram_sub()
629 *(vector ushort*) &y[8] = vec_sub( *(vector ushort*) &y[8], *(vector ushort*) &x[8] ); in histogram_sub()

12