diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-06-28 19:55:01 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-06-28 19:55:01 +0000 |
commit | 62e4d780543bfcda9979742f770e814c84e5ef3d (patch) | |
tree | 1793392043ec4929c8ec3312fb60a3570ed38f67 /gcc/config/avr | |
parent | 1e417e6a656f3e41332950b061af8bf059af1ec2 (diff) | |
download | gcc-62e4d780543bfcda9979742f770e814c84e5ef3d.zip gcc-62e4d780543bfcda9979742f770e814c84e5ef3d.tar.gz gcc-62e4d780543bfcda9979742f770e814c84e5ef3d.tar.bz2 |
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
Diffstat (limited to 'gcc/config/avr')
-rw-r--r-- | gcc/config/avr/avr-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/avr/avr.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/avr/avr-protos.h b/gcc/config/avr/avr-protos.h index fafd36c..04d1c06 100644 --- a/gcc/config/avr/avr-protos.h +++ b/gcc/config/avr/avr-protos.h @@ -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)); diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index c8dba17..10d779f 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -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))); |