Home | History | Annotate | Download | only in cpu_ref

Lines Matching full:int4

72     int4 dims = {
79 const int4 coordMul = convert_int4(m * (float4)0x8000);
105 int4 baseCoord = convert_int4(*in) * coordMul;
106 int4 coord1 = baseCoord >> (int4)15;
107 //int4 coord2 = min(coord1 + 1, gDims - 1);
109 int4 weight2 = baseCoord & 0x7fff;
110 int4 weight1 = (int4)0x8000 - weight2;
128 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)7;
129 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (int4)7;
130 uint4 yz01 = ((v001 * weight1.x) + (v101 * weight2.x)) >> (int4)7;
131 uint4 yz11 = ((v011 * weight1.x) + (v111 * weight2.x)) >> (int4)7;
133 uint4 z0 = ((yz00 * weight1.y) + (yz10 * weight2.y)) >> (int4)15;
134 uint4 z1 = ((yz01 * weight1.y) + (yz11 * weight2.y)) >> (int4)15;
136 uint4 v = ((z0 * weight1.z) + (z1 * weight2.z)) >> (int4)15;
137 uint4 v2 = (v + 0x7f) >> (int4)8;