https://chromiumcodereview.appspot.com/9638018/diff/13001/src/utils.h File src/utils.h (right):
https://chromiumcodereview.appspot.com/9638018/diff/13001/src/utils.h#newcode112 src/utils.h:112: const DivMagicNumbers DivMagicNumberFor625 = {0x68db8bad, 8}; We can generate optimized code for numbers with an absolute value equals that is representable by <1, or k for which we have a magic number> * 2^n So optimized code can be generated for these: 60 = 15 * 2^2 100 = 25 * 2^2 1000 = 125 * 2^3 This is detailed in the arm files. On 2012/04/17 16:59:28, alexeif wrote:
How about adding 60, 100 and 1000? They seem to have even higher rate
than 625. https://chromiumcodereview.appspot.com/9638018/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
