Lines Matching refs:select
362 case Op::select: write(o, V{id}, "=", op, V{x}, V{y}, V{z}); break;
480 case Op::select: write(o, R{d}, "=", op, R{x}, R{y}, R{z}); break;
845 return select(is_x, x, approx_pow2(mul(approx_log2(x), y)));
861 x = select(neg, x - Pi, x);
865 x = select(neg, -x, x);
897 x = select(neg, -x, x);
901 x = select(use_quotient, x - (Pi/4), x);
905 x = select(use_quotient, (1+x)/(1-x), x);
906 x = select(neg, -x, x);
915 x = select(neg, -x, x);
917 x = select(neg, -x, x);
939 x = select(neg, -x, x);
941 x = select(flip, 1/x, x);
943 x = select(flip, SK_ScalarPI/2 - x, x);
944 x = select(neg, -x, x);
955 F32 y = select(flip, x0, y0);
956 F32 x = select(flip, y0, x0);
960 arg = select(neg, -arg, arg);
963 r = select(flip, SK_ScalarPI/2 - r, r);
964 r = select(neg, -r, r);
967 r = select((y0 >= 0) & (x0 < 0), r + SK_ScalarPI, r);
968 r = select((y0 < 0) & (x0 <= 0), r - SK_ScalarPI, r);
1103 I32 Builder::select(I32 x, I32 y, I32 z) {
1110 return {this, this->push(Op::select, x.id, y.id, z.id)};
1432 invA = select(invA < inf, invA
1475 g_lt_b = select(c.g < c.b, splat(6.0f)
1478 F32 h = (1/6.0f) * select(mx == mn, 0.0f,
1479 select(mx == c.r, invd * (c.g - c.b) + g_lt_b,
1480 select(mx == c.g, invd * (c.b - c.r) + 2.0f
1485 s = select(mx == mn, 0.0f
1486 , d / select(l > 0.5f, 2.0f - sum
1535 return select(is_finite(scaled), scaled, 0.0f);
1555 c = select(mn >= 0, c
1557 c = select(mx > a, lu + ((c-lu)*(a-lu)) / (mx-lu)
1685 return select(d == dst.a , s * (1-dst.a) + d,
1686 select(is_finite(burn), burn
1695 return select(d == 0.0f , s * (1-dst.a) + d,
1696 select(is_finite(dodge), dodge
1703 select(two(s) <= src.a,
1711 select(two(d) <= dst.a,
1723 auto m = select(dst.a > 0.0f, d / dst.a
1740 liteSrc = dst.a * (s2 - src.a) * select(4*d <= dst.a, darkDst
1743 return s * (1-dst.a) + d * (1-src.a) + select(s2 <= src.a, darkSrc
1839 bool R, // Extra top bit to select ModRM reg, registers 8-15.
2764 case Op::select:
3912 case Op::select:
4195 case Op::select: // bsl16b is x = x ? y : z