Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ef40cabc28d25081afe7474d263f089752cedc2d
      
https://github.com/WebKit/WebKit/commit/ef40cabc28d25081afe7474d263f089752cedc2d
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-04-14 (Tue, 14 Apr 2026)

  Changed paths:
    A JSTests/wasm/stress/atomic-cmpxchg-large-offset.js
    M Source/JavaScriptCore/llint/InPlaceInterpreter64.asm
    M Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp

  Log Message:
  -----------
  [JSC] Atomic instructions in IPInt should not have metadata if it does not 
call functions
https://bugs.webkit.org/show_bug.cgi?id=312227
rdar://174706330

Reviewed by Keith Miller.

This patch drops most of metadata for atomic instructions by using the
same mechanism in normal load/store and SIMD load/store. We add a fast
path and a slow path which handles complicated LEB decoding completely.
Also now pointer construction code is completely unified by using the
helper macros defined for fast and slow path of these memory related
operations.

* JSTests/wasm/stress/atomic-cmpxchg-large-offset.js: Added.
(async test):
* Source/JavaScriptCore/llint/InPlaceInterpreter64.asm:
* Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp:
(JSC::Wasm::IPIntGenerator::atomicLoad):
(JSC::Wasm::IPIntGenerator::atomicStore):
(JSC::Wasm::IPIntGenerator::atomicBinaryRMW):
(JSC::Wasm::IPIntGenerator::atomicCompareExchange):
(JSC::Wasm::IPIntGenerator::atomicFence):

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



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

Reply via email to