]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Merge, from CGTUNE branch:
authorJulian Seward <jseward@acm.org>
Sat, 25 Aug 2007 21:11:33 +0000 (21:11 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 25 Aug 2007 21:11:33 +0000 (21:11 +0000)
commit35ead5d43e1f548037d49762adf86333b90a7b47
tree8914422613e35f1f4f63d78b25070f23bacdd75c
parent6d6a92251855b4082f02f85396b23d5c60790451
Merge, from CGTUNE branch:

r1765:
During register allocation, keep track of which (real) registers have
the same value as their associated spill slot.  Then, if a register
needs to be freed up for some reason, and that register has the same
value as its spill slot, there is no need to produce a spill store.
This substantially reduces the number of spill store instructions
created.  Overall gives a 1.9% generated code size reduction for
perf/bz2 running on x86.

r1766:
Followup to r1765: fix some comments, and rearrange fields in struct
RRegState so as to fit it into 16 bytes.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1778
VEX/priv/host-generic/reg_alloc2.c