From: Kaveh R. Ghazi Date: Thu, 22 Nov 2001 00:36:09 +0000 (+0000) Subject: s390.c (s390_va_arg): Eliminate ALIGN parameter in call to emit_cmp_and_jump_insns. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40c13662d787b000127afa42f715744339665d80;p=gcc.git s390.c (s390_va_arg): Eliminate ALIGN parameter in call to emit_cmp_and_jump_insns. * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to emit_cmp_and_jump_insns. * stormy16.c (xstormy16_expand_builtin_va_arg, xstormy16_expand_casesi): Likewise. From-SVN: r47253 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d21b6e5d20c..ae8aa5cbb94 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2001-11-21 Kaveh R. Ghazi + + * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to + emit_cmp_and_jump_insns. + + * stormy16.c (xstormy16_expand_builtin_va_arg, + xstormy16_expand_casesi): Likewise. + Wed Nov 21 17:37:16 2001 Richard Kenner * function.c (keep_stack_depressed): Major rework. diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 334abbe1494..a25ec2b1753 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -3261,7 +3261,7 @@ s390_va_arg (valist, type) emit_cmp_and_jump_insns (expand_expr (reg, NULL_RTX, Pmode, EXPAND_NORMAL), GEN_INT (max_reg), - GT, const1_rtx, Pmode, 0, 1, lab_false); + GT, const1_rtx, Pmode, 0, lab_false); if (sav_ofs) t = build (PLUS_EXPR, ptr_type_node, sav, build_int_2 (sav_ofs, 0)); diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c index 9de07688305..2f92367e396 100644 --- a/gcc/config/stormy16/stormy16.c +++ b/gcc/config/stormy16/stormy16.c @@ -1222,7 +1222,7 @@ xstormy16_expand_builtin_va_arg (valist, type) count_plus_size = build (PLUS_EXPR, TREE_TYPE (count), count, size_tree); count_plus_size_rtx = expand_expr (count_plus_size, NULL_RTX, HImode, EXPAND_NORMAL); emit_cmp_and_jump_insns (count_plus_size_rtx, GEN_INT (size_of_reg_args), - GTU, const1_rtx, HImode, 1, 1, lab_fromstack); + GTU, const1_rtx, HImode, 1, lab_fromstack); t = build (PLUS_EXPR, ptr_type_node, base, count); r = expand_expr (t, addr_rtx, Pmode, EXPAND_NORMAL); @@ -1241,8 +1241,7 @@ xstormy16_expand_builtin_va_arg (valist, type) rtx lab_notransition = gen_label_rtx (); emit_cmp_and_jump_insns (count_rtx, GEN_INT (NUM_ARGUMENT_REGISTERS * UNITS_PER_WORD), - GEU, const1_rtx, HImode, 1, 1, - lab_notransition); + GEU, const1_rtx, HImode, 1, lab_notransition); t = build (MODIFY_EXPR, TREE_TYPE (count), count, build_int_2 (NUM_ARGUMENT_REGISTERS * UNITS_PER_WORD, 0)); @@ -1626,7 +1625,7 @@ xstormy16_expand_casesi (index, lower_bound, range, table, default_label) index = expand_binop (SImode, sub_optab, index, lower_bound, NULL_RTX, 0, OPTAB_LIB_WIDEN); emit_cmp_and_jump_insns (index, range, GTU, NULL_RTX, SImode, 1, - 0, default_label); + default_label); int_index = gen_lowpart_common (HImode, index); emit_insn (gen_ashlhi3 (int_index, int_index, GEN_INT (2))); emit_jump_insn (gen_tablejump_pcrel (int_index, table));