Home
last modified time | relevance | path

Searched refs:lshift (Results 1 – 25 of 31) sorted by relevance

12

/external/libopus/silk/
DInlines.h103 opus_int a_headrm, b_headrm, lshift; in silk_DIV32_varQ() local
129 lshift = 29 + a_headrm - b_headrm - Qres; in silk_DIV32_varQ()
130 if( lshift < 0 ) { in silk_DIV32_varQ()
131 return silk_LSHIFT_SAT32(result, -lshift); in silk_DIV32_varQ()
133 if( lshift < 32){ in silk_DIV32_varQ()
134 return silk_RSHIFT(result, lshift); in silk_DIV32_varQ()
148 opus_int b_headrm, lshift; in silk_INVERSE32_varQ() local
171 lshift = 61 - b_headrm - Qres; in silk_INVERSE32_varQ()
172 if( lshift <= 0 ) { in silk_INVERSE32_varQ()
173 return silk_LSHIFT_SAT32(result, -lshift); in silk_INVERSE32_varQ()
[all …]
/external/mesa3d/src/compiler/glsl/
Dbuiltin_int64.h128 ir_expression *const r001F = lshift(swizzle_x(r000D), r0017); in udivmod64()
137 ir_expression *const r0022 = lshift(swizzle_x(r000D), r0017); in udivmod64()
140 ir_expression *const r0023 = lshift(body.constant(1u), r0017); in udivmod64()
212 ir_expression *const r002D = lshift(r0026, r000E); in udivmod64()
221 ir_expression *const r0030 = lshift(r0026, r000E); in udivmod64()
224 ir_expression *const r0031 = lshift(body.constant(1u), r000E); in udivmod64()
342 ir_expression *const r0049 = lshift(swizzle_x(r0036), r0041); in udiv64()
351 ir_expression *const r004C = lshift(swizzle_x(r0036), r0041); in udiv64()
354 ir_expression *const r004D = lshift(body.constant(1u), r0041); in udiv64()
426 ir_expression *const r0057 = lshift(r0050, r0038); in udiv64()
[all …]
Dlower_packing_builtins.cpp225 return bit_or(lshift(swizzle_y(u), constant(16u)), in pack_uvec2_to_uint()
260 return bit_or(bit_or(lshift(swizzle_w(u), constant(24u)), in pack_uvec4_to_uint()
261 lshift(swizzle_z(u), constant(16u))), in pack_uvec4_to_uint()
262 bit_or(lshift(swizzle_y(u), constant(8u)), in pack_uvec4_to_uint()
308 return rshift(lshift(u2i(unpack_uint_to_uvec2(uint_rval)), in unpack_uint_to_ivec2()
389 return rshift(lshift(u2i(unpack_uint_to_uvec4(uint_rval)), in unpack_uint_to_ivec4()
1074 ir_rvalue *result = bit_or(lshift(swizzle_y(f16), in lower_pack_half_2x16()
1199 assign(u32, lshift(bit_or(add(e, constant(112u << 10u)), m), in unpack_half_1x16_nosign()
1287 lshift(bit_and(f16, in lower_unpack_half_2x16()
Dlower_instructions.cpp520 lshift(i2u(resulting_biased_exp), in ldexp_to_arith()
1118 sub(lshift(c1, bits), c1->clone(ir, NULL))); in extract_to_shifts()
1148 rshift(lshift(ir->operands[0], sub(temp, ir->operands[1])), temp); in extract_to_shifts()
1222 lshift(sub(lshift(c1, bits), in insert_to_shifts()
1230 ir->operands[1] = bit_and(lshift(ir->operands[1], offset), mask); in insert_to_shifts()
1281 lshift(bit_and(temp, c55555555->clone(ir, NULL)), in reverse_to_shifts()
1288 lshift(bit_and(temp, c33333333->clone(ir, NULL)), in reverse_to_shifts()
1296 lshift(bit_and(temp, c0F0F0F0F->clone(ir, NULL)), in reverse_to_shifts()
1307 lshift(bit_and(temp, c00FF00FF->clone(ir, NULL)), in reverse_to_shifts()
1314 ir->operands[1] = lshift(temp, c16->clone(ir, NULL)); in reverse_to_shifts()
[all …]
Dir_builder.h173 ir_expression *lshift(operand a, operand b);
Dir_builder.cpp432 lshift(operand a, operand b) in lshift() function
/external/python/cpython3/Python/
Ddtoa.c792 lshift(Bigint *b, int k) in lshift() function
1312 b = lshift(b, 1); in bigcomp()
1351 b = lshift(b, b2); in bigcomp()
1358 d = lshift(d, d2); in bigcomp()
1893 bb = lshift(bb, bb2); in _Py_dg_strtod()
1911 bd = lshift(bd, bd2); in _Py_dg_strtod()
1920 bs = lshift(bs, bs2); in _Py_dg_strtod()
1990 delta = lshift(delta,Log2P); in _Py_dg_strtod()
2679 b = lshift(b, b2); in _Py_dg_dtoa()
2684 S = lshift(S, s2); in _Py_dg_dtoa()
[all …]
/external/python/cpython2/Python/
Ddtoa.c843 lshift(Bigint *b, int k) in lshift() function
1415 b = lshift(b, 1); in bigcomp()
1454 b = lshift(b, b2); in bigcomp()
1461 d = lshift(d, d2); in bigcomp()
1966 bb = lshift(bb, bb2); in _Py_dg_strtod()
1984 bd = lshift(bd, bd2); in _Py_dg_strtod()
1993 bs = lshift(bs, bs2); in _Py_dg_strtod()
2063 delta = lshift(delta,Log2P); in _Py_dg_strtod()
2752 b = lshift(b, b2); in _Py_dg_dtoa()
2757 S = lshift(S, s2); in _Py_dg_dtoa()
[all …]
/external/llvm/test/CodeGen/X86/
Dx86-64-double-shifts-var.ll23 ;uint64_t lshift(uint64_t a, uint64_t b, int c)
28 define i64 @lshift(i64 %a, i64 %b, i32 %c) nounwind readnone {
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dx86-64-double-shifts-var.ll26 ;uint64_t lshift(uint64_t a, uint64_t b, int c)
31 define i64 @lshift(i64 %a, i64 %b, i32 %c) nounwind readnone {
Dschedule-x86-64-shld.ll121 ;uint64_t lshift(uint64_t a, uint64_t b, uint64_t c)
269 ;void lshift(uint64_t a, uint64_t b, uint_64_t c)
/external/python/cpython2/Lib/test/
Dtest_operator.py229 self.assertRaises(TypeError, operator.lshift)
230 self.assertRaises(TypeError, operator.lshift, None, 42)
231 self.assertTrue(operator.lshift(5, 1) == 10)
232 self.assertTrue(operator.lshift(5, 0) == 5)
233 self.assertRaises(ValueError, operator.lshift, 2, -1)
/external/python/cpython3/Lib/test/
Dtest_operator.py190 self.assertRaises(TypeError, operator.lshift)
191 self.assertRaises(TypeError, operator.lshift, None, 42)
192 self.assertEqual(operator.lshift(5, 1), 10)
193 self.assertEqual(operator.lshift(5, 0), 5)
194 self.assertRaises(ValueError, operator.lshift, 2, -1)
/external/python/cpython3/Lib/
Doperator.py96 def lshift(a, b): function
434 __lshift__ = lshift
/external/skqp/tools/lua/
Dgradients.lua11 LuaDoubleNearlyZero = 1.0 / bit32.lshift(1.0, 12)
/external/skia/tools/lua/
Dgradients.lua11 LuaDoubleNearlyZero = 1.0 / bit32.lshift(1.0, 12)
/external/bcc/src/lua/bpf/
Dcdef.lua231 version = bit.bor(version, bit.lshift(tonumber(i), 8*count))
Dbuiltins.lua31 [bit.lshift] = 'LSH',
395 local k = bit.lshift(1, i)
396 e.emit(BPF.JMP + BPF.JGT + BPF.K, v, 0, 2, bit.bnot(bit.lshift(1, k))) -- if !upper_half(x)
Dbpf.lua152 used = bit.bor(used, bit.lshift(1, v.reg))
535 emit(0, 0, 0, 0, ffi.cast('uint32_t', bit.lshift(bit.lshift(imm, 16), 16)))
1053 mask = bit.bor(mask, bit.lshift(1, w*8-i))
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_conv.c317 unsigned lshift = dst_width - n; in lp_build_clamped_float_to_unsigned_norm() local
332 if (lshift) { in lp_build_clamped_float_to_unsigned_norm()
335 lshift), ""); in lp_build_clamped_float_to_unsigned_norm()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_format_pack.py472 lshift = depth - (shift + src_channel.size)
473 value = '%s << %u' % (value, lshift)
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py470 lshift = depth - (shift + src_channel.size)
471 value = '%s << %u' % (value, lshift)
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc356 bssl::UniquePtr<BIGNUM> lshift = t->GetBIGNUM("LShift"); in TestLShift() local
358 ASSERT_TRUE(lshift); in TestLShift()
365 EXPECT_BIGNUMS_EQUAL("A << N", lshift.get(), ret.get()); in TestLShift()
369 EXPECT_BIGNUMS_EQUAL("A << N (in-place)", lshift.get(), ret.get()); in TestLShift()
371 ASSERT_TRUE(BN_rshift(ret.get(), lshift.get(), n)); in TestLShift()
374 ASSERT_TRUE(bn_rshift_secret_shift(ret.get(), lshift.get(), n, ctx)); in TestLShift()
/external/python/cpython3/Doc/library/
Doperator.rst124 .. function:: lshift(a, b)
400 | Left Shift | ``a << b`` | ``lshift(a, b)`` |
/external/python/cpython2/Doc/library/
Doperator.rst139 .. function:: lshift(a, b)
652 | Left Shift | ``a << b`` | ``lshift(a, b)`` |

12