Lines Matching refs:shift
505 const int shift = 31 - gglClz(tmu.format.size); in build_textures() local
531 MOV(LT, 0, width, imm(1 << shift)); in build_textures()
532 if (shift) in build_textures()
533 MOV(GE, 0, width, reg_imm(width, LSL, shift)); in build_textures()
552 MOV(GT, 0, width, imm(1 << shift)); in build_textures()
566 MOV(LT, 0, height, imm(1 << shift)); in build_textures()
567 if (shift) in build_textures()
568 MOV(GE, 0, height, reg_imm(height, LSL, shift)); in build_textures()
576 if (shift) { in build_textures()
577 MOV(GT, 0, height, reg_imm(stride, LSL, shift)); in build_textures()
762 int shift = 0; in filter16() local
769 shift = 16; in filter16()
775 shift = 12; in filter16()
782 shift = 8; in filter16()
801 const uint32_t offset = (mask & tmu.format.mask(i)) ? 0 : shift; in filter16()
823 ORR(AL, 0, pixel, pixel, reg_imm(pixel, LSL, shift)); in filter16()
838 ORR(AL, 0, pixel, pixel, reg_imm(pixel, LSL, shift)); in filter16()
852 ORR(AL, 0, pixel, pixel, reg_imm(pixel, LSL, shift)); in filter16()
865 ORR(AL, 0, pixel, pixel, reg_imm(pixel, LSL, shift)); in filter16()
1090 int shift = incoming.l; in modulate() local
1095 shift += Ni-8; in modulate()
1101 if (shift) { in modulate()
1105 MOV(AL, 0, dest.reg, reg_imm(inReg, LSR, shift)); in modulate()
1107 shift = 0; in modulate()
1118 if (shift && (shift != 16)) { in modulate()
1120 MOV(AL, 0, dest.reg, reg_imm(inReg, LSR, shift)); in modulate()
1122 shift = 0; in modulate()
1133 if (shift==16) SMULBT(AL, dest.reg, t, inReg); in modulate()
1165 int shift = incoming.l; in decal() local
1167 shift += Ni-8; in decal()
1171 if (shift) { in decal()
1172 MOV(AL, 0, dest.reg, reg_imm(incomingNorm.reg, LSR, shift)); in decal()
1203 int shift = incoming.l; in blend() local
1205 shift += Ni-8; in blend()
1209 if (shift) { in blend()
1210 MOV(AL, 0, dest.reg, reg_imm(incomingNorm.reg, LSR, shift)); in blend()