/external/libjpeg-turbo/simd/powerpc/ |
D | jfdctint-altivec.c | 66 out2l = vec_sra(out2l, descale_p##PASS); \ 67 out2h = vec_sra(out2h, descale_p##PASS); \ 68 out6l = vec_sra(out6l, descale_p##PASS); \ 69 out6h = vec_sra(out6h, descale_p##PASS); \ 122 out7l = vec_sra(out7l, descale_p##PASS); \ 123 out7h = vec_sra(out7h, descale_p##PASS); \ 124 out1l = vec_sra(out1l, descale_p##PASS); \ 125 out1h = vec_sra(out1h, descale_p##PASS); \ 138 out5l = vec_sra(out5l, descale_p##PASS); \ 139 out5h = vec_sra(out5h, descale_p##PASS); \ [all …]
|
D | jidctint-altivec.c | 158 out0l = vec_sra(out0l, descale_p##PASS); \ 159 out0h = vec_sra(out0h, descale_p##PASS); \ 160 out7l = vec_sra(out7l, descale_p##PASS); \ 161 out7h = vec_sra(out7h, descale_p##PASS); \ 171 out1l = vec_sra(out1l, descale_p##PASS); \ 172 out1h = vec_sra(out1h, descale_p##PASS); \ 173 out6l = vec_sra(out6l, descale_p##PASS); \ 174 out6h = vec_sra(out6h, descale_p##PASS); \ 184 out2l = vec_sra(out2l, descale_p##PASS); \ 185 out2h = vec_sra(out2h, descale_p##PASS); \ [all …]
|
D | jidctfst-altivec.c | 197 out0 = vec_sra(out0, pass1_bits3); in jsimd_idct_ifast_altivec() 198 out1 = vec_sra(out1, pass1_bits3); in jsimd_idct_ifast_altivec() 199 out2 = vec_sra(out2, pass1_bits3); in jsimd_idct_ifast_altivec() 200 out3 = vec_sra(out3, pass1_bits3); in jsimd_idct_ifast_altivec() 201 out4 = vec_sra(out4, pass1_bits3); in jsimd_idct_ifast_altivec() 202 out5 = vec_sra(out5, pass1_bits3); in jsimd_idct_ifast_altivec() 203 out6 = vec_sra(out6, pass1_bits3); in jsimd_idct_ifast_altivec() 204 out7 = vec_sra(out7, pass1_bits3); in jsimd_idct_ifast_altivec()
|
D | jquanti-altivec.c | 146 row0s = vec_sra(row0, pw_word_bit_m1); in jsimd_quantize_altivec() 147 row1s = vec_sra(row1, pw_word_bit_m1); in jsimd_quantize_altivec() 148 row2s = vec_sra(row2, pw_word_bit_m1); in jsimd_quantize_altivec() 149 row3s = vec_sra(row3, pw_word_bit_m1); in jsimd_quantize_altivec() 150 row4s = vec_sra(row4, pw_word_bit_m1); in jsimd_quantize_altivec() 151 row5s = vec_sra(row5, pw_word_bit_m1); in jsimd_quantize_altivec() 152 row6s = vec_sra(row6, pw_word_bit_m1); in jsimd_quantize_altivec() 153 row7s = vec_sra(row7, pw_word_bit_m1); in jsimd_quantize_altivec()
|
D | jdcolext-altivec.c | 115 bl = vec_sra(bl, (__vector unsigned short)pw_one); in jsimd_ycc_rgb_convert_altivec() 116 bh = vec_sra(bh, (__vector unsigned short)pw_one); in jsimd_ycc_rgb_convert_altivec() 128 rl = vec_sra(rl, (__vector unsigned short)pw_one); in jsimd_ycc_rgb_convert_altivec() 129 rh = vec_sra(rh, (__vector unsigned short)pw_one); in jsimd_ycc_rgb_convert_altivec()
|
D | jdmrgext-altivec.c | 117 b_yl = vec_sra(b_yl, (__vector unsigned short)pw_one); in jsimd_h2v1_merged_upsample_altivec() 118 b_yh = vec_sra(b_yh, (__vector unsigned short)pw_one); in jsimd_h2v1_merged_upsample_altivec() 128 r_yl = vec_sra(r_yl, (__vector unsigned short)pw_one); in jsimd_h2v1_merged_upsample_altivec() 129 r_yh = vec_sra(r_yh, (__vector unsigned short)pw_one); in jsimd_h2v1_merged_upsample_altivec()
|
/external/libvpx/libvpx/vpx_dsp/ppc/ |
D | hadamard_vsx.c | 97 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()
|
D | quantize_vsx.c | 19 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() 235 zbin = vec_sra(vec_add(zbin, vec_ones_s16), vec_ones_u16); in vpx_quantize_b_32x32_vsx() 236 round = vec_sra(vec_add(round, vec_ones_s16), vec_ones_u16); in vpx_quantize_b_32x32_vsx()
|
D | fdct32x32_vsx.c | 40 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()
|
D | inv_txfm_vsx.c | 145 #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()
|
D | deblock_vsx.c | 169 return vec_sra(vec_add(vec_add(b, sum), val), vec_splats((uint16_t)4)); in filter_s16()
|
/external/libvpx/libvpx/vp9/encoder/ppc/ |
D | vp9_quantize_vsx.c | 23 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() 162 dqcoeffe = vec_sra(dqcoeffe, vec_ones_u32); in dequantize_coeff_32() 163 dqcoeffo = vec_sra(dqcoeffo, vec_ones_u32); in dequantize_coeff_32() 192 int16x8_t thres = vec_sra(dequant, vec_splats((uint16_t)2)); in vp9_quantize_fp_32x32_vsx() 202 round = vec_sra(vec_add(round, vec_ones_s16), vec_ones_u16); in vp9_quantize_fp_32x32_vsx()
|
/external/clang/test/CodeGen/ |
D | builtins-ppc-p8vector.c | 1070 res_vsll = vec_sra(vsll, vull); in test1() 1075 res_vull = vec_sra(vull, vull); in test1()
|
D | builtins-ppc-altivec.c | 4128 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/ |
D | u_pwr8.h | 225 return (__m128i) vec_sra ((vector signed int) vsrc, vec_count.m128ui); in vec_srai_epi32()
|
/external/clang/lib/Headers/ |
D | altivec.h | 8057 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
|