Home | History | Annotate | Download | only in mips

Lines Matching defs:power

1215         // Branch and condition free code for integer division by a power
1217 int32_t power = WhichPowerOf2(divisor_abs);
1218 if (power > 1) {
1219 __ sra(scratch, dividend, power - 1);
1221 __ srl(scratch, scratch, 32 - power);
1223 __ sra(result, scratch, power);
1233 __ sll(scratch, result, power);
1236 __ sll(scratch, result, power);
1248 // <divisor with magic numbers> * <power of 2>
1253 // Branch and condition free code for integer division by a power