[webkit-changes] [WebKit/WebKit] 2ea46a: [JSC] Attempt to convert Move32 to Move in ARM64

Yusuke Suzuki noreply at github.com
Wed Aug 7 14:04:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2ea46ab90e6511139bfb94415205038b672381e0
      https://github.com/WebKit/WebKit/commit/2ea46ab90e6511139bfb94415205038b672381e0
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M Source/JavaScriptCore/b3/air/AirAllocateRegistersByGraphColoring.cpp
    M Source/JavaScriptCore/dfg/DFGOSRExit.cpp
    M Source/JavaScriptCore/ftl/FTLOSRExitCompiler.cpp

  Log Message:
  -----------
  [JSC] Attempt to convert Move32 to Move in ARM64
https://bugs.webkit.org/show_bug.cgi?id=277744
rdar://133394615

Reviewed by Keith Miller.

We found that we are emitting Move32 unnecessarily when the destination said that the value is ZeroDefed.
We are doing so since x86_64 prefers Move32. But on ARM64, Move32 is more costly than Move. So we add opposite
optimization which attempts to make Move32 to Move (we already have optimization making Move to Move32 for x86_64).
We also fixes an issue in FTLOSRExitCompiler's logging introduced in 281831 at main.

* Source/JavaScriptCore/b3/air/AirAllocateRegistersByGraphColoring.cpp:
* Source/JavaScriptCore/ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileStub):

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