[PATCH 0/3] more removal of rtl lists
tbsaunde+gcc@tbsaunde.org
tbsaunde+gcc@tbsaunde.org
Sun Jul 24 21:03:00 GMT 2016
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
Hi,
Here's a few more patches getting rid of usage of rtl lists. In patches 1 and
2 a list is created and then iterated over, which would generally seem to be a
better fit for a vector than a linked list. The code involved in patch 3
doesn't really use a list at all, it just simplifies an API that used a list
node.
patches bootstrapped on x86_64-linux-gnu, and I checked one target per effected
config/ directory still builds, ok?
Trev
Trevor Saunders (3):
make pattern_regs a vec
haifa-sched.c: make twins a auto_vec<rtx_insn *>
merge adjust_cost and adjust_cost_2 target hooks
gcc/config/alpha/alpha.c | 5 ++--
gcc/config/arm/arm-protos.h | 2 +-
gcc/config/arm/arm.c | 40 ++++++++++++++++--------------
gcc/config/bfin/bfin.c | 5 ++--
gcc/config/c6x/c6x.c | 5 ++--
gcc/config/epiphany/epiphany.c | 5 ++--
gcc/config/i386/i386.c | 5 ++--
gcc/config/ia64/ia64.c | 10 ++++----
gcc/config/m68k/m68k.c | 7 +++---
gcc/config/microblaze/microblaze.c | 10 +++-----
gcc/config/mips/mips.c | 8 ++----
gcc/config/mn10300/mn10300.c | 5 ++--
gcc/config/pa/pa.c | 9 ++++---
gcc/config/rs6000/rs6000.c | 16 ++++++------
gcc/config/sh/sh.c | 10 ++++----
gcc/config/sparc/sparc.c | 23 +++++++++--------
gcc/config/spu/spu.c | 5 ++--
gcc/config/tilegx/tilegx.c | 6 ++---
gcc/config/tilepro/tilepro.c | 6 ++---
gcc/config/visium/visium.c | 11 ++++----
gcc/doc/tm.texi | 14 +++++------
gcc/haifa-sched.c | 50 ++++++++-----------------------------
gcc/store-motion.c | 51 +++++++++++++++++++-------------------
gcc/target.def | 25 +++++++------------
24 files changed, 155 insertions(+), 178 deletions(-)
--
2.9.0
More information about the Gcc-patches
mailing list