v8/test
svenpanne@chromium.org 2b1da67263 Implement Math.random() purely in JavaScript.
This removes tons of architecture-specific code and makes it easy to
experiment with other pseudo-RNG algorithms. The crankshafted code is
extremely good, keeping all things unboxed and doing only minimal
checks, so it is basically equivalent to the handwritten code.

When benchmarks are run without parallel recompilation, we get a few
percent regression on SunSpider's string-validate-input and
string-base64, but these benchmarks run so fast that the overall
SunSpider score is hardly affected and within the usual jitter. Note
that these benchmarks actually run even faster when we don't
crankshaft at all on the main thread (the regression is not caused by
bad code, it is caused by Crankshaft needing a few hundred microsecond
for compilation of a trivial function). Luckily, when parallel
recompilation is enabled, i.e. in the browser, we see no regression at
all!

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/68723002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17955 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-11-21 09:55:15 +00:00
..
benchmarks Update benchmark test suite. 2013-11-20 15:05:52 +00:00
cctest Implement Math.random() purely in JavaScript. 2013-11-21 09:55:15 +00:00
intl Revert "Landing https://codereview.chromium.org/40133004 for mnita@google.com." due to test failures. 2013-11-06 18:19:26 +00:00
message Fix error message wording when instanceof throws. 2013-11-08 11:45:56 +00:00
mjsunit Mark flaky debug test as failing. 2013-11-20 17:09:17 +00:00
mozilla Increase precision when finding the remainder after division by pi/2. 2013-11-20 15:04:37 +00:00
preparser Make it possible to run a test only in the standard variant. 2013-10-17 13:09:28 +00:00
test262 Reland "Implement Math.sin, cos and tan using table lookup and spline interpolation." 2013-11-12 14:43:18 +00:00
webkit [Sheriff] Mark flaky webkit test. 2013-11-13 11:09:47 +00:00