/external/llvm-project/flang/include/flang/Evaluate/ |
D | rounding-bits.h | 25 constexpr RoundingBits(const FRACTION &fraction, int rshift) { in RoundingBits() argument 26 if (rshift > 0 && rshift < fraction.bits + 1) { in RoundingBits() 27 guard_ = fraction.BTEST(rshift - 1); in RoundingBits() 29 if (rshift > 1 && rshift < fraction.bits + 2) { in RoundingBits() 30 round_ = fraction.BTEST(rshift - 2); in RoundingBits() 32 if (rshift > 2) { in RoundingBits() 33 if (rshift >= fraction.bits + 2) { in RoundingBits() 36 auto mask{fraction.MASKR(rshift - 2)}; in RoundingBits()
|
/external/llvm-project/clang/lib/Headers/ppc_wrappers/ |
D | emmintrin.h | 1526 __v8hu rshift = { 15, 15, 15, 15, 15, 15, 15, 15 }; in _mm_srai_epi16() local 1532 rshift = (__v8hu) vec_splat_s16(__B); in _mm_srai_epi16() 1534 rshift = vec_splats ((unsigned short) __B); in _mm_srai_epi16() 1536 result = vec_sra ((__v8hi) __A, rshift); in _mm_srai_epi16() 1544 __v4su rshift = { 31, 31, 31, 31 }; in _mm_srai_epi32() local 1552 rshift = (__v4su) vec_splat_s32(__B); in _mm_srai_epi32() 1554 rshift = (__v4su) vec_splats((unsigned int)__B); in _mm_srai_epi32() 1557 rshift = vec_splats ((unsigned int) __B); in _mm_srai_epi32() 1559 result = vec_sra ((__v4si) __A, rshift); in _mm_srai_epi32() 1635 __v8hu rshift; in _mm_srli_epi16() local [all …]
|
/external/llvm-project/flang/lib/Evaluate/ |
D | real.cpp | 111 int rshift = exponent - yExponent; in Add() local 113 --rshift; // correct overshift when only y is subnormal in Add() 115 RoundingBits roundingBits{yFraction, rshift}; in Add() 116 yFraction = yFraction.SHIFTR(rshift); in Add() 158 int rshift = 1 - exponent; in Multiply() local 161 if (rshift >= product.upper.bits + product.lower.bits) { in Multiply() 163 } else if (rshift >= product.lower.bits) { in Multiply() 166 .IAND(product.upper.MASKR(rshift - product.lower.bits)) in Multiply() 169 sticky = !product.lower.IAND(product.lower.MASKR(rshift)).IsZero(); in Multiply() 171 product.lower = product.lower.SHIFTRWithFill(product.upper, rshift); in Multiply() [all …]
|
/external/arm-trusted-firmware/services/std_svc/trng/ |
D | trng_entropy_pool.c | 77 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/ |
D | residual_energy_FIX.c | 49 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/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | decode_plc.c | 45 int16_t rshift ) in plc_filterma_Fast() argument 49 int32_t lim = (1 << (15 + rshift)) - 1; in plc_filterma_Fast() 66 o = WebRtcSpl_AddSatW32(o, 1 << (rshift - 1)); in plc_filterma_Fast() 72 o >>= rshift; in plc_filterma_Fast() 273 int16_t noise1, rshift; in WebRtcIsacfix_DecodePlcImpl() local 498 rshift = 0; in WebRtcIsacfix_DecodePlcImpl() 502 rshift++; in WebRtcIsacfix_DecodePlcImpl() 507 i] >> rshift); in WebRtcIsacfix_DecodePlcImpl() 520 Vector_Word32_2[i] = Vector_Word16_Extended_2[i] << rshift; in WebRtcIsacfix_DecodePlcImpl()
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_packing_builtins.cpp | 291 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()
|
D | lower_instructions.cpp | 462 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/libopus/celt/ |
D | vq.c | 260 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/ |
D | x86-64-double-shifts-var.ll | 40 ;uint64_t rshift(uint64_t a, uint64_t b, int c) 45 define i64 @rshift(i64 %a, i64 %b, i32 %c) nounwind readnone {
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | x86-64-double-shifts-var.ll | 39 ;uint64_t rshift(uint64_t a, uint64_t b, int c) 44 define i64 @rshift(i64 %a, i64 %b, i32 %c) nounwind readnone {
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm.c | 311 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()
|
/external/bcc/tools/ |
D | tcplife.lua | 273 event_saddr, bit.rshift(event_ports,32), 312 event_saddr, bit.rshift(event_ports,32),
|
/external/bcc/src/lua/bpf/ |
D | ljbytecode.lua | 19 local shr, band = bit.rshift, bit.band
|
/external/llvm-project/lld/test/ELF/linkerscript/ |
D | operators.test | 28 rshift = 0xff >> 3; 78 # CHECK-NEXT: 0000000000001f A rshift
|
/external/mesa3d/src/compiler/nir/ |
D | nir_format_convert.h | 101 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/python/cpython2/Lib/test/ |
D | test_operator.py | 300 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/angle/src/compiler/translator/ |
D | ConstantUnion.h | 91 static TConstantUnion rshift(const TConstantUnion &lhs,
|
/external/arm-optimized-routines/math/test/ |
D | mathtest.c | 1236 int rshift, ishift; in runtest() local 1246 rshift = ishift = 0; in runtest() 1278 rshift = 0x400 - ((tresultr[0] >> 20) & 0x7ff); in runtest() 1280 rshift = 0x80 - ((tresultr[0] >> 23) & 0xff); in runtest() 1281 if (rshift < 0) in runtest() 1282 rshift = 0; in runtest() 1336 ulpsr = calc_error(resultr, tresultr, rshift, t.func->rettype); in runtest()
|
/external/llvm-project/libc/AOR_v20.02/math/test/ |
D | mathtest.c | 1237 int rshift, ishift; in runtest() local 1247 rshift = ishift = 0; in runtest() 1279 rshift = 0x400 - ((tresultr[0] >> 20) & 0x7ff); in runtest() 1281 rshift = 0x80 - ((tresultr[0] >> 23) & 0xff); in runtest() 1282 if (rshift < 0) in runtest() 1283 rshift = 0; in runtest() 1337 ulpsr = calc_error(resultr, tresultr, rshift, t.func->rettype); in runtest()
|
/external/python/cpython3/Lib/ |
D | operator.py | 128 def rshift(a, b): function 438 __rshift__ = rshift
|
/external/python/cpython3/Lib/test/ |
D | test_operator.py | 257 self.assertRaises(TypeError, operator.rshift) 258 self.assertRaises(TypeError, operator.rshift, None, 42) 259 self.assertEqual(operator.rshift(5, 1), 2) 260 self.assertEqual(operator.rshift(5, 0), 5) 261 self.assertRaises(ValueError, operator.rshift, 2, -1)
|
/external/rust/crates/serde_json/src/lexical/ |
D | math.rs | 481 let rshift = bits - n; in ishl_bits() localVariable 487 *xi |= prev >> rshift; in ishl_bits() 492 let carry = prev >> rshift; in ishl_bits()
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xmesaP.h | 93 GLint rshift, gshift, bshift;/* Pixel color component shifts */ member
|
/external/mesa3d/src/panfrost/bifrost/ |
D | bi_pack.c | 436 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()
|