public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Constraint matching TLC
@ 2014-06-05 21:25 Richard Sandiford
  2014-06-05 21:27 ` [PATCH 1/8] Faster checks for constraint types Richard Sandiford
                   ` (7 more replies)
  0 siblings, 8 replies; 25+ messages in thread
From: Richard Sandiford @ 2014-06-05 21:25 UTC (permalink / raw)
  To: gcc-patches

This series of patches tries to improve the way that constraints are matched.
It breaks down into three parts:

(a) the first three patches speed up the routines generated by genpreds.c.
(b) the fourth patch avoids repeated calls to lookup_constraint.
(c) the final four patches (which are really a single change split up
    for review purposes) use .md files to define all standard constraints
    except 'g'.

Overall the series gives a 1% compile-time improvement in my favourite
-O0 fold-const.ii test.  Each of the three parts gives a reproducible
speed-up compared to the previous state.  Hopefully it's also a cleanup;
diffstat for the series (plus the single_reg_class patch I posted earlier) is:

 20 files changed, 575 insertions(+), 1217 deletions(-)

Tested on x86_64-linux-gnu.  Also tested by compiling gcc.dg, g++.dg
and gcc.c-torture at -O2 for one target per config/ directory.
There were no changes in asm output.  OK to install?

Thanks,
Richard

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

end of thread, other threads:[~2014-06-16 14:48 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-05 21:25 [PATCH 0/8] Constraint matching TLC Richard Sandiford
2014-06-05 21:27 ` [PATCH 1/8] Faster checks for constraint types Richard Sandiford
2014-06-10 18:42   ` Jeff Law
2014-06-05 21:29 ` [PATCH 2/8] Speed up lookup_constraint Richard Sandiford
2014-06-10 18:41   ` Jeff Law
2014-06-05 21:31 ` [PATCH 3/8] Speed up constraint_satisfied_p Richard Sandiford
2014-06-10 18:42   ` Jeff Law
2014-06-05 21:32 ` [PATCH 4/8] Remove old macros and make lookup_constraint explicit Richard Sandiford
2014-06-10 20:53   ` Jeff Law
2014-06-05 21:33 ` [PATCH 5/8] Remove unused operand_alternative fields Richard Sandiford
2014-06-10 18:43   ` Jeff Law
2014-06-05 21:38 ` [PATCH 6/8] Treat 'I'-'P' as separate subtype Richard Sandiford
2014-06-10 18:48   ` Jeff Law
2014-06-05 21:41 ` [PATCH 7/8] Remove 'I'-'P' and 'G'/'H' cases Richard Sandiford
2014-06-10 18:50   ` Jeff Law
2014-06-05 21:43 ` [PATCH 8/8] Add a common .md file and define standard constraints there Richard Sandiford
2014-06-10 20:59   ` Jeff Law
2014-06-11 17:01     ` Richard Sandiford
2014-06-13 20:06       ` Steve Ellcey
2014-06-14  7:49         ` Richard Sandiford
2014-06-16 14:48           ` Steve Ellcey
2014-06-12 19:24   ` Segher Boessenkool
2014-06-12 19:39     ` Paul_Koning
2014-06-12 21:19       ` Segher Boessenkool
2014-06-14  9:58         ` Richard Sandiford

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