[webkit-changes] [WebKit/WebKit] bf5f52: [JSC] Use sqrdmulh for vectorMulSat

Yusuke Suzuki noreply at github.com
Fri Dec 2 17:28:09 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bf5f5256264db6040081efc9ba62746c820fef2c
      https://github.com/WebKit/WebKit/commit/bf5f5256264db6040081efc9ba62746c820fef2c
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M Source/JavaScriptCore/assembler/ARM64Assembler.h
    M Source/JavaScriptCore/assembler/MacroAssemblerARM64.h

  Log Message:
  -----------
  [JSC] Use sqrdmulh for vectorMulSat
https://bugs.webkit.org/show_bug.cgi?id=248691
rdar://102920795

Reviewed by Justin Michaud.

sqrdmulh does not accumulate the result to the result register, just overwriting to it.
So, we can remove xor clearing in vectorMulSat.

* Source/JavaScriptCore/assembler/ARM64Assembler.h:
* Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:
(JSC::MacroAssemblerARM64::vectorMulSat):

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




More information about the webkit-changes mailing list