Closed Bug 1750846 Opened 2 years ago Closed 2 years ago

[wasm] Generate AVX2 ops for shuffle instructions

Categories

(Core :: JavaScript: WebAssembly, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: yury, Assigned: yury)

References

Details

Attachments

(1 file)

We can improve performance of shuffle by using AVX2:

  • Broadcast instructions (bug 1750049)
  • Remove SimdShuffleOp::BLEND_8x16 limitation to use XMM0 as temp
  • Also new VPBLENDD (?)
  • use more non-destructive AVX ops
Blocks: simd-avx2
No longer depends on: simd-avx2
Severity: -- → N/A
Priority: -- → P3
  • Refactors interleave and shift operators for three arg
  • Improve VPBLENDVB
  • Special case broadcast from lowest lane
Attachment #9259826 - Attachment description: WIP: Bug 1750846 - [wasm] Make shuffle compatible with AVX. → Bug 1750846 - [wasm] Make shuffle compatible with AVX.
Attachment #9259826 - Attachment description: Bug 1750846 - [wasm] Make shuffle compatible with AVX. → Bug 1750846 - [wasm] Make shuffle compatible with AVX. r?jseward
Pushed by ydelendik@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0b2adba1f487
[wasm] Make shuffle compatible with AVX. r=jseward
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: