Commit 4f4ebda3 by Kazu Hirata Committed by Kazu Hirata

h8300.c (h8300_and_costs): Return the number of assembly instructions needed.

	* config/h8300/h8300.c (h8300_and_costs): Return the number of
	assembly instructions needed.
	(h8300_shift_costs): Likewise.

From-SVN: r64020
parent 02af0d9b
2003-03-08 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (h8300_and_costs): Return the number of
assembly instructions needed.
(h8300_shift_costs): Likewise.
2003-03-09 Hans-Peter Nilsson <hp@bitrange.com>
* config/cris/aout.h (ENDFILE_SPEC): Undef.
......
......@@ -1158,7 +1158,7 @@ h8300_and_costs (x)
operands[1] = NULL;
operands[2] = XEXP (x, 1);
operands[3] = x;
return compute_logical_op_length (GET_MODE (x), operands);
return compute_logical_op_length (GET_MODE (x), operands) / 2;
}
static int
......@@ -1176,7 +1176,7 @@ h8300_shift_costs (x)
operands[1] = NULL;
operands[2] = XEXP (x, 1);
operands[3] = x;
return compute_a_shift_length (NULL, operands);
return compute_a_shift_length (NULL, operands) / 2;
}
static bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment