Home
last modified time | relevance | path

Searched refs:bit_and (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/tests/sksl/runtime/
DSwitchWithLoops.skvm14 12 r11 = bit_and r10 r9
17 15 r14 = bit_and r9 r12
22 20 r14 = bit_and r12 r14
24 22 r13 = bit_and r9 r14
30 28 r13 = bit_and r14 r13
32 30 r15 = bit_and r9 r13
37 35 r15 = bit_and r13 r15
39 37 r14 = bit_and r9 r15
44 42 r14 = bit_and r15 r14
46 44 r13 = bit_and r9 r14
[all …]
DLoopInt.skvm110 54 r25 = bit_and r26 r25
112 56 r26 = bit_and r13 r25
119 63 r24 = bit_and r27 r24
128 72 r25 = bit_and r27 r25
137 81 r24 = bit_and r27 r24
146 90 r25 = bit_and r27 r25
155 99 r24 = bit_and r27 r24
164 108 r25 = bit_and r27 r25
173 117 r24 = bit_and r27 r24
182 126 r25 = bit_and r27 r25
[all …]
DLoopFloat.skvm119 61 r33 = bit_and r34 r33
121 63 r34 = bit_and r13 r33
128 70 r32 = bit_and r35 r32
137 79 r33 = bit_and r35 r33
146 88 r32 = bit_and r35 r32
155 97 r33 = bit_and r35 r33
164 106 r32 = bit_and r35 r32
173 115 r33 = bit_and r35 r33
182 124 r32 = bit_and r35 r32
191 133 r33 = bit_and r35 r33
[all …]
DSwitchWithFallthrough.skvm16 14 r13 = bit_and r11 r12
20 18 r15 = bit_and r15 r12
24 22 r12 = bit_and r13 r12
25 23 r8 = bit_and r12 r8
27 25 r8 = bit_and r8 r13
29 27 r14 = bit_and r12 r14
30 28 r14 = bit_and r14 r13
33 31 r11 = bit_and r12 r11
34 32 r11 = bit_and r11 r13
39 37 r10 = bit_and r12 r10
[all …]
DSwitch.skvm14 12 r11 = bit_and r4 r8
15 13 r12 = bit_and r5 r8
16 14 r13 = bit_and r6 r8
17 15 r14 = bit_and r7 r8
19 17 r8 = bit_and r8 r15
23 21 r10 = bit_and r10 r15
29 27 r10 = bit_and r15 r10
DConversionConstructors.skvm9 7 r6 = bit_and r6 r2
15 13 r2 = bit_and r4 r2
/third_party/mesa3d/src/compiler/glsl/
Dlower_packing_builtins.cpp218 return bitfield_insert(bit_and(swizzle_x(u), constant(0xffffu)), in pack_uvec2_to_uint()
226 bit_and(swizzle_x(u), constant(0xffffu))); in pack_uvec2_to_uint()
250 bit_and(swizzle_x(u), constant(0xffu)), in pack_uvec4_to_uint()
257 factory.emit(assign(u, bit_and(uvec4_rval, constant(0xffu)))); in pack_uvec4_to_uint()
288 factory.emit(assign(u2, bit_and(u, constant(0xffffu)), WRITEMASK_X)); in unpack_uint_to_uvec2()
351 factory.emit(assign(u4, bit_and(u, constant(0xffu)), WRITEMASK_X)); in unpack_uint_to_uvec4()
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()
1039 factory.emit(assign(e, bit_and(f32, constant(0x7f800000u)))); in lower_pack_half_2x16()
1047 factory.emit(assign(m, bit_and(f32, constant(0x007fffffu)))); in lower_pack_half_2x16()
[all …]
Dlower_instructions.cpp268 bit_and(bitcast_f2u(x), in ldexp_to_arith()
296 bit_and(sign_mantissa, in ldexp_to_arith()
398 i.insert_before(assign(unpacked, bit_and(swizzle_y(unpacked), sign_mask->clone(ir, NULL)), in dldexp_to_arith()
510 i.insert_before(assign(bits, bit_and(bits, sign_mantissa_mask))); in dfrexp_sig_to_arith()
850 base_ir->insert_before(assign(temp, sub(temp, bit_and(rshift(temp, c1), in bit_count_to_math()
854 base_ir->insert_before(assign(temp, add(bit_and(temp, c33333333), in bit_count_to_math()
855 bit_and(rshift(temp, c2), in bit_count_to_math()
861 ir->operands[0] = rshift(mul(bit_and(add(temp, rshift(temp, c4)), c0F0F0F0F), in bit_count_to_math()
1003 ir->operands[0] = bit_and(ir->operands[0], bit_not(mask)); in insert_to_shifts()
1004 ir->operands[1] = bit_and(lshift(ir->operands[1], offset), mask); in insert_to_shifts()
[all …]
Dir_builder.h172 ir_expression *bit_and(operand a, operand b);
Dir_builder.cpp401 bit_and(operand a, operand b) in bit_and() function
Dbuiltin_functions.cpp7739 body.emit(assign(bits, bit_and(bits, sign_mantissa_mask))); in _frexp()
/third_party/skia/resources/sksl/runtime_errors/
DIllegalOperators.rts11 int bit_and (int x) { return x & 1; }
/third_party/flutter/skia/tools/
DSkVMBuilders.cpp138 *r = bit_and(rgba, splat(0xff)); in SrcoverBuilder_I32()
189 rb = bit_and (d, splat(0x00ff00ff)), in SrcoverBuilder_I32_SWAR()
/third_party/flutter/skia/resources/
DSkVMTest.expected636 v2 = bit_and v0 v1
641 v7 = bit_and v6 v1
669 r3 = bit_and r2 r0
674 r7 = bit_and r6 r0
704 v6 = bit_and v4 v5
722 r5 = bit_and r4 r1
/third_party/flutter/skia/tests/
DSkVMTest.cpp151 case Op::bit_and : write(o, V{id}, "= bit_and" , V{x}, V{y} ); break; in dump_builder()
255 case Op::bit_and : write(o, R{d}, "= bit_and" , R{x}, R{y} ); break; in dump_program()
515 b.store32(buf32, b.gather32(img, b.bit_and(x, b.splat( 7)))); in DEF_TEST()
516 b.store16(buf16, b.gather16(img, b.bit_and(x, b.splat(15)))); in DEF_TEST()
517 b.store8 (buf8 , b.gather8 (img, b.bit_and(x, b.splat(31)))); in DEF_TEST()
566 x = b.bit_and (x, b.splat(0xf1)); // 0x40 in DEF_TEST()
612 return b.shl(b.bit_and(mask, b.splat(0x1)), shift); in DEF_TEST()
649 return b.shl(b.bit_and(mask, b.splat(0x1)), shift); in DEF_TEST()
713 return b.shl_16x2(b.bit_and(mask, b.splat(0x0001'0001)), shift); in DEF_TEST()
/third_party/skia/src/shaders/
DSkImageShader.cpp817 c.r = pun_to_F32(p->bit_and(mask, pun_to_I32(c.r))); in makeProgram()
818 c.g = pun_to_F32(p->bit_and(mask, pun_to_I32(c.g))); in makeProgram()
819 c.b = pun_to_F32(p->bit_and(mask, pun_to_I32(c.b))); in makeProgram()
820 c.a = pun_to_F32(p->bit_and(mask, pun_to_I32(c.a))); in makeProgram()
/third_party/flutter/skia/src/core/
DSkVM.h262 bit_and, enumerator
390 I32 bit_and (I32 x, I32 y);
DSkVM.cpp192 I32 Builder::bit_and (I32 x, I32 y) { return {this->push(Op::bit_and , x.id, y.id)}; } in bit_and() function in skvm::Builder
1033 CASE(Op::bit_and ): r(d).i32 = r(x).i32 & r(y).i32; break; in eval()
1498 case Op::bit_and : a->vpand (dst(), r[x], r[y]); break; in jit()
1576 case Op::bit_and : a->and16b(dst(), r[x], r[y]); break; in jit()
/third_party/skia/tests/
DSkVMTest.cpp144 b.store32(buf, b.gather32(uniforms,0, b.bit_and(x, b.splat(7)))); in DEF_TEST()
196 b.store32(buf32, b.gather32(uniforms,0, b.bit_and(x, b.splat( 7)))); in DEF_TEST()
197 b.store16(buf16, b.gather16(uniforms,0, b.bit_and(x, b.splat(15)))); in DEF_TEST()
198 b.store8 (buf8 , b.gather8 (uniforms,0, b.bit_and(x, b.splat(31)))); in DEF_TEST()
300 x = b.bit_and (x, b.splat(0xf1)); // 0x40 in DEF_TEST()
378 return b.shl(b.bit_and(mask, b.splat(0x1)), shift); in DEF_TEST()
414 return b.shl(b.bit_and(mask, b.splat(0x1)), shift); in DEF_TEST()
/third_party/skia/src/core/
DSkVM.h457 M(bit_and) M(bit_or) M(bit_xor) M(bit_clear) \
794 F32 abs(F32 x) { return pun_to_F32(bit_and(pun_to_I32(x), 0x7fff'ffff)); } in abs()
1265 SI I32 operator&(I32 x, I32 y) { return x->bit_and(x,y); }
1266 SI I32 operator&(I32 x, int y) { return x->bit_and(x,y); }
1267 SI I32 operator&(int x, I32 y) { return y->bit_and(x,y); }
DSkVM.cpp357 case Op::bit_and : write(o, V{id}, "=", op, V{x}, V{y}); break; in write_one_instruction()
475 case Op::bit_and : write(o, R{d}, "=", op, R{x}, R{y}); break; in dump()
821 F32 m = pun_to_F32(bit_or(bit_and(pun_to_I32(x), 0x007fffff), in approx_log2()
1068 I32 Builder::bit_and(I32 x, I32 y) { in bit_and() function in skvm::Builder
1075 return {this, this->push(Op::bit_and, x.id, y.id)}; in bit_and()
1109 if (this->isImm(z.id, 0)) { return bit_and (y,x); } // x ? y : 0 == x&y in select()
1115 return bit_and(z, shr(x, bits)); in extract()
2759 case Op::bit_and: vals[i] = b->CreateAnd(vals[x], vals[y]); break; in setupLLVM()
3897 case Op::bit_and: in jit()
4190 case Op::bit_and : a->and16b(dst(x,y), r(x), r(y)); break; in jit()
/third_party/skia/src/opts/
DSkVM_opts.h292 CASE(Op::bit_and ): r[d].i32 = r[x].i32 & r[y].i32; break; in interpret_skvm()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp19700 struct bit_and;
19715 struct bit_and : public binary_function<_Tp, _Tp, _Tp> struct
19752 struct bit_and<void> struct