Status: Accepted Owner: [email protected] Labels: Type-Bug Priority-Low HW-ARM
New issue 670 by [email protected]: Port improvement of Math.random to ARM http://code.google.com/p/v8/issues/detail?id=670 Math.random was sped up on ia32 and x64 by creating a generated function RandomHeapNumber, whose body is inline assembly code that allocates a heap number, calls V8::Random to get a random uint32, and puts the uint32 divided by 2^32 into the heapnumber. The ARM code uses three functions instead of two. Allocating the heap number and putting the floating point value into the heap number are in two separate functions, the latter one a C++ function called FillHeapNumberWithRandom. Get rid of this function. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev To unsubscribe, reply using "remove me" as the subject.
