Lines Matching refs:Ni
1184 int Ni = incoming.size();
1185 // Ni could be big because it comes from previous MODULATEs
1195 } else if (Ni == 1) {
1203 if ((Nt + Ni) > 32) {
1204 // we will overflow, reduce the precision of Ni to 8 bits
1207 shift += Ni-8;
1208 Ni = 8;
1212 if (Nt >= Ni) {
1215 // when shift==16 && Nt<16 && Ni<16, in which
1221 // operation: (Cf*Ct)/((1<<Ni)-1)
1222 // approximated with: Cf*(Ct + Ct>>(Ni-1))>>Ni
1224 ADD(AL, 0, dest.reg, inReg, reg_imm(inReg, LSR, Ni-1));
1225 if (Nt<16 && Ni<16) SMULBB(AL, dest.reg, texel.reg, dest.reg);
1227 dest.l = Ni;
1228 dest.h = Nt + Ni;
1244 if (Nt<16 && Ni<16) {
1249 dest.h = Nt + Ni;
1276 int Ni = incoming.size();
1278 if (Ni > 8) {
1279 shift += Ni-8;
1280 Ni = 8;
1282 integer_t incomingNorm(incoming.reg, Ni, incoming.flags);
1314 int Ni = incoming.size();
1316 if (Ni > 8) {
1317 shift += Ni-8;
1318 Ni = 8;
1320 integer_t incomingNorm(incoming.reg, Ni, incoming.flags);