Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[WebAssembly SIMD] Support floating-point absolute value, negate, min…
…, max, and square-root on Intel https://bugs.webkit.org/show_bug.cgi?id=249275 rdar://103326365 Reviewed by Yusuke Suzuki. Adds support for missing floating-point opcodes to our WebAssembly SIMD support on Intel, with some fixes to bugs that came up running the spec tests. * Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h: (JSC::MacroAssemblerX86_64::compareFloatingPointVectorUnordered): (JSC::MacroAssemblerX86_64::vectorMax): (JSC::MacroAssemblerX86_64::vectorMin): (JSC::MacroAssemblerX86_64::vectorPmin): (JSC::MacroAssemblerX86_64::vectorPmax): (JSC::MacroAssemblerX86_64::vectorTruncSatSignedFloat64): (JSC::MacroAssemblerX86_64::vectorSqrt): (JSC::MacroAssemblerX86_64::vectorSshr8): (JSC::MacroAssemblerX86_64::vectorUshr8): (JSC::MacroAssemblerX86_64::vectorSshr): * Source/JavaScriptCore/assembler/X86Assembler.h: (JSC::X86Assembler::vmaxps_rrr): (JSC::X86Assembler::vmaxpd_rrr): (JSC::X86Assembler::vminps_rrr): (JSC::X86Assembler::vminpd_rrr): (JSC::X86Assembler::vsqrtps_rr): (JSC::X86Assembler::vsqrtpd_rr): (JSC::X86Assembler::vminpd_mrr): (JSC::X86Assembler::vpsrlw_i8rr): (JSC::X86Assembler::vpsrld_i8rr): (JSC::X86Assembler::vpsrlq_i8rr): (JSC::X86Assembler::vpsraw_i8rr): (JSC::X86Assembler::vpsrad_i8rr): (JSC::X86Assembler::vcmpeqpd_rrr): Deleted. (JSC::X86Assembler::vpsraq_rrr): Deleted. * Source/JavaScriptCore/b3/air/AirLowerMacros.cpp: (JSC::B3::Air::lowerMacros): * Source/JavaScriptCore/b3/air/AirOpcode.opcodes: * Source/JavaScriptCore/wasm/WasmAirIRGenerator64.cpp: (JSC::Wasm::AirIRGenerator64::addSIMDV_V): (JSC::Wasm::AirIRGenerator64::addSIMDShift): Canonical link: https://commits.webkit.org/257880@main
- Loading branch information
David Degazio
committed
Dec 14, 2022
1 parent
e0227fc
commit 3a6ea5e
Showing
5 changed files
with
341 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.