Home
last modified time | relevance | path

Searched refs:lshift (Results 1 – 25 of 26) 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/
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.cpp474 lshift(i2u(resulting_biased_exp), exp_shift_clone)); in ldexp_to_arith()
1050 sub(lshift(c1, bits), c1->clone(ir, NULL))); in extract_to_shifts()
1079 rshift(lshift(ir->operands[0], sub(temp, ir->operands[1])), temp); in extract_to_shifts()
1152 lshift(sub(lshift(c1, bits), in insert_to_shifts()
1159 ir->operands[1] = bit_and(lshift(ir->operands[1], offset), mask); in insert_to_shifts()
1210 lshift(bit_and(temp, c55555555->clone(ir, NULL)), in reverse_to_shifts()
1217 lshift(bit_and(temp, c33333333->clone(ir, NULL)), in reverse_to_shifts()
1225 lshift(bit_and(temp, c0F0F0F0F->clone(ir, NULL)), in reverse_to_shifts()
1236 lshift(bit_and(temp, c00FF00FF->clone(ir, NULL)), in reverse_to_shifts()
1242 ir->operands[1] = lshift(temp, c16->clone(ir, NULL)); in reverse_to_shifts()
[all …]
Dir_builder.h172 ir_expression *lshift(operand a, operand b);
Dir_builder.cpp426 lshift(operand a, operand b) in lshift() function
/external/valgrind/VEX/priv/
Dguest_x86_helpers.c113 inline static Int lshift ( Int x, Int n ) in lshift() function
160 sf = lshift(res, 8 - DATA_BITS) & 0x80; \
161 of = lshift((argL ^ argR ^ -1) & (argL ^ res), \
181 sf = lshift(res, 8 - DATA_BITS) & 0x80; \
182 of = lshift((argL ^ argR) & (argL ^ res), \
206 sf = lshift(res, 8 - DATA_BITS) & 0x80; \
207 of = lshift((argL ^ argR ^ -1) & (argL ^ res), \
231 sf = lshift(res, 8 - DATA_BITS) & 0x80; \
232 of = lshift((argL ^ argR) & (argL ^ res), \
248 sf = lshift(CC_DEP1, 8 - DATA_BITS) & 0x80; \
[all …]
Dguest_amd64_helpers.c153 static inline Long lshift ( Long x, Int n ) in lshift() function
204 sf = lshift(res, 8 - DATA_BITS) & 0x80; \
205 of = lshift((argL ^ argR ^ -1) & (argL ^ res), \
225 sf = lshift(res, 8 - DATA_BITS) & 0x80; \
226 of = lshift((argL ^ argR) & (argL ^ res), \
250 sf = lshift(res, 8 - DATA_BITS) & 0x80; \
251 of = lshift((argL ^ argR ^ -1) & (argL ^ res), \
275 sf = lshift(res, 8 - DATA_BITS) & 0x80; \
276 of = lshift((argL ^ argR) & (argL ^ res), \
292 sf = lshift(CC_DEP1, 8 - DATA_BITS) & 0x80; \
[all …]
/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/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/skia/tools/lua/
Dgradients.lua11 LuaDoubleNearlyZero = 1.0 / bit32.lshift(1.0, 12)
/external/skqp/tools/lua/
Dgradients.lua11 LuaDoubleNearlyZero = 1.0 / bit32.lshift(1.0, 12)
/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/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py471 lshift = depth - (shift + src_channel.size)
472 value = '%s << %u' % (value, lshift)
/external/python/cpython3/Doc/library/
Doperator.rst123 .. function:: lshift(a, b)
396 | 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)`` |
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc313 bssl::UniquePtr<BIGNUM> lshift = GetBIGNUM(t, "LShift"); in TestLShift() local
315 ASSERT_TRUE(lshift); in TestLShift()
322 EXPECT_BIGNUMS_EQUAL("A << N", lshift.get(), ret.get()); in TestLShift()
324 ASSERT_TRUE(BN_rshift(ret.get(), lshift.get(), n)); in TestLShift()
/external/python/cpython2/Modules/
Doperator.c400 spam2(lshift,__lshift__, "lshift(a, b) -- Same as a << b.")
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinInstrInfo.td704 "$dst = lshift $src by $amount;",
730 "$dst = lshift $src by $amount;",
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_peephole.cpp646 int lshift = 0; in expr() local
653 lshift = 32 - width - offset; in expr()
660 case TYPE_S32: res.data.s32 = (res.data.s32 << lshift) >> rshift; break; in expr()
661 case TYPE_U32: res.data.u32 = (res.data.u32 << lshift) >> rshift; break; in expr()
/external/python/cpython3/Modules/
D_operator.c357 spam2(lshift, "lshift(a, b) -- Same as a << b.")
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c2870 mpd_ssize_t n, lshift, rshift; in mpd_qrotate() local
2897 lshift = n; in mpd_qrotate()
2901 lshift = ctx->prec+n; in mpd_qrotate()
2914 if (!mpd_qshiftl(&big, a, lshift, status)) { in mpd_qrotate()

12