Open Bug 1625130 (wasm-simd) Opened 4 years ago Updated 7 months ago

[meta] WebAssembly SIMD

Categories

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

task

Tracking

()

People

(Reporter: lth, Unassigned)

References

(Depends on 11 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

Cross-platform cross-tier support for https://github.com/WebAssembly/simd.

Depends on: 1478632
Alias: wasm-simd
Depends on: 1625660
No longer depends on: 1625660
Depends on: 1631228
Depends on: 1636235
Depends on: 1638749
Depends on: 1637332
Depends on: 1640593
Depends on: 1640662
Depends on: 1640669
Depends on: 1542195
Depends on: 1641140
Depends on: 1641570
Depends on: 1641589
Depends on: 1641595
Depends on: 1641641
Depends on: 1642909
Depends on: 1643681
Depends on: 1644424
Depends on: 1646663
Depends on: 1647288
Depends on: 1656229
Depends on: 1656834
Depends on: 1656214
Depends on: 1659900
Depends on: 1664131
Depends on: 1664397
Depends on: 1666939
Depends on: 1668225
Depends on: 1669460
Depends on: 1669964
Depends on: 1671337
Depends on: 1671872
Depends on: 1671873
Depends on: 1671874
Depends on: 1671907
Depends on: 1671996
Depends on: 1671998
Depends on: 1672160
Depends on: 1672343
Depends on: 1672697
Depends on: 1672770
Depends on: 1672911
Depends on: 1673391
Depends on: 1674641
Depends on: 1674965

Karl, if you can substantiate that Chrome is already pushing wasm SIMD content to consumers I really would like details. The referenced bug seems to be ambiguous on this point.

Flags: needinfo?(kdubost)

Lars, that's a good question,

They send this file when using meet.google.com with Chrome Canary (I haven't tested on Chrome release)
https://meet.google.com/_/rtcvidproc/release_1dttl/343495590/mediapipe_wasm_simd.wasm

But I do not know wasm :)

The source is loaded through a blob blob:https://meet.google.com/47e842ef-319d-4c7e-ab17-5161db67cdc4
when interacting with Google Meet. So I don't know if it's the case, but you might understand better.

  1. with chrome canary
  2. Go to https://meet.google.com/
  3. authorize camera and audio
  4. Tap on the background icon at the bottom right of the video insert
  5. A panel opens
  6. Change to background blur

You should see in the network panel of the devtools a request to mediapipe_wasm_simd.wasm
in the search tab you can search for simd.

Flags: needinfo?(kdubost) → needinfo?(lhansen)

I may be wrong, but I believe that is in the current origin trial for wasm SIMD in Chrome,

https://v8.dev/features/simd#simd-origin-trial

Alon, thank you - excellent point!

Karl, it also would make sense for this content to be served to Canary.

I think I'm going to stop worrying about this :-)

Flags: needinfo?(lhansen)
Depends on: 1682466
Depends on: 1682500
Depends on: 1685984
Depends on: 1685999
Depends on: 1686001
Depends on: 1686004
Depends on: 1686006
Depends on: 1685998
Depends on: 1686633
Depends on: 1686758
Depends on: 1687936
Depends on: 1687949
Depends on: 1688380
Depends on: 1688262
Depends on: 1688713
Depends on: 1689566
Depends on: 1690107
Depends on: 1690460
No longer depends on: 1671873
Depends on: 1690478
Depends on: 1691485
Depends on: 1691489
Depends on: 1691490
Depends on: 1692420
Depends on: 1693368
Depends on: 1693469
Depends on: 1693759
Depends on: 1693912
Severity: normal → S2
Priority: P3 → P2
Depends on: 1695585
Depends on: 1695589
Depends on: 1695599
Depends on: 1697846
Depends on: 1699192
Depends on: 1413513
Depends on: 1699647
Depends on: 1700458
Depends on: 1700610
Blocks: 1703668
Depends on: 1705446

Just an update, Chrome 91 (stable by May 25) will enable WASM SIMD for SSE/AVX/NEON by default.

source (twitter)

(In reply to Rajveer Malviya [:rajveermalviya] from comment #5)

Just an update, Chrome 91 (stable by May 25) will enable WASM SIMD for SSE/AVX/NEON by default.

Yeah, tracking this. Thanks.

I should mention, we're shipping x86/x64 (SSE) in FF89 (release date June 1) and arm64 in FF90 (release date June 29).

Depends on: 1706106
No longer blocks: 1703668
Depends on: 1706891

We're done, and shipping is controlled by other bugs, lowering to P3.

Priority: P2 → P3
Depends on: wasm-relaxed-simd
Depends on: simd-avx2
Depends on: 1709209

Sorry. I don't precisely understand how this works. Does this mean SIMD has been implemented in FireFox, and will ship fairly soon?

Depends on: 1709877

Thank you, Yury.

Depends on: 1710882

SIMD has landed in Firefox and is riding the trains to release: Firefox 89 for x64, x86, Firefox 90 for arm64.

No support is planned for arm32 or mips64.

Remaining bugs linked from this one are currently for cleanup and improved code generation; reported defects should be linked to this bug too until this bug is closed.

Nice! Thank you for explaining things clearly, Lars. Much appreciated.

No longer depends on: 1542195
Webcompat Priority: --- → ?

Karl, FWIW, SIMD has shipped on x86, x64, and arm64 (and that's where we intend to stop). The remaining dependencies are all optimization items + relaxed simd, which is an emerging bolt-on.

Flags: needinfo?(kdubost)

Thanks Lars!

Flags: needinfo?(kdubost)
Webcompat Priority: ? → ---
Depends on: 1751488
Depends on: 1752404
Depends on: 1753923
Depends on: 1762413
Depends on: 1763171
Depends on: 1753452
Severity: S2 → N/A
Depends on: 1799014
Depends on: 1832576
Depends on: 1840710
You need to log in before you can comment on or make changes to this bug.