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

  Changed paths:
    M JSTests/wasm/stress/exception-containing-v128.js
    M JSTests/wasm/stress/import-exception-tag-with-v128.js
    A JSTests/wasm/stress/simd-instructions-exceptions-cross-tier.js
    M JSTests/wasm/stress/try-table-simd.js
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp

  Log Message:
  -----------
  [JSC] WASM IPInt SIMD: support exceptions with v128
https://bugs.webkit.org/show_bug.cgi?id=299988
rdar://161773437

Reviewed by Yusuke Suzuki.

The IPInt slow path exception throwing and catching code
assumed that exception payloads were always 64-bits. With v128,
the payloads are 128-bits, so these paths need to pack (or unpack)
the WASM stack appropriately based on the tag signature.

Test: JSTests/wasm/stress/simd-instructions-exceptions-cross-tier.js
* JSTests/wasm/stress/exception-containing-v128.js:
(async test):
* JSTests/wasm/stress/import-exception-tag-with-v128.js:
(async test):
* JSTests/wasm/stress/simd-instructions-exceptions-cross-tier.js: Added.
(async test.logOMG):
(async test):
* JSTests/wasm/stress/try-table-simd.js:
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp:
(JSC::IPInt::copyExceptionStackToPayload):
(JSC::IPInt::copyExceptionPayloadToStack):
(JSC::IPInt::WASM_IPINT_EXTERN_CPP_DECL):

Canonical link: https://commits.webkit.org/300882@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