Home | History | Annotate | Download | only in codeflinger

Lines Matching defs:shift

509                 const int shift = 31 - gglClz(tmu.format.size);
532 MOV(LT, 0, width, imm(1 << shift));
533 if (shift)
534 MOV(GE, 0, width, reg_imm(width, LSL, shift));
543 // width = 1<<shift
553 MOV(GT, 0, width, imm(1 << shift));
567 MOV(LT, 0, height, imm(1 << shift));
568 if (shift)
569 MOV(GE, 0, height, reg_imm(height, LSL, shift));
577 if (shift) {
578 MOV(GT, 0, height, reg_imm(stride, LSL, shift));
756 int shift = 0;
763 shift = 16;
769 shift = 12;
776 shift = 8;
795 const uint32_t offset = (mask & tmu.format.mask(i)) ? 0 : shift;
817 ORR(AL, 0, pixel, pixel, reg_imm(pixel, LSL, shift));
832 ORR(AL, 0, pixel, pixel, reg_imm(pixel, LSL, shift));
846 ORR(AL, 0, pixel, pixel, reg_imm(pixel, LSL, shift));
859 ORR(AL, 0, pixel, pixel, reg_imm(pixel, LSL, shift));
1184 int shift = incoming.l;
1189 shift += Ni-8;
1195 if (shift) {
1196 // XXX: we should be able to avoid this shift
1197 // when shift==16 && Nt<16 && Ni<16, in which
1199 MOV(AL, 0, dest.reg, reg_imm(inReg, LSR, shift));
1201 shift = 0;
1212 if (shift && (shift != 16)) {
1213 // if shift==16, we can use 16-bits mul instructions later
1214 MOV(AL, 0, dest.reg, reg_imm(inReg, LSR, shift));
1216 shift = 0;
1227 if (shift==16) SMULBT(AL, dest.reg, t, inReg);
1259 int shift = incoming.l;
1261 shift += Ni-8;
1265 if (shift) {
1266 MOV(AL, 0, dest.reg, reg_imm(incomingNorm.reg, LSR, shift));
1297 int shift = incoming.l;
1299 shift += Ni-8;
1303 if (shift) {
1304 MOV(AL, 0, dest.reg, reg_imm(incomingNorm.reg, LSR, shift));