public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/5] some combine patches
@ 2014-11-14 19:21 Segher Boessenkool
  2014-11-14 19:21 ` [PATCH 1/5] combine: more verbose costs output Segher Boessenkool
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: Segher Boessenkool @ 2014-11-14 19:21 UTC (permalink / raw)
  To: gcc-patches; +Cc: Segher Boessenkool

Here are five patches that together allow combine to do more useful
work with PARALLELs of two SETs, like on many machines a set of a GPR
and one of the condition code, or a GPR and the carry bit on PowerPC,
or two GPRs on some machines.

The first patch is just for debug.

The second is the real meat: it allows combining an I2 that has two SETs.

The third adds a regno field to LOG_LINKS, which the fourth then uses in
distribute_log_links; without that, most parallels lose their log_links
early.

The fifth removes a SET from the combination result if it is (now) dead,
if what's left is a valid instruction.

Bootstrapped and tested on powerpc64-linux (tree of a week ago), all five
together, -m64,-m32,-m32/-mpowerpc64,-m64/-mlra; no regressions.  Checks
of the separate patches still running.  Is this okay for mainline if it
passes?


Segher


Segher Boessenkool (5):
  combine: more verbose costs output
  combine: handle I2 a parallel of two SETs
  combine: add regno field to LOG_LINKS
  combine: distribute_log_links for PARALLELs of SETs
  combine: preferably delete dead SETs in PARALLELs

 gcc/combine.c | 313 +++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 191 insertions(+), 122 deletions(-)

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2014-12-01 18:14 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-14 19:21 [PATCH 0/5] some combine patches Segher Boessenkool
2014-11-14 19:21 ` [PATCH 1/5] combine: more verbose costs output Segher Boessenkool
2014-11-17  9:56   ` Richard Biener
2014-11-14 19:21 ` [PATCH 2/5] combine: handle I2 a parallel of two SETs Segher Boessenkool
2014-11-14 19:52   ` Bernd Schmidt
2014-11-15 15:21     ` Segher Boessenkool
2014-11-26 16:24       ` Segher Boessenkool
2014-11-25 19:02   ` Jeff Law
2014-11-25 22:42     ` Segher Boessenkool
2014-11-14 19:29 ` [PATCH 3/5] combine: add regno field to LOG_LINKS Segher Boessenkool
2014-11-25 19:09   ` Jeff Law
2014-11-25 22:33     ` Segher Boessenkool
2014-11-26 18:21       ` Jeff Law
2014-11-26 22:17         ` Segher Boessenkool
2014-12-01 18:14           ` Jeff Law
2014-11-14 19:35 ` [PATCH 4/5] combine: distribute_log_links for PARALLELs of SETs Segher Boessenkool
2014-11-25 20:06   ` Jeff Law
2014-11-25 22:38     ` Segher Boessenkool
2014-11-14 19:37 ` [PATCH 5/5] combine: preferably delete dead SETs in PARALLELs Segher Boessenkool
2014-11-17 21:25   ` Jeff Law
2014-11-18 12:52     ` Segher Boessenkool
2014-11-18 13:51       ` Segher Boessenkool
2014-11-18 18:59         ` Jeff Law
2014-11-16 12:08 ` [PATCH 0/5] some combine patches Oleg Endo
2014-11-16 13:52   ` Segher Boessenkool
2014-11-16 14:24     ` Oleg Endo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).