Changeset 226616 in webkit


Ignore:
Timestamp:
Jan 8, 2018 11:17:06 PM (6 years ago)
Author:
zandobersek@gmail.com
Message:

REGRESSION(r225913): about 30 JSC test failures on ARMv7
https://bugs.webkit.org/show_bug.cgi?id=181162
<rdar://problem/36261349>

Unreviewed follow-up to r226298. Enable the fast case in
DFG::SpeculativeJIT::compileArraySlice() for any 64-bit platform,
assuming in good faith that enough GP registers are available on any
such configuration. The accompanying comment is adjusted to describe
this assumption.

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compileArraySlice):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r226615 r226616  
     12018-01-08  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        REGRESSION(r225913): about 30 JSC test failures on ARMv7
     4        https://bugs.webkit.org/show_bug.cgi?id=181162
     5        <rdar://problem/36261349>
     6
     7        Unreviewed follow-up to r226298. Enable the fast case in
     8        DFG::SpeculativeJIT::compileArraySlice() for any 64-bit platform,
     9        assuming in good faith that enough GP registers are available on any
     10        such configuration. The accompanying comment is adjusted to describe
     11        this assumption.
     12
     13        * dfg/DFGSpeculativeJIT.cpp:
     14        (JSC::DFG::SpeculativeJIT::compileArraySlice):
     15
    1162018-01-08  JF Bastien  <jfbastien@apple.com>
    217
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

    r226615 r226616  
    76407640        MacroAssembler::JumpList slowCases;
    76417641        m_jit.move(TrustedImmPtr(0), storageResultGPR);
    7642         // X86 only has 6 GP registers, which is not enough for the fast case here. At least without custom code, which is not currently worth the extra code maintenance.
    7643         if (isARM64() || isX86_64()) {
     7642        // Enable the fast case on 64-bit platforms, where a sufficient amount of GP registers should be available.
     7643        // Other platforms could support the same approach with custom code, but that is not currently worth the extra code maintenance.
     7644        if (is64Bit()) {
    76447645            GPRTemporary scratch(this);
    76457646            GPRTemporary scratch2(this);
Note: See TracChangeset for help on using the changeset viewer.