PPC: Limit unbound label tracking to branch references.
authormbrandy <mbrandy@us.ibm.com>
Tue, 14 Jul 2015 20:11:45 +0000 (13:11 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Jul 2015 20:12:03 +0000 (20:12 +0000)
commit7b1d583d9d9b7ad54ab72b32f3fca8d8a68182a2
tree76416438bb0c94355ee640d3f85c295998c558fd
parent5a9722b2ab107b0b8d97f925609d9d2f2939eecc
PPC: Limit unbound label tracking to branch references.

Labels which are not associated with branches (e.g. labels which
record the location of the embedded constant pool or jump tables)
should not be tracked for the purpose of trampoline generation.

This also improves management of the high water mark in the buffer
which triggers trampoline generation such that it is reset whenever
the number of tracked branches drops to zero.

These changes should help minimize unnecessary trampoline and
(subsequent) slow branch generation.

R=dstence@us.ibm.com, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1237213002

Cr-Commit-Position: refs/heads/master@{#29659}
src/ppc/assembler-ppc-inl.h
src/ppc/assembler-ppc.cc
src/ppc/assembler-ppc.h