Changeset 244000 in webkit


Ignore:
Timestamp:
Apr 8, 2019 5:32:57 AM (5 years ago)
Author:
guijemont@igalia.com
Message:

Enable DFG on MIPS
https://bugs.webkit.org/show_bug.cgi?id=196689

Reviewed by Žan Doberšek.

Since the bytecode change, we enabled the baseline JIT on mips in
r240432, but DFG is still missing. With this change, all tests are
passing on a ci20 board.

Source/JavaScriptCore:

  • jit/RegisterSet.cpp:

(JSC::RegisterSet::calleeSaveRegisters):
Added s0, which is used in llint.

Source/WTF:

  • wtf/Platform.h: Enable DFG on MIPS by default.

Tools:

  • Scripts/run-jsc-stress-tests: Enable DFG tests on MIPS.
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r243989 r244000  
     12019-04-08  Guillaume Emont  <guijemont@igalia.com>
     2
     3        Enable DFG on MIPS
     4        https://bugs.webkit.org/show_bug.cgi?id=196689
     5
     6        Reviewed by Žan Doberšek.
     7
     8        Since the bytecode change, we enabled the baseline JIT on mips in
     9        r240432, but DFG is still missing. With this change, all tests are
     10        passing on a ci20 board.
     11
     12        * jit/RegisterSet.cpp:
     13        (JSC::RegisterSet::calleeSaveRegisters):
     14        Added s0, which is used in llint.
     15
    1162019-04-08  Xan Lopez  <xan@igalia.com>
    217
  • trunk/Source/JavaScriptCore/jit/RegisterSet.cpp

    r243886 r244000  
    155155        result.set(reg);
    156156#elif CPU(MIPS)
     157    result.set(MIPSRegisters::s0);
    157158#else
    158159    UNREACHABLE_FOR_PLATFORM();
  • trunk/Source/WTF/ChangeLog

    r243965 r244000  
     12019-04-08  Guillaume Emont  <guijemont@igalia.com>
     2
     3        Enable DFG on MIPS
     4        https://bugs.webkit.org/show_bug.cgi?id=196689
     5
     6        Reviewed by Žan Doberšek.
     7
     8        Since the bytecode change, we enabled the baseline JIT on mips in
     9        r240432, but DFG is still missing. With this change, all tests are
     10        passing on a ci20 board.
     11
     12        * wtf/Platform.h: Enable DFG on MIPS by default.
     13
    1142019-04-06  Ryosuke Niwa  <rniwa@webkit.org>
    215
  • trunk/Source/WTF/wtf/Platform.h

    r243944 r244000  
    764764
    765765#if USE(JSVALUE32_64)
    766 #if CPU(ARM_THUMB2) && OS(LINUX)
    767 /* On ARMv7/Linux the JIT is enabled unless explicitly disabled. */
     766#if (CPU(ARM_THUMB2) || CPU(MIPS)) && OS(LINUX)
     767/* On ARMv7 and MIPS on Linux the JIT is enabled unless explicitly disabled. */
    768768#if !defined(ENABLE_JIT)
    769769#define ENABLE_JIT 1
    770770#endif
    771 #elif CPU(MIPS) && OS(LINUX)
    772 /* Same on MIPS/Linux, but DFG is disabled for now. */
    773 #if !defined(ENABLE_JIT)
    774 #define ENABLE_JIT 1
    775 #endif
    776 #undef ENABLE_DFG_JIT
    777 #define ENABLE_DFG_JIT 0
    778771#else
    779772/* Disable JIT and force C_LOOP on all other 32bit architectures. */
  • trunk/Tools/ChangeLog

    r243999 r244000  
     12019-04-08  Guillaume Emont  <guijemont@igalia.com>
     2
     3        Enable DFG on MIPS
     4        https://bugs.webkit.org/show_bug.cgi?id=196689
     5
     6        Reviewed by Žan Doberšek.
     7
     8        Since the bytecode change, we enabled the baseline JIT on mips in
     9        r240432, but DFG is still missing. With this change, all tests are
     10        passing on a ci20 board.
     11
     12        * Scripts/run-jsc-stress-tests: Enable DFG tests on MIPS.
     13
    1142019-04-08  Philippe Normand  <pnormand@igalia.com>
    215
  • trunk/Tools/Scripts/run-jsc-stress-tests

    r241579 r244000  
    450450$isFTLPlatform = !($architecture == "x86" || $architecture == "arm" || $architecture == "mips" || $hostOS == "windows")
    451451
    452 if ["mips", "x86"].include?($architecture)
    453     # The JIT is temporarily disabled on these platforms since
     452if $architecture == "x86"
     453    # The JIT is temporarily disabled on this platform since
    454454    # https://trac.webkit.org/changeset/237547
    455455    $jitTests = false
Note: See TracChangeset for help on using the changeset viewer.