Commit 62e4d780 by Kazu Hirata Committed by Kazu Hirata

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
parent 1e417e6a
2003-06-28 Kazu Hirata <kazu@cs.umass.edu> 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. * builtins.c: Follow spelling conventions.
* cgraph.c: Likewise. * cgraph.c: Likewise.
* cpplex.c: Likewise. * cpplex.c: Likewise.
......
...@@ -129,7 +129,7 @@ extern int avr_hard_regno_mode_ok PARAMS ((int regno, ...@@ -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 int call_insn_operand PARAMS ((rtx op, enum machine_mode mode));
extern void final_prescan_insn PARAMS ((rtx insn, rtx *operand, extern void final_prescan_insn PARAMS ((rtx insn, rtx *operand,
int num_operands)); 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)); RTX_CODE operator, rtx x));
extern RTX_CODE avr_normalize_condition PARAMS ((RTX_CODE condition)); extern RTX_CODE avr_normalize_condition PARAMS ((RTX_CODE condition));
extern int compare_eq_p PARAMS ((rtx insn)); extern int compare_eq_p PARAMS ((rtx insn));
......
...@@ -1458,7 +1458,7 @@ final_prescan_insn (insn, operand, num_operands) ...@@ -1458,7 +1458,7 @@ final_prescan_insn (insn, operand, num_operands)
/* Return 0 if undefined, 1 if always true or always false. */ /* Return 0 if undefined, 1 if always true or always false. */
int int
avr_simplify_comparision_p (mode, operator, x) avr_simplify_comparison_p (mode, operator, x)
enum machine_mode mode; enum machine_mode mode;
RTX_CODE operator; RTX_CODE operator;
rtx x; rtx x;
...@@ -5240,7 +5240,7 @@ avr_reorg () ...@@ -5240,7 +5240,7 @@ avr_reorg ()
rtx t = XEXP (src,0); rtx t = XEXP (src,0);
enum machine_mode mode = GET_MODE (XEXP (pattern, 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); XEXP (pattern, 1) = gen_int_mode (INTVAL (x) + 1, mode);
PUT_CODE (t, avr_normalize_condition (GET_CODE (t))); PUT_CODE (t, avr_normalize_condition (GET_CODE (t)));
......
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