[webkit-changes] [WebKit/WebKit] 0cb9c0: Fix F32/F64Copysign on Intel in single-pass BBQ JIT

EWS noreply at github.com
Thu Mar 2 19:56:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0cb9c0e04c8f1f84e65209d7e3ff757dc46631de
      https://github.com/WebKit/WebKit/commit/0cb9c0e04c8f1f84e65209d7e3ff757dc46631de
  Author: David Degazio <d_degazio at apple.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmBBQJIT.cpp

  Log Message:
  -----------
  Fix F32/F64Copysign on Intel in single-pass BBQ JIT
https://bugs.webkit.org/show_bug.cgi?id=253286
rdar://106173548

Reviewed by Yusuke Suzuki.

Our previous implementation of F32/F64Copysign on Intel didn't consider
that the left operand and result registers might alias, and clobbered
its input. This patch changes our implementation to no longer do this.

* Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
(JSC::Wasm::BBQJIT::addF32Copysign):
(JSC::Wasm::BBQJIT::addF64Copysign):

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




More information about the webkit-changes mailing list