Changeset 31561 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Apr 1, 2008, 11:50:41 PM (17 years ago)
Author:
[email protected]
Message:

Rubber-stamped by Darin.

Turn off using 64-bit arithmetic on 32-bit hardware, as dtoa own code is faster than
compiler-provided emulation.

1% speedup on Acid3 test 26.

  • kjs/dtoa.cpp:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r31560 r31561  
     12008-04-01  Alexey Proskuryakov  <[email protected]>
     2
     3        Rubber-stamped by Darin.
     4
     5        Turn off using 64-bit arithmetic on 32-bit hardware, as dtoa own code is faster than
     6        compiler-provided emulation.
     7
     8        1% speedup on Acid3 test 26.
     9
     10        * kjs/dtoa.cpp:
     11
    1122008-04-01  Alexey Proskuryakov  <[email protected]>
    213
  • trunk/JavaScriptCore/kjs/dtoa.cpp

    r31404 r31561  
    395395#endif
    396396
     397#if PLATFORM(PPC64) || PLATFORM(X86_64)
     398// 64-bit emulation provided by the compiler is likely to be slower than dtoa own code on 32-bit hardware.
    397399#define USE_LONG_LONG
     400#endif
    398401
    399402#ifndef USE_LONG_LONG
Note: See TracChangeset for help on using the changeset viewer.