Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 084df28f4fc4fcadd396cf7f39f16374b1a524a8
      
https://github.com/WebKit/WebKit/commit/084df28f4fc4fcadd396cf7f39f16374b1a524a8
  Author: Yijia Huang <yijia_hu...@apple.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M Source/JavaScriptCore/assembler/testmasm.cpp
    M Source/JavaScriptCore/b3/B3LowerToAir.cpp
    M Source/JavaScriptCore/b3/testb3_2.cpp

  Log Message:
  -----------
  [JSC] Refine B3 and masm tests for EXTR pattern detection and application
https://bugs.webkit.org/show_bug.cgi?id=264984
rdar://118532295

Reviewed by Keith Miller.

Previously we introduced the pattern detection and application
of EXTR when B3 is lowering to AIR. This patch does two things:
1. Refine the corresponding B3 and masm tests for EXTR.
2. Add a sanity check and more comments for EXTR pattern detection and 
application in B3.

* Source/JavaScriptCore/assembler/testmasm.cpp:
(JSC::testExtractRegister32):
(JSC::testExtractRegister64):
* Source/JavaScriptCore/b3/B3LowerToAir.cpp:
* Source/JavaScriptCore/b3/testb3_2.cpp:
(testExtractRegister32):
(testExtractRegister64):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to