Changeset 48744 in webkit for trunk/JavaScriptCore/jit/JIT.cpp


Ignore:
Timestamp:
Sep 24, 2009, 7:40:59 PM (16 years ago)
Author:
[email protected]
Message:

Division is needlessly slow in 64-bit
https://bugs.webkit.org/show_bug.cgi?id=29723

Reviewed by Gavin Barraclough.

Add codegen for op_div on x86-64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JIT.cpp

    r47597 r48744  
    196196        switch (m_interpreter->getOpcodeID(currentInstruction->u.opcode)) {
    197197        DEFINE_BINARY_OP(op_del_by_val)
    198 #if !USE(JSVALUE32_64)
     198#if USE(JSVALUE32)
    199199        DEFINE_BINARY_OP(op_div)
    200200#endif
     
    231231        DEFINE_OP(op_debug)
    232232        DEFINE_OP(op_del_by_id)
    233 #if USE(JSVALUE32_64)
     233#if !USE(JSVALUE32)
    234234        DEFINE_OP(op_div)
    235235#endif
     
    380380        DEFINE_SLOWCASE_OP(op_construct_verify)
    381381        DEFINE_SLOWCASE_OP(op_convert_this)
    382 #if USE(JSVALUE32_64)
     382#if !USE(JSVALUE32)
    383383        DEFINE_SLOWCASE_OP(op_div)
    384384#endif
Note: See TracChangeset for help on using the changeset viewer.