Home
last modified time | relevance | path

Searched refs:rshift (Results 1 – 25 of 67) sorted by relevance

123

/external/arm-trusted-firmware/services/std_svc/trng/
Dtrng_entropy_pool.c77 const unsigned int rshift = entropy_bit_index % BITS_PER_WORD; in trng_pack_entropy() local
78 const unsigned int lshift = BITS_PER_WORD - rshift; in trng_pack_entropy()
116 out[word_i] |= entropy[ENTROPY_WORD_INDEX(word_i)] >> rshift; in trng_pack_entropy()
/external/libopus/silk/fixed/
Dresidual_energy_FIX.c49 opus_int offset, i, j, rshift, lz1, lz2; in silk_residual_energy_FIX() local
70 … silk_sum_sqr_shift( &nrgs[ i * ( MAX_NB_SUBFR >> 1 ) + j ], &rshift, LPC_res_ptr, subfr_length ); in silk_residual_energy_FIX()
73 nrgsQ[ i * ( MAX_NB_SUBFR >> 1 ) + j ] = -rshift; in silk_residual_energy_FIX()
/external/flatbuffers/lua/flatbuffers/
Dcompat_luajit.lua50 n = bit.rshift(n, 8)
77 n = bit.rshift(n, 8)
107 li = bit.rshift(li, 8)
111 hi = bit.rshift(hi, 8)
/external/mesa3d/src/compiler/glsl/
Dlower_packing_builtins.cpp291 factory.emit(assign(u2, rshift(u, constant(16u)), WRITEMASK_Y)); in unpack_uint_to_uvec2()
308 return rshift(lshift(u2i(unpack_uint_to_uvec2(uint_rval)), in unpack_uint_to_ivec2()
363 factory.emit(assign(u4, bit_and(rshift(u, constant(8u)), in unpack_uint_to_uvec4()
367 factory.emit(assign(u4, bit_and(rshift(u, constant(16u)), in unpack_uint_to_uvec4()
372 factory.emit(assign(u4, rshift(u, constant(24u)), WRITEMASK_W)); in unpack_uint_to_uvec4()
389 return rshift(lshift(u2i(unpack_uint_to_uvec4(uint_rval)), in unpack_uint_to_ivec4()
972 assign(u16, add(rshift(sub(e, constant(112u << 23u)), in pack_half_1x16_nosign()
1069 rshift(bit_and(f32, constant(1u << 31u)), in lower_pack_half_2x16()
Dlower_instructions.cpp462 rshift(bitcast_f2i(abs(x)), in ldexp_to_arith()
792 ir->operands[1] = add(exponent_bias, u2i(rshift(high_words, exponent_shift))); in dfrexp_exp_to_arith()
1085 base_ir->insert_before(assign(temp, sub(temp, bit_and(rshift(temp, c1), in bit_count_to_math()
1090 bit_and(rshift(temp, c2), in bit_count_to_math()
1096 ir->operands[0] = rshift(mul(bit_and(add(temp, rshift(temp, c4)), c0F0F0F0F), in bit_count_to_math()
1140 ir->operands[0] = rshift(ir->operands[0], ir->operands[1]); in extract_to_shifts()
1157 rshift(lshift(ir->operands[0], sub(temp, ir->operands[1])), temp); in extract_to_shifts()
1289 i.insert_before(assign(temp, bit_or(bit_and(rshift(temp, c1), c55555555), in reverse_to_shifts()
1296 i.insert_before(assign(temp, bit_or(bit_and(rshift(temp, c2), c33333333), in reverse_to_shifts()
1304 i.insert_before(assign(temp, bit_or(bit_and(rshift(temp, c4), c0F0F0F0F), in reverse_to_shifts()
[all …]
/external/libaom/aom_dsp/x86/
Dhighbd_variance_avx2.c44 unsigned int rshift = 0, inc = 1; in aom_highbd_var_filter_block2d_bil_avx2() local
87 rshift = get_msb(output_height) + get_msb(output_width); in aom_highbd_var_filter_block2d_bil_avx2()
136 rshift = get_msb(output_height) + get_msb(output_width); in aom_highbd_var_filter_block2d_bil_avx2()
200 rshift = get_msb(output_height) + get_msb(output_width); in aom_highbd_var_filter_block2d_bil_avx2()
271 rshift = get_msb(output_height) + get_msb(output_width); in aom_highbd_var_filter_block2d_bil_avx2()
323 rshift = get_msb(output_height) + get_msb(output_width); in aom_highbd_var_filter_block2d_bil_avx2()
391 rshift = get_msb(output_height) + get_msb(output_width); in aom_highbd_var_filter_block2d_bil_avx2()
445 rshift = get_msb(output_height) + get_msb(output_width); in aom_highbd_var_filter_block2d_bil_avx2()
522 rshift = get_msb(output_height) + get_msb(output_width); in aom_highbd_var_filter_block2d_bil_avx2()
610 rshift = get_msb(output_height) + get_msb(output_width); in aom_highbd_var_filter_block2d_bil_avx2()
[all …]
/external/libopus/celt/
Dvq.c260 int rshift; in op_pvq_search_c() local
263 rshift = 1+celt_ilog2(K-pulsesLeft+i+1); in op_pvq_search_c()
274 Rxy = EXTRACT16(SHR32(ADD32(xy, EXTEND32(X[0])),rshift)); in op_pvq_search_c()
286 Rxy = EXTRACT16(SHR32(ADD32(xy, EXTEND32(X[j])),rshift)); in op_pvq_search_c()
/external/llvm/test/CodeGen/X86/
Dx86-64-double-shifts-var.ll40 ;uint64_t rshift(uint64_t a, uint64_t b, int c)
45 define i64 @rshift(i64 %a, i64 %b, i32 %c) nounwind readnone {
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c311 unsigned rshift, unsigned bitwidth) in unpack_llvm_param() argument
316 if (rshift) in unpack_llvm_param()
317 value = LLVMBuildLShr(ctx->ac.builder, value, LLVMConstInt(ctx->ac.i32, rshift, 0), ""); in unpack_llvm_param()
319 if (rshift + bitwidth < 32) { in unpack_llvm_param()
327 LLVMValueRef si_unpack_param(struct si_shader_context *ctx, struct ac_arg param, unsigned rshift, in si_unpack_param() argument
332 return unpack_llvm_param(ctx, value, rshift, bitwidth); in si_unpack_param()
Dsi_shader_internal.h247 LLVMValueRef si_unpack_param(struct si_shader_context *ctx, struct ac_arg param, unsigned rshift,
/external/bcc/tools/
Dtcplife.lua272 event_saddr, bit.rshift(event_ports,32),
311 event_saddr, bit.rshift(event_ports,32),
/external/bcc/src/lua/bpf/
Dljbytecode.lua19 local shr, band = bit.rshift, bit.band
/external/python/cpython2/Lib/test/
Dtest_operator.py300 self.assertRaises(TypeError, operator.rshift)
301 self.assertRaises(TypeError, operator.rshift, None, 42)
302 self.assertTrue(operator.rshift(5, 1) == 2)
303 self.assertTrue(operator.rshift(5, 0) == 5)
304 self.assertRaises(ValueError, operator.rshift, 2, -1)
/external/mesa3d/src/compiler/nir/
Dnir_format_convert.h101 nir_ssa_def *rshift = nir_imm_int(b, bit_size - bits[i]); in nir_format_unpack_int() local
103 comps[i] = nir_ishr(b, nir_ishl(b, chan, lshift), rshift); in nir_format_unpack_int()
105 comps[i] = nir_ushr(b, nir_ishl(b, chan, lshift), rshift); in nir_format_unpack_int()
/external/rust/crates/minimal-lexical/src/
Dbigint.rs628 let rshift = LIMB_BITS - n; in shl_bits() localVariable
634 *xi |= prev >> rshift; in shl_bits()
639 let carry = prev >> rshift; in shl_bits()
/external/arm-optimized-routines/math/test/
Dmathtest.c1239 int rshift, ishift; in runtest() local
1249 rshift = ishift = 0; in runtest()
1281 rshift = 0x400 - ((tresultr[0] >> 20) & 0x7ff); in runtest()
1283 rshift = 0x80 - ((tresultr[0] >> 23) & 0xff); in runtest()
1284 if (rshift < 0) in runtest()
1285 rshift = 0; in runtest()
1339 ulpsr = calc_error(resultr, tresultr, rshift, t.func->rettype); in runtest()
/external/angle/src/compiler/translator/
DConstantUnion.h91 static TConstantUnion rshift(const TConstantUnion &lhs,
/external/python/cpython3/Lib/
Doperator.py128 def rshift(a, b): function
438 __rshift__ = rshift
/external/python/cpython3/Lib/test/
Dtest_operator.py269 self.assertRaises(TypeError, operator.rshift)
270 self.assertRaises(TypeError, operator.rshift, None, 42)
271 self.assertEqual(operator.rshift(5, 1), 2)
272 self.assertEqual(operator.rshift(5, 0), 5)
273 self.assertRaises(ValueError, operator.rshift, 2, -1)
/external/rust/crates/serde_json/src/lexical/
Dmath.rs482 let rshift = bits - n; in ishl_bits() localVariable
488 *xi |= prev >> rshift; in ishl_bits()
493 let carry = prev >> rshift; in ishl_bits()
/external/mesa3d/src/panfrost/bifrost/
Dbi_pack.c436 return ins->bitwise.rshift ? in BI_PACK_SHIFT()
440 return ins->bitwise.rshift ? in BI_PACK_SHIFT()
444 return ins->bitwise.rshift ? in BI_PACK_SHIFT()
448 assert(ins->bitwise.rshift); in BI_PACK_SHIFT()
/external/virglrenderer/.gitlab-ci/expectations/virt/
Dvirgl-gles-flakes.txt115 spec@glsl-1.30@execution@built-in-functions@fs-op-assign-rshift-ivec2-uint
133 spec@glsl-4.30@execution@built-in-functions@cs-op-rshift-ivec2-int
/external/mesa3d/src/mesa/drivers/x11/
DxmesaP.h93 GLint rshift, gshift, bshift;/* Pixel color component shifts */ member
/external/mesa3d/src/util/format/
Du_format_pack.py484 rshift = depth - src_channel.size
485 value = '(%s) >> %u' % (value, rshift)
/external/mesa3d/.gitlab-ci/piglit/
Dglslparser.txt1318 spec/ext_gpu_shader4/compiler/rshift-int-int.frag: skip
1319 spec/ext_gpu_shader4/compiler/rshift-int-int.vert: skip
1320 spec/ext_gpu_shader4/compiler/rshift-ivec2-int.frag: skip
1321 spec/ext_gpu_shader4/compiler/rshift-ivec2-int.vert: skip
1322 spec/ext_gpu_shader4/compiler/rshift-ivec2-ivec2.frag: skip
1323 spec/ext_gpu_shader4/compiler/rshift-ivec2-ivec2.vert: skip
1324 spec/ext_gpu_shader4/compiler/rshift-ivec3-int.frag: skip
1325 spec/ext_gpu_shader4/compiler/rshift-ivec3-int.vert: skip
1326 spec/ext_gpu_shader4/compiler/rshift-ivec3-ivec3.frag: skip
1327 spec/ext_gpu_shader4/compiler/rshift-ivec3-ivec3.vert: skip
[all …]

123