Hi, On Mon, 2011-08-01 at 11:40 +0200, Andy Wingo wrote:
> I will add instrumentation to count -0 checks. I added counters at sites that did SetFlag(kBailoutOnMinusZero). I then ran each test in sunspider 100 times -- but via `load' instead of looping, so perhaps it was not a good crankshaft test. Anyway with this test on bleeding edge, I recorded the following instances of the kBailoutOnMinusZero flag being set: mul::MinusZeroBailoutCounter = 126 div::MinusZeroBailoutCounter = 2 mod::MinusZeroBailoutCounter = 6 Change::MinusZeroBailoutCounter = 569 And with r8753: mul::MinusZeroBailoutCounter = 118 div::MinusZeroBailoutCounter = 2 mod::MinusZeroBailoutCounter = 4 Change::MinusZeroBailoutCounter = 616 UnaryMathOp::MinusZeroBailoutCounter = 48 The numbers do fluctuate a bit; the only real constant here is that with my patch we get minus zero bailouts being set for some unary math ops. I'm going to see if I can whittle this down to one test in particular. Andy -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
