This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] nonzero_bits (was Re: Another Java sparc-sun-solaris2.8 bootstrap failure)


On Wed, Mar 27, 2002 at 10:38:10PM +0100, Jakub Jelinek wrote:
> The following patch cuts down the number of nonzero_bits calls from
> 12456534 down to ~306000, but I wonder if it is a safe things to do.
> For shs.ii it creates identical output as before, haven't tried on sparc64
> yet. The issue is that set_nonzero_bits_and_sign_copies calls nonzero_bits
> with DImode (for each pseudo) while reg_last_set_nonzero_bits are computed
> using nonzero_bits (..., SImode) calls.
> The first hunk is actually a different thing (it was the first thing I tried
> and it only saved ~400000 nonzero_bits calls from the original
> ~1.25m), but maybe it might be worthy on other sources (it makes no sense
> to call nonzero_bits if reg_nonzero_bits is already all ones).

Just FYI, it makes shs.cc compile almost instantly on sparc64 native.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]