• erik.corry@gmail.com's avatar
    A bunch of changes to speed up math on ARM. · b7d48f58
    erik.corry@gmail.com authored
    * Identify heap numbers that contain non-Smi int32s and do bit
    ops on them without calling the fp hardware or emulation.
    * Identify results that are non-Smi int32s and write them into
    heap numbers without calling the fp hardware or emulation.
    * Do unary minus on heap numbers without going into the runtime
    system.
    * On add, sub and mul if we have both Smi and heapnumber inputs
    to the same operation then convert the Smi to a double and do
    the op without going into runtime system.  This also applies
    if we have two Smi inputs but the result is not Smi.
    Review URL: http://codereview.chromium.org/119241
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2131 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    b7d48f58
code-stubs.h 3.81 KB