Home | History | Annotate | Download | only in codeflinger

Lines Matching refs:reg

88             parts.argb[i].reg = c;
91 parts.argb_dx[i].reg = (parts.reload & 2) ? t1 : obtainReg();
92 const int dvdx = parts.argb_dx[i].reg;
94 MLA(AL, 0, c, x.reg, dvdx, c);
102 MOV(AL, 0, end, reg_imm(parts.count.reg, LSR, 16));
136 CONTEXT_LOAD(parts.iterated.reg, packed8888);
160 CONTEXT_LOAD(parts.iterated.reg, packed);
162 AND(AL, 0, parts.iterated.reg,
163 parts.iterated.reg, imm(0xFF));
165 MOV(AL, 0, parts.iterated.reg,
166 reg_imm(parts.iterated.reg, LSR, 16));
172 build_and_immediate(parts.iterated.reg, parts.iterated.reg,
204 CONTEXT_LOAD(fragment.reg, generated_vars.argb[component].c);
206 ADD(AL, 0, dx, fragment.reg, dx);
209 CONTEXT_LOAD(fragment.reg, generated_vars.argb[component].c);
214 regs.recycle(fragment.reg);
215 fragment.reg = parts.argb[component].reg;
223 BIC(AL, 0, fragment.reg, fragment.reg,
224 reg_imm(fragment.reg, ASR, 31));
332 int Rx = x.reg;
333 int Ry = y.reg;
352 CONTEXT_LOAD(txPtr.reg, state.texture[i].iterators.ydsdy);
353 ADD(AL, 0, Rx, Rx, reg_imm(txPtr.reg, ASR, 16)); // x += (s>>16)
354 CONTEXT_LOAD(txPtr.reg, state.texture[i].iterators.ydtdy);
355 ADD(AL, 0, Ry, Ry, reg_imm(txPtr.reg, ASR, 16)); // y += (t>>16)
357 CONTEXT_LOAD(txPtr.reg, generated_vars.texture[i].stride);
358 SMLABB(AL, Rx, Ry, txPtr.reg, Rx); // x+y*stride
359 CONTEXT_LOAD(txPtr.reg, generated_vars.texture[i].data);
373 CONTEXT_LOAD(s.reg, state.texture[i].iterators.ydsdy);
374 CONTEXT_LOAD(t.reg, state.texture[i].iterators.ydtdy);
378 CONTEXT_LOAD(s.reg, generated_vars.texture[i].dsdx);
380 CONTEXT_LOAD(t.reg, generated_vars.texture[i].dtdx);
382 MLA(AL, 0, s.reg, Rx, s.reg, ydsdy);
383 MLA(AL, 0, t.reg, Rx, t.reg, ydtdy);
387 CONTEXT_STORE(s.reg, generated_vars.texture[i].spill[0]);
388 CONTEXT_STORE(t.reg, generated_vars.texture[i].spill[1]);
389 recycleReg(s.reg);
390 recycleReg(t.reg);
424 if (parts.z.reg > 0 && parts.covPtr.reg > 0)
425 spill_list |= 1<<parts.covPtr.reg;
429 if (parts.z.reg > 0)
430 spill_list |= 1<<parts.z.reg;
431 if (parts.covPtr.reg > 0)
432 spill_list |= 1<<parts.covPtr.reg;
461 s.reg = scratches.obtain();
462 t.reg = scratches.obtain();
463 CONTEXT_LOAD(s.reg, generated_vars.texture[i].spill[0]);
464 CONTEXT_LOAD(t.reg, generated_vars.texture[i].spill[1]);
503 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS);
504 wrapping(v, t.reg, height, tmu.twrap, FRAC_BITS);
598 ADD(AL, 0, s.reg, s.reg, dsdx);
599 ADD(AL, 0, t.reg, t.reg, dtdx);
601 CONTEXT_STORE(s.reg, generated_vars.texture[i].spill[0]);
602 CONTEXT_STORE(t.reg, generated_vars.texture[i].spill[1]);
603 scratches.recycle(s.reg);
604 scratches.recycle(t.reg);
612 txPtr.setTo(texel.reg, tmu.bits);
615 CONTEXT_LOAD(txPtr.reg, generated_vars.texture[i].data);
654 ADD(AL, 0, txPtr.reg, txPtr.reg, imm(txPtr.size>>3));
657 int s = parts.coords[i].s.reg;
658 int t = parts.coords[i].t.reg;
691 LDRB(AL, texel.reg, txPtr.reg);
713 LDRB(AL, pixel, txPtr.reg, reg_scale_pre(offset));
720 LDRB(AL, pixel, txPtr.reg, reg_scale_pre(lb));
727 LDRB(AL, pixel, txPtr.reg);
732 LDRB(AL, pixel, txPtr.reg, reg_scale_pre(rt));
734 SMLABB(AL, texel.reg, pixel, u, d);
782 LDRH(AL, texel.reg, txPtr.reg);
815 LDRH(AL, pixel, txPtr.reg, reg_pre(offset));
830 LDRH(AL, pixel, txPtr.reg, reg_pre(offset));
844 LDRH(AL, pixel, txPtr.reg);
857 LDRH(AL, pixel, txPtr.reg, reg_pre(offset));
861 MLA(AL, 0, texel.reg, pixel, u, d);
909 LDR(AL, pixel, txPtr.reg, reg_scale_pre(u));
922 LDR(AL, pixellb, txPtr.reg, reg_scale_pre(offsetlb));
946 LDR(AL, pixel, txPtr.reg);
962 LDR(AL, pixel, txPtr.reg, reg_scale_pre(offsetrt));
971 ORR(AL, 0, texel.reg, dh, reg_imm(dl, LSL, 8));
1005 LDR(AL, pixel, txPtr.reg, reg_scale_pre(offset));
1021 LDR(AL, pixel, txPtr.reg, reg_scale_pre(offset));
1036 LDR(AL, pixel, txPtr.reg);
1050 LDR(AL, pixel, txPtr.reg, reg_scale_pre(offset));
1059 ORR(AL, 0, texel.reg, dh, dl);
1085 texel.reg = scratches.obtain();
1172 RSB(AL, 0, dest.reg, texel.reg, reg_imm(texel.reg, LSL, incoming.h));
1173 AND(AL, 0, dest.reg, dest.reg, incoming.reg);
1178 MOV(AL, 0, dest.reg, reg_imm(incoming.reg, LSL, 31-incoming.h));
1179 AND(AL, 0, dest.reg, texel.reg, reg_imm(dest.reg, ASR, 31));
1183 int inReg = incoming.reg;
1199 MOV(AL, 0, dest.reg, reg_imm(inReg, LSR, shift));
1200 inReg = dest.reg;
1206 ADD(AL, 0, dest.reg, inReg, reg_imm(inReg, LSR, Ni-1));
1207 if (Nt<16 && Ni<16) SMULBB(AL, dest.reg, texel.reg, dest.reg);
1208 else MUL(AL, 0, dest.reg, texel.reg, dest.reg);
1214 MOV(AL, 0, dest.reg, reg_imm(inReg, LSR, shift));
1215 inReg = dest.reg;
1222 int t = (texel.flags & CORRUPTIBLE) ? texel.reg : dest.reg;
1225 ADD(AL, 0, t, texel.reg, reg_imm(texel.reg, LSR, Nt-1));
1227 if (shift==16) SMULBT(AL, dest.reg, t, inReg);
1228 else SMULBB(AL, dest.reg, t, inReg);
1229 } else MUL(AL, 0, dest.reg, t, inReg);
1264 integer_t incomingNorm(incoming.reg, Ni, incoming.flags);
1266 MOV(AL, 0, dest.reg, reg_imm(incomingNorm.reg, LSR, shift));
1267 incomingNorm.reg = dest.reg;
1270 ADD(AL, 0, factor.reg, factor.reg, reg_imm(factor.reg, LSR, factor.s-1));
1291 LDRB(AL, color.reg, mBuilderContext.Rctx,
1302 integer_t incomingNorm(incoming.reg, Ni, incoming.flags);
1304 MOV(AL, 0, dest.reg, reg_imm(incomingNorm.reg, LSR, shift));
1305 incomingNorm.reg = dest.reg;
1308 ADD(AL, 0, factor.reg, factor.reg, reg_imm(factor.reg, LSR, factor.s-1));
1325 integer_t texel(dest.reg, 32, CORRUPTIBLE);
1326 if (dest.reg == incomingTemp.reg)
1327 texel.reg = locals.obtain();
1336 incomingTemp.reg = locals.obtain();
1342 ADD(AL, 0, dest.reg, texel.reg,
1343 reg_imm(incomingTemp.reg, LSR, incomingTemp.l));
1345 ADD(AL, 0, dest.reg, texel.reg, incomingTemp.reg);