Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir_lower_vs_vertex_conversion.c59 nir_ssa_def *lshift, shift_right_func shr) in from_10_10_10_2_scaled()
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()
58 from_10_10_10_2_scaled(nir_builder *b, nir_ssa_def *src, nir_ssa_def *lshift, shift_right_func shr) from_10_10_10_2_scaled() argument
/third_party/mesa3d/src/compiler/glsl/
H A 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(r005 in udiv64()
[all...]
H A 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()
H A Dlower_instructions.cpp176 * lshift(i2u(resulting_biased_exp), exp_shift)); in ldexp_to_arith()
194 * lshift(i2u(resulting_biased_exp), exp_shift)); in ldexp_to_arith()
313 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_an in reverse_to_shifts()
[all...]
H A Dir_builder.h174 ir_expression *lshift(operand a, operand b);
H A Dir_builder.cpp419 lshift(operand a, operand b) in lshift() function
/third_party/FreeBSD/contrib/gdtoa/
H A 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(rv
[all...]
H A 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);
H A Dgdtoaimp.h568 #define lshift __lshift_D2A macro
622 extern Bigint *lshift ANSI((Bigint*, int));
H A Dgethex.c251 b = lshift(b, n);
/third_party/openssl/test/
H A Dbntests.pl44 my $lshift = bn($s{'LShift'});
47 return if $lshift == $a->blsft($n);
/third_party/python/Python/
H A Ddtoa.c44 * Balloc, multadd, s2b, i2b, mult, pow5mult, lshift, diff, d2b
797 lshift(Bigint *b, int k) in lshift() function
1317 b = lshift(b, 1); in bigcomp()
1356 b = lshift(b, b2); in bigcomp()
1363 d = lshift(d, d2); in bigcomp()
1886 bb = lshift(bb, bb2); in _Py_dg_strtod()
1898 bd = lshift(bd, bd2); in _Py_dg_strtod()
1904 bs = lshift(bs, bs2); in _Py_dg_strtod()
1967 delta = lshift(delta,Log2P); in _Py_dg_strtod()
2663 b = lshift( in _Py_dg_dtoa()
[all...]
/third_party/node/deps/openssl/openssl/crypto/bn/
H A 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/openssl/crypto/bn/
H A 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/ffmpeg/libavcodec/
H A 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) >> in get_opcodes()
[all...]
/third_party/python/Lib/
H A Doperator.py18 'length_hint', 'lshift', 'lt', 'matmul', 'methodcaller', 'mod',
96 def lshift(a, b): function
437 __lshift__ = lshift
/third_party/mesa3d/src/compiler/nir/
H A Dnir_format_convert.h109 nir_ssa_def *lshift = nir_imm_int(b, bit_size - (offset + bits[i])); in nir_format_unpack_int()
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/skia/third_party/externals/angle2/src/compiler/translator/
H A DConstantUnion.h95 static TConstantUnion lshift(const TConstantUnion &lhs,
H A DConstantUnion.cpp638 TConstantUnion TConstantUnion::lshift(const TConstantUnion &lhs, in lshift() function in sh::TConstantUnion
/third_party/python/Lib/test/
H A Dtest_operator.py223 self.assertRaises(TypeError, operator.lshift)
224 self.assertRaises(TypeError, operator.lshift, None, 42)
225 self.assertEqual(operator.lshift(5, 1), 10)
226 self.assertEqual(operator.lshift(5, 0), 5)
227 self.assertRaises(ValueError, operator.lshift, 2, -1)
/third_party/rust/crates/minimal-lexical/src/
H A Dbigint.rs629 let lshift = n; in shl_bits()
633 *xi <<= lshift; in shl_bits()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A 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/
H A Du_format_pack.py460 lshift = depth - (shift + src_channel.size)
461 value = '%s << %u' % (value, lshift)
/third_party/protobuf/python/google/protobuf/internal/
H A Dtest_util.py808 return NonStandardInteger(operator.lshift(self.val, y))
814 return NonStandardInteger(operator.lshift(y, self.val))
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dbn.rs291 pub fn lshift(&mut self, a: &BigNumRef, n: i32) -> Result<(), ErrorStack> { in lshift() functions
1344 r.lshift(self, n).unwrap(); in shl()

Completed in 26 milliseconds

12