Lines Matching refs:igain
538 int igain = 0; in compute_convert_gain() local
541 igain += 2 * m - ix86_cost->xmm_move; in compute_convert_gain()
543 igain in compute_convert_gain()
546 igain += m * ix86_cost->int_load[2] - ix86_cost->sse_load[sse_cost_idx]; in compute_convert_gain()
554 igain += ix86_cost->add; in compute_convert_gain()
556 igain += ix86_cost->shift_const; in compute_convert_gain()
559 igain += ix86_cost->shift_const - ix86_cost->sse_op; in compute_convert_gain()
562 igain -= vector_const_cost (XEXP (src, 0)); in compute_convert_gain()
570 igain += m * ix86_cost->add - ix86_cost->sse_op; in compute_convert_gain()
574 igain += m * ix86_cost->add; in compute_convert_gain()
577 igain -= vector_const_cost (XEXP (src, 0)); in compute_convert_gain()
579 igain -= vector_const_cost (XEXP (src, 1)); in compute_convert_gain()
583 igain += m * ix86_cost->add - ix86_cost->sse_op - COSTS_N_INSNS (1); in compute_convert_gain()
592 igain += m * (COSTS_N_INSNS (2) + ix86_cost->add); in compute_convert_gain()
594 igain -= ix86_cost->sse_op; in compute_convert_gain()
604 igain += m * COSTS_N_INSNS (1); in compute_convert_gain()
606 igain += (m * ix86_cost->int_store[2] in compute_convert_gain()
608 igain -= vector_const_cost (src); in compute_convert_gain()
613 if (igain != 0 && dump_file) in compute_convert_gain()
615 fprintf (dump_file, " Instruction gain %d for ", igain); in compute_convert_gain()
618 gain += igain; in compute_convert_gain()