Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8eec468edbe55bb0f797807bf14aa06d2894ed09
      
https://github.com/WebKit/WebKit/commit/8eec468edbe55bb0f797807bf14aa06d2894ed09
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h
    M Source/JavaScriptCore/assembler/X86Assembler.h
    M Source/JavaScriptCore/b3/air/AirOpcode.opcodes
    M Source/JavaScriptCore/wasm/WasmAirIRGenerator.cpp

  Log Message:
  -----------
  [JSC] Remove some scratch registers
https://bugs.webkit.org/show_bug.cgi?id=249063
rdar://103203738

Reviewed by Justin Michaud.

We can use memory parameter of AVX instruction sometimes and we can reduce 
scratch register usage.

* Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::vectorTruncSatSignedFloat64):
(JSC::MacroAssemblerX86_64::vectorTruncSatUnsignedFloat64):
(JSC::MacroAssemblerX86_64::vectorExtaddPairwise):
(JSC::MacroAssemblerX86_64::vectorExtaddPairwiseUnsignedInt16):
* Source/JavaScriptCore/assembler/X86Assembler.h:
(JSC::X86Assembler::vaddpd_mrr):
(JSC::X86Assembler::vminpd_mrr):
(JSC::X86Assembler::vandpd_mrr):
* Source/JavaScriptCore/b3/air/AirOpcode.opcodes:
* Source/JavaScriptCore/wasm/WasmAirIRGenerator.cpp:
(JSC::Wasm::AirIRGenerator::addSIMDV_V):

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


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

Reply via email to