Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_vs_vertex_conversion.c59 nir_ssa_def *lshift, shift_right_func shr) in from_10_10_10_2_scaled() argument
62 return nir_i2f32(b, shr(b, nir_ishl(b, src, lshift), rshift)); in from_10_10_10_2_scaled()
66 from_10_10_10_2_snorm(nir_builder *b, nir_ssa_def *src, nir_ssa_def *lshift) in from_10_10_10_2_snorm() argument
68 nir_ssa_def *split = from_10_10_10_2_scaled(b, src, lshift, nir_ishr); in from_10_10_10_2_snorm()
78 from_10_10_10_2_unorm(nir_builder *b, nir_ssa_def *src, nir_ssa_def *lshift) in from_10_10_10_2_unorm() argument
80 nir_ssa_def *split = from_10_10_10_2_scaled(b, src, lshift, nir_ushr); in from_10_10_10_2_unorm()
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_int64.h72 ir_expression *const r001F = lshift(swizzle_x(r000D), r0017); in udivmod64()
81 ir_expression *const r0022 = lshift(swizzle_x(r000D), r0017); in udivmod64()
84 ir_expression *const r0023 = lshift(body.constant(1u), r0017); in udivmod64()
156 ir_expression *const r002D = lshift(r0026, r000E); in udivmod64()
165 ir_expression *const r0030 = lshift(r0026, r000E); in udivmod64()
168 ir_expression *const r0031 = lshift(body.constant(1u), r000E); in udivmod64()
286 ir_expression *const r0049 = lshift(swizzle_x(r0036), r0041); in udiv64()
295 ir_expression *const r004C = lshift(swizzle_x(r0036), r0041); in udiv64()
298 ir_expression *const r004D = lshift(body.constant(1u), r0041); in udiv64()
370 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.cpp313 lshift(i2u(resulting_biased_exp), in ldexp_to_arith()
892 sub(lshift(c1, bits), c1->clone(ir, NULL))); in extract_to_shifts()
922 rshift(lshift(ir->operands[0], sub(temp, ir->operands[1])), temp); in extract_to_shifts()
996 lshift(sub(lshift(c1, bits), in insert_to_shifts()
1004 ir->operands[1] = bit_and(lshift(ir->operands[1], offset), mask); in insert_to_shifts()
1055 lshift(bit_and(temp, c55555555->clone(ir, NULL)), in reverse_to_shifts()
1062 lshift(bit_and(temp, c33333333->clone(ir, NULL)), in reverse_to_shifts()
1070 lshift(bit_and(temp, c0F0F0F0F->clone(ir, NULL)), in reverse_to_shifts()
1081 lshift(bit_and(temp, c00FF00FF->clone(ir, NULL)), in reverse_to_shifts()
1088 ir->operands[1] = lshift(temp, c16->clone(ir, NULL)); in reverse_to_shifts()
[all …]
Dir_builder.h174 ir_expression *lshift(operand a, operand b);
/third_party/FreeBSD/contrib/gdtoa/
Dstrtodg.c249 b = lshift(b, -bdif);
684 rvb = lshift(rvb, j);
758 bb = lshift(bb, bb2);
764 bd = lshift(bd, bd2);
766 bs = lshift(bs, bs2);
809 delta = lshift(delta,1);
913 rvb = lshift(rvb, j = nbits - rvbits);
921 ab = lshift(ab, abe);
939 rvb = lshift(rvb, 1);
992 rvb = lshift(rvb, j);
Dstrtod.c652 bb = lshift(bb, bb2);
656 bd = lshift(bd, bd2);
658 bs = lshift(bs, bs2);
691 delta = lshift(delta,Log2P);
783 delta = lshift(delta,Log2P);
Dgdtoaimp.h568 #define lshift __lshift_D2A macro
622 extern Bigint *lshift ANSI((Bigint*, int));
Dgethex.c251 b = lshift(b, n);
/third_party/openssl/crypto/bn/
Dbn_div.c145 int rshift = BN_num_bits_word(d[top - 1]), lshift, i; in bn_left_align() local
147 lshift = BN_BITS2 - rshift; in bn_left_align()
154 d[i] = ((n << lshift) | m) & BN_MASK2; in bn_left_align()
158 return lshift; in bn_left_align()
/third_party/node/deps/openssl/openssl/crypto/bn/
Dbn_div.c145 int rshift = BN_num_bits_word(d[top - 1]), lshift, i; in bn_left_align() local
147 lshift = BN_BITS2 - rshift; in bn_left_align()
154 d[i] = ((n << lshift) | m) & BN_MASK2; in bn_left_align()
158 return lshift; in bn_left_align()
/third_party/python/Python/
Ddtoa.c796 lshift(Bigint *b, int k) in lshift() function
1316 b = lshift(b, 1); in bigcomp()
1355 b = lshift(b, b2); in bigcomp()
1362 d = lshift(d, d2); in bigcomp()
1885 bb = lshift(bb, bb2); in _Py_dg_strtod()
1897 bd = lshift(bd, bd2); in _Py_dg_strtod()
1903 bs = lshift(bs, bs2); in _Py_dg_strtod()
1966 delta = lshift(delta,Log2P); in _Py_dg_strtod()
2662 b = lshift(b, b2); in _Py_dg_dtoa()
2667 S = lshift(S, s2); in _Py_dg_dtoa()
[all …]
/third_party/ffmpeg/libavcodec/
Ddxv.c346 int value, counter = 0, rshift = 10, lshift = 30; in fill_ltable() local
355 lshift -= rshift; in fill_ltable()
357 if (lshift < 16) { in fill_ltable()
362 mask += input << lshift; in fill_ltable()
363 lshift += 16; in fill_ltable()
381 if (lshift >= 16) in fill_ltable()
431 int sum, x, val, lshift, rshift, ret, i, idx; in get_opcodes() local
449 lshift = 32 - rshift; in get_opcodes()
454 sum = val + lshift; in get_opcodes()
455 x = (next << lshift) >> 1 >> (31 - val); in get_opcodes()
[all …]
/third_party/openssl/test/
Dbntests.pl44 my $lshift = bn($s{'LShift'});
47 return if $lshift == $a->blsft($n);
Dbntest.c1351 BIGNUM *a = NULL, *lshift = NULL, *ret = NULL; in file_lshift() local
1355 || !TEST_ptr(lshift = getBN(s, "LShift")) in file_lshift()
1361 || !equalBN("A << N", lshift, ret) in file_lshift()
1362 || !TEST_true(BN_rshift(ret, lshift, n)) in file_lshift()
1369 BN_free(lshift); in file_lshift()
/third_party/mesa3d/src/compiler/nir/
Dnir_format_convert.h109 nir_ssa_def *lshift = nir_imm_int(b, bit_size - (offset + bits[i])); in nir_format_unpack_int() local
112 comps[i] = nir_ishr(b, nir_ishl(b, chan, lshift), rshift); in nir_format_unpack_int()
114 comps[i] = nir_ushr(b, nir_ishl(b, chan, lshift), rshift); in nir_format_unpack_int()
/third_party/python/Lib/test/
Dtest_operator.py208 self.assertRaises(TypeError, operator.lshift)
209 self.assertRaises(TypeError, operator.lshift, None, 42)
210 self.assertEqual(operator.lshift(5, 1), 10)
211 self.assertEqual(operator.lshift(5, 0), 5)
212 self.assertRaises(ValueError, operator.lshift, 2, -1)
/third_party/python/Lib/
Doperator.py96 def lshift(a, b): function
430 __lshift__ = lshift
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DConstantUnion.h95 static TConstantUnion lshift(const TConstantUnion &lhs,
/third_party/mesa3d/src/gallium/drivers/d3d12/ci/
Dd3d12-quick_shader.txt391 spec/arb_gpu_shader_int64/execution/built-in-functions/cs-op-lshift-int64_t-uint: skip
392 spec/arb_gpu_shader_int64/execution/built-in-functions/cs-op-lshift-uint64_t-uint: skip
1877 spec/glsl-4.30/execution/built-in-functions/cs-op-assign-lshift-int-int: skip
1878 spec/glsl-4.30/execution/built-in-functions/cs-op-assign-lshift-int-uint: skip
1879 spec/glsl-4.30/execution/built-in-functions/cs-op-assign-lshift-ivec2-int: skip
1880 spec/glsl-4.30/execution/built-in-functions/cs-op-assign-lshift-ivec2-ivec2: skip
1881 spec/glsl-4.30/execution/built-in-functions/cs-op-assign-lshift-ivec2-uint: skip
1882 spec/glsl-4.30/execution/built-in-functions/cs-op-assign-lshift-ivec2-uvec2: skip
1883 spec/glsl-4.30/execution/built-in-functions/cs-op-assign-lshift-ivec3-int: skip
1884 spec/glsl-4.30/execution/built-in-functions/cs-op-assign-lshift-ivec3-ivec3: skip
[all …]
/third_party/rust/crates/minimal-lexical/src/
Dbigint.rs629 let lshift = n; in shl_bits() localVariable
633 *xi <<= lshift; in shl_bits()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_conv.c342 unsigned lshift = dst_width - n; in lp_build_clamped_float_to_unsigned_norm() local
360 if (lshift) { in lp_build_clamped_float_to_unsigned_norm()
363 lshift), ""); in lp_build_clamped_float_to_unsigned_norm()
/third_party/mesa3d/src/util/format/
Du_format_pack.py460 lshift = depth - (shift + src_channel.size)
461 value = '%s << %u' % (value, lshift)
/third_party/python/Doc/library/
Doperator.rst128 .. function:: lshift(a, b)
403 | Left Shift | ``a << b`` | ``lshift(a, b)`` |
/third_party/protobuf/python/google/protobuf/internal/
Dtest_util.py808 return NonStandardInteger(operator.lshift(self.val, y))
814 return NonStandardInteger(operator.lshift(y, self.val))

12