This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove gen_binary from combine.c (take 3)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: Richard Henderson <rth at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 20 Mar 2005 21:30:03 +0000 (UTC)
- Subject: Re: [PATCH] Remove gen_binary from combine.c (take 3)
- References: <4224228B.1020804@lu.unisi.ch> <20050308131419.GA30330@redhat.com><422DD974.5020400@lu.unisi.ch>
On Tue, 8 Mar 2005, Paolo Bonzini wrote:
> 2005-03-01 Paolo Bonzini <bonzini@gnu.org>
>
> * combine.c (gen_binary): Remove.
> (known_cond, simplify_shift_const, find_split_point,
> combine_simplify_rtx, simplify_if_then_else, simplify_set,
> simplify_logical, expand_field_assignment, extract_left_shift,
> force_to_mode, if_then_else_cond, apply_distributive_law,
> simplify_and_const_int, simplify_shift_const, gen_lowpart_for_combine,
> simplify_comparison, reversed_comparison): Replace with
> simplify_gen_binary, simplify_gen_relational or
> distribute_and_simplify_rtx.
> (distribute_and_simplify_rtx): New function.
This patch fixed bug 19454 (regression for bf64-1.c on ia64-hpux) on
mainline and when applied to 4.0 branch fixes the regression there as well
with no other changes to testsuite results, so I believe it should be
considered for 4.0 branch.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)