This is the mail archive of the gcc-patches@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]

Re: C++ PATCH: improve performance of vbase initialization


On Sun, Jan 16, 2000 at 12:22:49PM -0800, Mark Mitchell wrote:
> BTW, I'm surprised that GCSE isn't able to eliminate the redundant
> test of edx.  Any ideas?

We don't currently do gcse on hard registers.  E.g. (reg:CCNO 17 flags).
It hurts the x86 port elsewhere too -- the clobbering of flags by 
arithmetic means that gcse is effectively crippled.

It's something that could (perhaps easily) be addressed.  The reason we
don't handle hard regs now is that Doug Evans' initial implementation was
on a deadline and didn't want to have to think about any hidden traps.


r~

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