[webkit-changes] [WebKit/WebKit] 43d87c: Implement JITless Wasm test mode

Daniel Liu noreply at github.com
Thu Oct 24 16:31:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 43d87cd9cf468761d5f4cde71c81b6e0808324f7
      https://github.com/WebKit/WebKit/commit/43d87cd9cf468761d5f4cde71c81b6e0808324f7
  Author: Daniel Liu <danlliu at umich.edu>
  Date:   2024-10-24 (Thu, 24 Oct 2024)

  Changed paths:
    M JSTests/wasm/gc/bug254412.js
    M JSTests/wasm/gc/simd.js
    M JSTests/wasm/stress/call-returns-v128.js
    M JSTests/wasm/stress/exception-containing-v128.js
    M JSTests/wasm/stress/import-exception-tag-with-v128.js
    M JSTests/wasm/stress/omg-simd-simple.js
    M JSTests/wasm/stress/omg-simd-stress.js
    M JSTests/wasm/stress/simd-const-relaxed-f32-madd.js
    M JSTests/wasm/stress/simd-const-relaxed-f32-trunc.js
    M JSTests/wasm/stress/simd-const-relaxed-f64-madd.js
    M JSTests/wasm/stress/simd-const-relaxed-f64-trunc.js
    M JSTests/wasm/stress/simd-const-relaxed-swizzle.js
    M JSTests/wasm/stress/simd-tail-call-simple.js
    M JSTests/wasm/stress/simd-tail-calls-throw.js
    M JSTests/wasm/stress/try-table-simd.js
    M Source/JavaScriptCore/runtime/Options.cpp
    M Source/JavaScriptCore/runtime/OptionsList.h
    M Source/JavaScriptCore/wasm/WasmCallee.cpp
    M Source/JavaScriptCore/wasm/WasmEntryPlan.cpp
    M Source/JavaScriptCore/wasm/WasmIPIntPlan.cpp
    M Source/JavaScriptCore/wasm/WasmLLIntPlan.cpp
    M Source/JavaScriptCore/wasm/js/JSToWasm.cpp
    M Tools/Scripts/run-javascriptcore-tests
    M Tools/Scripts/run-jsc-stress-tests

  Log Message:
  -----------
  Implement JITless Wasm test mode
https://bugs.webkit.org/show_bug.cgi?id=281698
rdar://137215038

Reviewed by Keith Miller.

This patch provides a `--useWasmJIT` test mode, which specifically disables JIT for Wasm
functions. This allows us to test JITless Wasm more effectively, since the JS wrappers
will not be slowed down. This can be optionally enabled in `run-javascriptcore-tests`
using the `--jitless-wasm` flag.

* Source/JavaScriptCore/runtime/Options.cpp:
(JSC::disableAllWasmJITOptions):
(JSC::disableAllJITOptions):
(JSC::Options::notifyOptionsChanged):
* Source/JavaScriptCore/runtime/OptionsList.h:
* Source/JavaScriptCore/wasm/WasmCallee.cpp:
(JSC::Wasm::JSEntrypointCallee::JSEntrypointCallee):
* Source/JavaScriptCore/wasm/WasmEntryPlan.cpp:
(JSC::Wasm::EntryPlan::generateWasmToWasmStubs):
(JSC::Wasm::EntryPlan::generateWasmToJSStubs):
* Source/JavaScriptCore/wasm/WasmIPIntPlan.cpp:
(JSC::Wasm::IPIntPlan::compileFunction):
* Source/JavaScriptCore/wasm/WasmLLIntPlan.cpp:
(JSC::Wasm::LLIntPlan::compileFunction):

Canonical link: https://commits.webkit.org/285672@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list