Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 22e1f2da1cbad1f2ae39bcff2d62e9ab7e7fb3e5
      
https://github.com/WebKit/WebKit/commit/22e1f2da1cbad1f2ae39bcff2d62e9ab7e7fb3e5
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-03-30 (Mon, 30 Mar 2026)

  Changed paths:
    M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
    M Source/JavaScriptCore/jit/AssemblyHelpers.cpp
    M Source/JavaScriptCore/jit/AssemblyHelpers.h

  Log Message:
  -----------
  [JSC] Micro-optimize AssemblyHelpers asm code for ARM64
https://bugs.webkit.org/show_bug.cgi?id=311012
rdar://173620352

Reviewed by Keith Miller.

Let's use fused ARM64 instructions (shift and xor) to reduce instructions.
Also using branchTest64 for Int52 check which offers better instructions
for ARM64.

* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileCompareStrictEq):
* Source/JavaScriptCore/jit/AssemblyHelpers.cpp:
(JSC::emitRandomThunkImpl):
(JSC::AssemblyHelpers::wangsInt64Hash):
* Source/JavaScriptCore/jit/AssemblyHelpers.h:
(JSC::AssemblyHelpers::isStrictInt52):
(JSC::AssemblyHelpers::isNotStrictInt52):

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



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

Reply via email to