Closed Bug 1762409 Opened 3 years ago Closed 2 years ago

Phase out simd wormhole instructions

Categories

(Firefox :: Translations, defect)

defect

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: yury, Assigned: yury)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We implemented two instructions:

  • wasm::SimdOp::MozWHPMADDUBSW to match Intel's vpmaddubsw
  • wasm::SimdOp::MozWHPMADDWD to match Intel's vpmaddwd

The latter is just standard wasm::SimdOp::I32x4DotI16x8S. Moving to I32x4DotI16x8S will allow JIT to perform IP-relative-constants optimizations; keeping modifying the logic for MozWHPMADDWD will cause code duplication and maintenance burden.

The MozWHPMADDUBSW is to narrow is specific and intgemm developers were asked to consider moving algorithm to proposed Relaxed Integer Dot Product instructions (see https://github.com/WebAssembly/relaxed-simd/issues/52) to have support for non-Intel platforms.

Intgemm is no longer produces MozWHPMADDWD -- see https://github.com/kpu/intgemm/issues/100

The severity field is not set for this bug.
:florian, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(florian)
Assignee: nobody → ydelendik
Attachment #9285948 - Attachment description: WIP: Bug 1762409 - Remove wormhole instructions. → Bug 1762409 - Remove wormhole instructions. r?rhunt
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
Flags: needinfo?(florian)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: