Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e1fe366642b885c8fafa87baf4e92622a06fea23
      
https://github.com/WebKit/WebKit/commit/e1fe366642b885c8fafa87baf4e92622a06fea23
  Author: Dan Hecht <[email protected]>
  Date:   2025-10-21 (Tue, 21 Oct 2025)

  Changed paths:
    M Source/JavaScriptCore/assembler/JITOperationList.cpp
    M Source/JavaScriptCore/bytecode/BytecodeList.rb
    M Source/JavaScriptCore/llint/InPlaceInterpreter.asm
    M Source/JavaScriptCore/llint/InPlaceInterpreter.h
    M Source/JavaScriptCore/llint/LLIntThunks.cpp
    M Source/JavaScriptCore/llint/LLIntThunks.h
    M Source/JavaScriptCore/wasm/WasmIPIntPlan.cpp
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.h

  Log Message:
  -----------
  [JSC] Wasm: remove special case SIMD entrypoint and tier up mechanism
https://bugs.webkit.org/show_bug.cgi?id=301122
rdar://163062083

Reviewed by Yusuke Suzuki.

Now that the usual IPInt entry point preserves vector registers,
let's remove the special-case tier-up-directly-to-BBQ-for-SIMD
entry point, and instead use the same mechanism used when
!Options::useWasmIPInt(), which is that the tier up counter is set to 0
and the prologue OSR path will synchronously compile and jump to the
JIT replacement.

Until relaxed SIMD is completed (or at least IPInt is at parity with
BBQ/OMG), we still need to keep the !Options::useWasmIPIntSIMD() case
working (so that the existing relaxed SIMD tests can be run), but
let's remove some of the complexity by combining these cases.

Testing: the relaxed SIMD tests exercise this case.
Additionally, I ran the Wasm tests with --useWasmIPIntSIMD=false

* Source/JavaScriptCore/assembler/JITOperationList.cpp:
(JSC::llintOperations):
* Source/JavaScriptCore/bytecode/BytecodeList.rb:
* Source/JavaScriptCore/llint/InPlaceInterpreter.asm:
* Source/JavaScriptCore/llint/InPlaceInterpreter.h:
* Source/JavaScriptCore/llint/LLIntThunks.cpp:
(JSC::LLInt::inPlaceInterpreterSIMDEntryThunk): Deleted.
* Source/JavaScriptCore/llint/LLIntThunks.h:
* Source/JavaScriptCore/wasm/WasmIPIntPlan.cpp:
(JSC::Wasm::IPIntPlan::compileFunction):
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp:
(JSC::IPInt::jitCompileAndSetHeuristics):
(JSC::IPInt::jitCompileSIMDFunctionSynchronously): Deleted.
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to