This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Try to coalesce for unary and binary ops
- From: Michael Matz <matz at suse dot de>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: Richard Biener <rguenther at suse dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Jeff Law <law at redhat dot com>
- Date: Tue, 22 Apr 2014 14:56:13 +0200 (CEST)
- Subject: Re: [PATCH] Try to coalesce for unary and binary ops
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1404171327320 dot 3272 at zhemvz dot fhfr dot qr> <alpine dot LNX dot 2 dot 00 dot 1404171552170 dot 20425 at wotan dot suse dot de> <CABu31nMtcGJ=Vk4Qngj-Ga3FCUT4jKxr1qJYt4hj7gL6-rLXzQ at mail dot gmail dot com>
Hi,
On Fri, 18 Apr 2014, Steven Bosscher wrote:
> IMHO TER should be improved to *do* disturb the order of the incoming
> instructions, to reduce register pressure.
The latter is the goal, yes. But TER isn't really the right place for
that (it's constrained by too many invariants, running after coalescing
and caring only for single-use SSA names e.g). So the alternative would
be to have something which is designed for nothing else than reducing
register pressure on gimple, and making TER not destroy such schedule.
Ciao,
Michael.