Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 761d9032a43cb57a16f71df3343b9d8cbd208746
      
https://github.com/WebKit/WebKit/commit/761d9032a43cb57a16f71df3343b9d8cbd208746
  Author: Sergey Rubanov <[email protected]>
  Date:   2026-09-03 (Thu, 03 Sep 2026)

  Changed paths:
    M Source/JavaScriptCore/b3/B3LowerToAir.cpp
    M Source/JavaScriptCore/b3/testb3.h
    M Source/JavaScriptCore/b3/testb3_1.cpp
    M Source/JavaScriptCore/b3/testb3_7.cpp

  Log Message:
  -----------
  [JSC] Fold Shl into ARM64 WasmAddress index form
https://bugs.webkit.org/show_bug.cgi?id=323211

Reviewed by Yusuke Suzuki.

WasmAddress already folds ZExt32/SExt32 into ARM64 UXTW/SXTW via
indexArg. This also absorbs a pointer-width Shl into the index scale
so a load can be LDR Xt, [Xn, Wm, UXTW #scale]. A 32-bit Shl inside
ZExt32 is left unscaled because wrapping that shift is not the same
as shifting after the extend.

* Source/JavaScriptCore/b3/B3LowerToAir.cpp:
* Source/JavaScriptCore/b3/testb3.h:
* Source/JavaScriptCore/b3/testb3_1.cpp:
* Source/JavaScriptCore/b3/testb3_7.cpp:

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



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

Reply via email to