Lines Matching defs:divisor
532 int divisor = -1;
537 divisor = op->in_opr2()->as_constant_ptr()->as_jint();
538 assert(Assembler::is_simm13(divisor), "can only handle simm13");
545 if (Rdivisor == noreg && is_power_of_2(divisor)) {
548 if (divisor == 2) {
552 __ and3(Rscratch, divisor - 1, Rscratch);
555 __ sra(Rscratch, log2_intptr(divisor), Rresult);
558 if (divisor == 2) {
562 __ and3(Rscratch, divisor - 1,Rscratch);
565 __ andn(Rscratch, divisor - 1,Rscratch);
586 assert(Assembler::is_simm13(divisor), "can only handle simm13");
587 __ sdivcc(Rdividend, divisor, (op->code() == lir_idiv ? Rresult : Rscratch));
599 __ smul(Rscratch, divisor, Rscratch);