public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* PowerPC shrink-wrap support 0 of 3
@ 2011-09-17  7:59 Alan Modra
  2011-09-17  8:22 ` PowerPC shrink-wrap support 1 " Alan Modra
                   ` (3 more replies)
  0 siblings, 4 replies; 48+ messages in thread
From: Alan Modra @ 2011-09-17  7:59 UTC (permalink / raw)
  To: gcc-patches, Bernd Schmidt, David Edelsohn

This patch series adds shrink-wrap support for PowerPC.  The patches
are on top of Bernd's "Initial shrink-wrapping patch":
http://gcc.gnu.org/ml/gcc-patches/2011-08/msg02557.html, but with the
tm.texi patch applied to tm.texi.in.  Bootstrapped and regression
tested powerpc64-linux all langs except ada, and spec CPU2006 tested.
The spec results were a little disappointing as I expected to see some
gains, but my baseline was a -O3 run and I suppose most of the
shrink-wrap opportunities were lost to inlining.

I deliberately omitted defining RETURN_ADDR_REGNUM for PowerPC as I
don't see why it is necessary to treat LR any differently to other
regs saved by the prologue.  I believe code in requires_stack_frame_p
  CLEAR_HARD_REG_SET (hardregs);
  note_stores (PATTERN (insn), record_hard_reg_sets, &hardregs);
  if (hard_reg_set_intersect_p (hardregs, prologue_used))
    return true;
will correctly pick up any set of LR.  If code in a function body sets
LR without saving and restoring around the use, then the prologue must
save LR, so LR will be in prologue_used.

-- 
Alan Modra
Australia Development Lab, IBM

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

end of thread, other threads:[~2015-04-08 11:11 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-17  7:59 PowerPC shrink-wrap support 0 of 3 Alan Modra
2011-09-17  8:22 ` PowerPC shrink-wrap support 1 " Alan Modra
2011-09-17  9:13 ` PowerPC shrink-wrap support 2 " Alan Modra
2011-09-17  9:26 ` PowerPC shrink-wrap support 3 " Alan Modra
2011-09-26 14:25   ` Alan Modra
2011-09-27  0:15     ` Alan Modra
2011-09-27  0:19       ` Bernd Schmidt
2011-09-27  0:49         ` Alan Modra
2011-09-27  1:08           ` Bernd Schmidt
2011-09-27  2:16             ` Alan Modra
2011-09-28 16:35               ` Alan Modra
2011-10-16 20:19                 ` David Edelsohn
2011-10-26 13:03                   ` Alan Modra
2011-10-26 13:42                     ` Bernd Schmidt
2011-10-26 14:40                       ` Alan Modra
2011-10-26 14:44                         ` Bernd Schmidt
2011-10-26 15:40                           ` Alan Modra
2011-10-28  0:41                         ` Alan Modra
2011-10-31 15:14                     ` Alan Modra
2011-11-01 15:34                       ` Alan Modra
2011-11-07 17:27                         ` Jakub Jelinek
2011-11-09  9:48                         ` Hans-Peter Nilsson
2011-11-10 11:25                           ` Revert "PowerPC shrink-wrap support 3 of 3" Hans-Peter Nilsson
2011-11-10 12:10                             ` Richard Guenther
2011-11-10 13:29                               ` Hans-Peter Nilsson
2011-11-10 13:44                                 ` Richard Guenther
2011-11-10 14:13                                   ` Bernd Schmidt
2011-11-10 15:23                                     ` Hans-Peter Nilsson
2011-11-10 18:06                                       ` Hans-Peter Nilsson
2011-11-11 22:09                                         ` Hans-Peter Nilsson
2011-11-14 14:59                                           ` Bernd Schmidt
2011-11-14 16:49                                             ` CFG review needed for fix of " Hans-Peter Nilsson
2011-11-14 17:06                                               ` Ramana Radhakrishnan
2011-11-14 17:15                                                 ` Rainer Orth
2011-11-14 18:21                                               ` Richard Henderson
2011-11-14 22:44                                                 ` Alan Modra
2011-11-15  2:50                                                   ` Hans-Peter Nilsson
2011-11-15  5:03                                                   ` Richard Henderson
2011-11-15  6:11                                                     ` Bernd Schmidt
2011-11-15  7:09                                                       ` David Miller
2011-11-15 18:54                                                   ` Richard Henderson
2011-11-15  0:45                                                 ` Hans-Peter Nilsson
2011-11-11  0:22                                     ` Revert " Michael Meissner
2015-04-08 11:11                             ` Gerald Pfeifer
2011-09-17 18:16 ` PowerPC shrink-wrap support 0 of 3 Bernd Schmidt
2011-09-19  5:39   ` Alan Modra
2011-09-19 13:36     ` Bernd Schmidt
     [not found]       ` <20110921152851.GE10321@bubble.grove.modra.org>
     [not found]         ` <20110922144017.GF10321@bubble.grove.modra.org>
2011-09-26 14:35           ` [PATCH] PowerPC shrink-wrap support benchmark gains Alan Modra

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).