avr-protos.h: Replace avr_simplify_comparision_p with avr_simplify_comparison_p.

* config/avr/avr-protos.h: Replace avr_simplify_comparision_p
	with avr_simplify_comparison_p.
	* config/avr/avr.c: Likewise.

From-SVN: r68650
This commit is contained in:
Kazu Hirata 2003-06-28 19:55:01 +00:00 committed by Kazu Hirata
parent 1e417e6a65
commit 62e4d78054
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
* config/avr/avr-protos.h: Replace avr_simplify_comparision_p
with avr_simplify_comparison_p.
* config/avr/avr.c: Likewise.
2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
* builtins.c: Follow spelling conventions.

View File

@ -129,7 +129,7 @@ extern int avr_hard_regno_mode_ok PARAMS ((int regno,
extern int call_insn_operand PARAMS ((rtx op, enum machine_mode mode));
extern void final_prescan_insn PARAMS ((rtx insn, rtx *operand,
int num_operands));
extern int avr_simplify_comparision_p PARAMS ((enum machine_mode mode,
extern int avr_simplify_comparison_p PARAMS ((enum machine_mode mode,
RTX_CODE operator, rtx x));
extern RTX_CODE avr_normalize_condition PARAMS ((RTX_CODE condition));
extern int compare_eq_p PARAMS ((rtx insn));

View File

@ -1458,7 +1458,7 @@ final_prescan_insn (insn, operand, num_operands)
/* Return 0 if undefined, 1 if always true or always false. */
int
avr_simplify_comparision_p (mode, operator, x)
avr_simplify_comparison_p (mode, operator, x)
enum machine_mode mode;
RTX_CODE operator;
rtx x;
@ -5240,7 +5240,7 @@ avr_reorg ()
rtx t = XEXP (src,0);
enum machine_mode mode = GET_MODE (XEXP (pattern, 0));
if (avr_simplify_comparision_p (mode, GET_CODE (t), x))
if (avr_simplify_comparison_p (mode, GET_CODE (t), x))
{
XEXP (pattern, 1) = gen_int_mode (INTVAL (x) + 1, mode);
PUT_CODE (t, avr_normalize_condition (GET_CODE (t)));