DescriptionFix three bugs with handling negative zero in the optimizing compiler.
* Bug fix for range analysis (contributed by Andy Wingo). Ranges of
double values have to include negative zero. Original code review:
http://codereview.chromium.org/7514040/
* Fix a bug in optimized Math.round on ARM. When emitting minus-zero checks
we previously return a wrong result because of incorrect register assignment.
* Fix performance problem in IA32 and x64. Refine the checks
for minus zero and avoid unnecessary deoptimizations on Math.floor.
* Improve mjsunit test for Math.round to make sure we also
get the optimized version of the code for each test case.
Committed: http://code.google.com/p/v8/source/detail?r=8877
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : added missing line to mjsunit test #
Total comments: 4
Patch Set 4 : '' #
Messages
Total messages: 3 (0 generated)
|