Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[WebAssembly SIMD] Support integer and floating-point arithmetic on I…
…ntel https://bugs.webkit.org/show_bug.cgi?id=248549 Reviewed by Justin Michaud. Adds support for basic SIMD integer arithmetic and floating-point arithmetic instructions on Intel. * Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h: (JSC::MacroAssemblerX86_64::vectorAdd): (JSC::MacroAssemblerX86_64::vectorSub): (JSC::MacroAssemblerX86_64::vectorMul): (JSC::MacroAssemblerX86_64::vectorDiv): (JSC::MacroAssemblerX86_64::vectorCeil): (JSC::MacroAssemblerX86_64::vectorFloor): (JSC::MacroAssemblerX86_64::vectorTrunc): (JSC::MacroAssemblerX86_64::vectorNearest): (JSC::MacroAssemblerX86_64::vectorDotProductInt32): (JSC::MacroAssemblerX86_64::vectorNeg): Deleted. * Source/JavaScriptCore/assembler/X86Assembler.h: (JSC::X86Assembler::vectorFadd): (JSC::X86Assembler::vectorAdd): (JSC::X86Assembler::vectorFsub): (JSC::X86Assembler::vectorSub): (JSC::X86Assembler::vectorFmul): (JSC::X86Assembler::vectorMul): (JSC::X86Assembler::vectorFdiv): (JSC::X86Assembler::vroundps_rr): (JSC::X86Assembler::vroundpd_rr): (JSC::X86Assembler::vpmaddwd_rrr): (JSC::X86Assembler::X86InstructionFormatter::SingleInstructionBufferWriter::memoryModRM): * Source/JavaScriptCore/b3/air/AirOpcode.opcodes: * Source/JavaScriptCore/wasm/WasmAirIRGenerator.cpp: (JSC::Wasm::AirIRGenerator::addSIMDV_V): Canonical link: https://commits.webkit.org/257511@main
- Loading branch information
David Degazio
committed
Dec 7, 2022
1 parent
4a8000a
commit 155740a50205d47608751bd4745d562202bca427
Showing
7 changed files
with
302 additions
and
48 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
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.