[webkit-changes] [WebKit/WebKit] 0a7158: [JSC] Do not hoist constant if constant fits in Im...

Yusuke Suzuki noreply at github.com
Fri May 19 01:45:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0a71587c8602f9a85bda30559009533cc4e5602a
      https://github.com/WebKit/WebKit/commit/0a71587c8602f9a85bda30559009533cc4e5602a
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M Source/JavaScriptCore/b3/B3MoveConstants.cpp

  Log Message:
  -----------
  [JSC] Do not hoist constant if constant fits in Imm for B3 Add/Sub
https://bugs.webkit.org/show_bug.cgi?id=257008
rdar://109551466

Reviewed by Tadeu Zagallo.

We should just use Imm directly if constant is small enough to be directly represented as Imm.
This reduces register pressure.

* Source/JavaScriptCore/b3/B3MoveConstants.cpp:

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




More information about the webkit-changes mailing list