[TESTING]: boot2 changes

Roman Divacky rdivacky at freebsd.org
Tue Mar 1 17:17:16 UTC 2011


On Tue, Mar 01, 2011 at 07:54:14AM -0500, John Baldwin wrote:
> On Monday, February 28, 2011 3:39:28 pm Roman Divacky wrote:
> > 3) it changes the first keyhit limit to 5 seconds from 3
> >    so that constant propagation can take place
> 
> Does this make booting take 2 seconds longer as a result?
> 
> I'm curious as to why '3*FOO' isn't a constant but '5*FOO' is?

I worded it wrong, the point being that if the argument is the same
in all callsites the compiler can turn it into a constant and propagate
that to the function.

I will remove this as it saves just 8 bytes... thank you for the review!

roman


More information about the freebsd-current mailing list