Lines Matching refs:splat
104 case Op::splat: write(o, V{id}, "= splat", Splat{imm}); break; in dump_builder()
206 case Op::splat: write(o, R{d}, "= splat", Splat{imm}); break; in dump_program()
329 skvm::I32 x = b.splat(1), in DEF_TEST()
330 y = b.add(x, b.splat(2)); in DEF_TEST()
462 b.add(b.splat(5.0f), in DEF_TEST()
463 b.splat(4.0f)); in DEF_TEST()
484 b.add(b.splat(1), in DEF_TEST()
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()
567 x = b.bit_or (x, b.splat(0x80)); // 0xc0 in DEF_TEST()
568 x = b.bit_xor (x, b.splat(0xfe)); // 0x3e in DEF_TEST()
569 x = b.bit_clear(x, b.splat(0x30)); // 0x0e in DEF_TEST()
612 return b.shl(b.bit_and(mask, b.splat(0x1)), shift); in DEF_TEST()
615 skvm::I32 m = b.splat(0); in DEF_TEST()
616 m = b.bit_or(m, to_bit(0, b. eq(x, b.splat(0)))); in DEF_TEST()
617 m = b.bit_or(m, to_bit(1, b.neq(x, b.splat(1)))); in DEF_TEST()
618 m = b.bit_or(m, to_bit(2, b. lt(x, b.splat(2)))); in DEF_TEST()
619 m = b.bit_or(m, to_bit(3, b.lte(x, b.splat(3)))); in DEF_TEST()
620 m = b.bit_or(m, to_bit(4, b. gt(x, b.splat(4)))); in DEF_TEST()
621 m = b.bit_or(m, to_bit(5, b.gte(x, b.splat(5)))); in DEF_TEST()
649 return b.shl(b.bit_and(mask, b.splat(0x1)), shift); in DEF_TEST()
652 skvm::I32 m = b.splat(0); in DEF_TEST()
653 m = b.bit_or(m, to_bit(0, b. eq(x, b.splat(0.0f)))); in DEF_TEST()
654 m = b.bit_or(m, to_bit(1, b.neq(x, b.splat(1.0f)))); in DEF_TEST()
655 m = b.bit_or(m, to_bit(2, b. lt(x, b.splat(2.0f)))); in DEF_TEST()
656 m = b.bit_or(m, to_bit(3, b.lte(x, b.splat(3.0f)))); in DEF_TEST()
657 m = b.bit_or(m, to_bit(4, b. gt(x, b.splat(4.0f)))); in DEF_TEST()
658 m = b.bit_or(m, to_bit(5, b.gte(x, b.splat(5.0f)))); in DEF_TEST()
713 return b.shl_16x2(b.bit_and(mask, b.splat(0x0001'0001)), shift); in DEF_TEST()
716 skvm::I32 m = b.splat(0); in DEF_TEST()
717 m = b.bit_or(m, to_bit(0, b. eq_16x2(x, b.splat(0x0000'0000)))); in DEF_TEST()
718 m = b.bit_or(m, to_bit(1, b.neq_16x2(x, b.splat(0x0001'0001)))); in DEF_TEST()
719 m = b.bit_or(m, to_bit(2, b. lt_16x2(x, b.splat(0x0002'0002)))); in DEF_TEST()
720 m = b.bit_or(m, to_bit(3, b.lte_16x2(x, b.splat(0x0003'0003)))); in DEF_TEST()
721 m = b.bit_or(m, to_bit(4, b. gt_16x2(x, b.splat(0x0004'0004)))); in DEF_TEST()
722 m = b.bit_or(m, to_bit(5, b.gte_16x2(x, b.splat(0x0005'0005)))); in DEF_TEST()
802 x = b.add(x, b.splat(i)); in DEF_TEST()
823 x = b.select( b.gt(x, b.splat(4)), x, b.splat(42) ); in DEF_TEST()
852 x = b.select(b.lt(x, b.splat(0)), b.splat(0), x); in DEF_TEST()