Home
last modified time | relevance | path

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

12

/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/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp454 rshift(bitcast_f2i(abs(x)), in ldexp_to_arith()
784 ir->operands[1] = add(exponent_bias, u2i(rshift(high_words, exponent_shift))); in dfrexp_exp_to_arith()
1076 base_ir->insert_before(assign(temp, sub(temp, bit_and(rshift(temp, c1), in bit_count_to_math()
1081 bit_and(rshift(temp, c2), in bit_count_to_math()
1087 ir->operands[0] = rshift(mul(bit_and(add(temp, rshift(temp, c4)), c0F0F0F0F), in bit_count_to_math()
1131 ir->operands[0] = rshift(ir->operands[0], ir->operands[1]); in extract_to_shifts()
1148 rshift(lshift(ir->operands[0], sub(temp, ir->operands[1])), temp); in extract_to_shifts()
1280 i.insert_before(assign(temp, bit_or(bit_and(rshift(temp, c1), c55555555), in reverse_to_shifts()
1287 i.insert_before(assign(temp, bit_or(bit_and(rshift(temp, c2), c33333333), in reverse_to_shifts()
1295 i.insert_before(assign(temp, bit_or(bit_and(rshift(temp, c4), c0F0F0F0F), in reverse_to_shifts()
[all …]
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()
Dir_builder.h174 ir_expression *rshift(operand a, operand b);
Dir_builder.cpp438 rshift(operand a, operand b) in rshift() function
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Ddecode_plc.c45 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/libopus/celt/
Dvq.c256 int rshift; in op_pvq_search_c() local
259 rshift = 1+celt_ilog2(K-pulsesLeft+i+1); in op_pvq_search_c()
270 Rxy = EXTRACT16(SHR32(ADD32(xy, EXTEND32(X[0])),rshift)); in op_pvq_search_c()
282 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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dx86-64-double-shifts-var.ll43 ;uint64_t rshift(uint64_t a, uint64_t b, int c)
48 define i64 @rshift(i64 %a, i64 %b, i32 %c) nounwind readnone {
/external/bcc/tools/
Dtcplife.lua273 event_saddr, bit.rshift(event_ports,32),
312 event_saddr, bit.rshift(event_ports,32),
/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/bcc/src/lua/bpf/
Dljbytecode.lua19 local shr, band = bit.rshift, bit.band
/external/arm-optimized-routines/test/
Dmathtest.c1227 int rshift, ishift; in runtest() local
1237 rshift = ishift = 0; in runtest()
1269 rshift = 0x400 - ((tresultr[0] >> 20) & 0x7ff); in runtest()
1271 rshift = 0x80 - ((tresultr[0] >> 23) & 0xff); in runtest()
1272 if (rshift < 0) in runtest()
1273 rshift = 0; in runtest()
1327 ulpsr = calc_error(resultr, tresultr, rshift, t.func->rettype); in runtest()
/external/python/cpython3/Lib/test/
Dtest_operator.py251 self.assertRaises(TypeError, operator.rshift)
252 self.assertRaises(TypeError, operator.rshift, None, 42)
253 self.assertEqual(operator.rshift(5, 1), 2)
254 self.assertEqual(operator.rshift(5, 0), 5)
255 self.assertRaises(ValueError, operator.rshift, 2, -1)
/external/libjpeg-turbo/java/
DTJUnitTest.java216 int rshift = TJ.getRedOffset(pf) * 8; in initIntBuf() local
231 buf[index] |= (255 << rshift); in initIntBuf()
236 buf[index] |= (255 << rshift); in initIntBuf()
425 int rshift = TJ.getRedOffset(pf) * 8; in checkIntBuf() local
440 int r = (buf[index] >> rshift) & 0xFF; in checkIntBuf()
486 int r = (buf[pitch * row + col] >> rshift) & 0xFF; in checkIntBuf()
/external/python/cpython3/Lib/
Doperator.py128 def rshift(a, b): function
442 __rshift__ = rshift
/external/virglrenderer/src/gallium/auxiliary/util/
Du_format_pack.py478 rshift = depth - src_channel.size
479 value = '(%s) >> %u' % (value, rshift)
/external/mesa3d/src/mesa/drivers/x11/
DxmesaP.h93 GLint rshift, gshift, bshift;/* Pixel color component shifts */ member
Dxm_api.c433 v->rshift = 0; in setup_truecolor()
436 v->rshift++; in setup_truecolor()
486 v->RtoPixel[i] = (r >> (8-rBits)) << v->rshift; in setup_truecolor()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py476 rshift = depth - src_channel.size
477 value = '(%s) >> %u' % (value, rshift)
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_conv.c318 unsigned rshift = n; in lp_build_clamped_float_to_unsigned_norm() local
344 lp_build_const_int_vec(gallivm, src_type, rshift), in lp_build_clamped_float_to_unsigned_norm()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc380 bssl::UniquePtr<BIGNUM> rshift = t->GetBIGNUM("RShift"); in TestRShift() local
382 ASSERT_TRUE(rshift); in TestRShift()
389 EXPECT_BIGNUMS_EQUAL("A >> N", rshift.get(), ret.get()); in TestRShift()
393 EXPECT_BIGNUMS_EQUAL("A >> N (in-place)", rshift.get(), ret.get()); in TestRShift()
396 EXPECT_BIGNUMS_EQUAL("A >> N (secret shift)", rshift.get(), ret.get()); in TestRShift()
400 EXPECT_BIGNUMS_EQUAL("A >> N (in-place secret shift)", rshift.get(), in TestRShift()
/external/python/cpython3/Doc/library/
Doperator.rst174 .. function:: rshift(a, b)
414 | Right Shift | ``a >> b`` | ``rshift(a, b)`` |
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td594 (i32 (and (i32 (srl i32:$src, i32:$rshift)), IMMZeroBasedBitfieldMask:$mask)),
595 (BFE $src, $rshift, (MOV (i32 (IMMPopCount $mask))))
/external/python/cpython2/Doc/library/
Doperator.rst183 .. function:: rshift(a, b)
664 | Right Shift | ``a >> b`` | ``rshift(a, b)`` |

12