Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e0651af57025a59af5f46f37ec2cf377878ca18d
      
https://github.com/WebKit/WebKit/commit/e0651af57025a59af5f46f37ec2cf377878ca18d
  Author: Mikhail R. Gadelha <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h
    M Source/JavaScriptCore/assembler/X86Assembler.h
    M Source/JavaScriptCore/wasm/WasmBBQJIT.cpp

  Log Message:
  -----------
  [JSC] Simplify BBQJIT::addF32Copysign
https://bugs.webkit.org/show_bug.cgi?id=299383

Reviewed by Yusuke Suzuki.

This PR simplifies the BBQJIT::addF32Copysign implementation by using fp
instructions on all platforms.

In some cases, we were converting the fps to scalar to perform part or all of 
the
copy sign operation, especially on x86_64, where a couple of float operations
were missing. These are now also implemented.

* Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::absFloat):
(JSC::MacroAssemblerX86_64::negateFloat):
* Source/JavaScriptCore/assembler/X86Assembler.h:
(JSC::X86Assembler::pslld_i8r):
* Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
(JSC::Wasm::BBQJITImpl::BBQJIT::addF32Copysign):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to