Home
last modified time | relevance | path

Searched refs:vec_sra (Results 1 – 11 of 11) sorted by relevance

/external/libvpx/vpx_dsp/ppc/
Dhadamard_vsx.c97 const int16x8_t b0 = vec_sra(a0, ones); in vpx_hadamard_16x16_vsx()
98 const int16x8_t b1 = vec_sra(a1, ones); in vpx_hadamard_16x16_vsx()
99 const int16x8_t b2 = vec_sra(a2, ones); in vpx_hadamard_16x16_vsx()
100 const int16x8_t b3 = vec_sra(a3, ones); in vpx_hadamard_16x16_vsx()
Dquantize_vsx.c19 const int16x8_t mask = vec_sra(b, vec_shift_sign_s16); in vec_sign()
35 return vec_sra(vec_madds(a, b, vec_zeros_s16), vec_ones_u16); in vec_mulhi()
76 dqcoeffe = vec_sra(dqcoeffe, vec_ones_u32); in dequantize_coeff_32()
77 dqcoeffo = vec_sra(dqcoeffo, vec_ones_u32); in dequantize_coeff_32()
231 zbin = vec_sra(vec_add(zbin, vec_ones_s16), vec_ones_u16); in vpx_quantize_b_32x32_vsx()
232 round = vec_sra(vec_add(round, vec_ones_s16), vec_ones_u16); in vpx_quantize_b_32x32_vsx()
Dfdct32x32_vsx.c40 const int32x4_t ssum_o = vec_sra(rsum_o, vec_dct_const_bits); in single_butterfly()
41 const int32x4_t ssum_e = vec_sra(rsum_e, vec_dct_const_bits); in single_butterfly()
42 const int32x4_t sdiff_o = vec_sra(rdiff_o, vec_dct_const_bits); in single_butterfly()
43 const int32x4_t sdiff_e = vec_sra(rdiff_e, vec_dct_const_bits); in single_butterfly()
75 const int32x4_t ssum_o = vec_sra(rsum_o, vec_dct_const_bits); in double_butterfly()
76 const int32x4_t ssum_e = vec_sra(rsum_e, vec_dct_const_bits); in double_butterfly()
77 const int32x4_t sdiff_o = vec_sra(rdiff_o, vec_dct_const_bits); in double_butterfly()
78 const int32x4_t sdiff_e = vec_sra(rdiff_e, vec_dct_const_bits); in double_butterfly()
216 return vec_sra(vec_sub(vec_add(a, vec_twos_s16), sign), vec_dct_scale_log2); in sub_round_shift()
223 return vec_sra(vec_add(vec_add(a, vec_ones_s16), sign), vec_dct_scale_log2); in add_round_shift_s16()
Dinv_txfm_vsx.c145 #define DCT_CONST_ROUND_SHIFT(vec) vec = vec_sra(vec_add(vec, shift), shift14);
151 #define PIXEL_ADD4(out, in) out = vec_sra(vec_add(in, add8), shift4);
157 temp1 = vec_sra(vec_add(vec_mule(tmp16_0, cospi16_v), shift), shift14); \
158 temp2 = vec_sra(vec_add(vec_mulo(tmp16_0, cospi16_v), shift), shift14); \
331 out = vec_add(vec_sra(vec_add(in, add), shiftx), out);
1163 v32_e = vec_sra(v32_e, one); \
1198 v_a = vec_sra(v_a, two); in vpx_iwht4x4_16_add_vsx()
1199 v_c = vec_sra(v_c, two); in vpx_iwht4x4_16_add_vsx()
1251 in[1] = (int16x8_t)vec_sra((int32x4_t)in[1], shift16); in vp9_iadst4_vsx()
Ddeblock_vsx.c169 return vec_sra(vec_add(vec_add(b, sum), val), vec_splats((uint16_t)4)); in filter_s16()
/external/libvpx/vp9/encoder/ppc/
Dvp9_quantize_vsx.c23 return vec_sra(vec_madds(a, b, vec_zeros_s16), vec_ones_u16); in vec_mulhi()
29 const int16x8_t mask = vec_sra(b, vec_shift_sign_s16); in vec_sign()
159 dqcoeffe = vec_sra(dqcoeffe, vec_ones_u32); in dequantize_coeff_32()
160 dqcoeffo = vec_sra(dqcoeffo, vec_ones_u32); in dequantize_coeff_32()
189 int16x8_t thres = vec_sra(dequant, vec_splats((uint16_t)2)); in vp9_quantize_fp_32x32_vsx()
197 round = vec_sra(vec_add(round, vec_ones_s16), vec_ones_u16); in vp9_quantize_fp_32x32_vsx()
/external/clang/test/CodeGen/
Dbuiltins-ppc-p8vector.c1070 res_vsll = vec_sra(vsll, vull); in test1()
1075 res_vull = vec_sra(vull, vull); in test1()
Dbuiltins-ppc-altivec.c4128 res_vsc = vec_sra(vsc, vuc); in test6()
4132 res_vuc = vec_sra(vuc, vuc); in test6()
4136 res_vs = vec_sra(vs, vus); in test6()
4140 res_vus = vec_sra(vus, vus); in test6()
4144 res_vi = vec_sra(vi, vui); in test6()
4148 res_vui = vec_sra(vui, vui); in test6()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pwr8.h225 return (__m128i) vec_sra ((vector signed int) vsrc, vec_count.m128ui); in vec_srai_epi32()
/external/clang/lib/Headers/
Daltivec.h8057 vec_sra(vector signed char __a, vector unsigned char __b) { in vec_sra() function
8062 vec_sra(vector unsigned char __a, vector unsigned char __b) { in vec_sra() function
8066 static __inline__ vector short __ATTRS_o_ai vec_sra(vector short __a, in vec_sra() function
8072 vec_sra(vector unsigned short __a, vector unsigned short __b) { in vec_sra() function
8076 static __inline__ vector int __ATTRS_o_ai vec_sra(vector int __a, in vec_sra() function
8082 vec_sra(vector unsigned int __a, vector unsigned int __b) { in vec_sra() function
8088 vec_sra(vector signed long long __a, vector unsigned long long __b) { in vec_sra() function
8093 vec_sra(vector unsigned long long __a, vector unsigned long long __b) { in vec_sra() function
/external/eigen/Eigen/src/Core/arch/AltiVec/
DPacketMath.h1188 { return vec_sra(a,reinterpret_cast<Packet4ui>(pset1<Packet4i>(N))); }