C++ PATCH: improve performance of vbase initialization

Richard Henderson rth@cygnus.com
Sun Jan 16 16:13:00 GMT 2000


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~


More information about the Gcc-patches mailing list