Prototype relaxed-SIMD FMA and FMS
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: lth, Assigned: lth)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Assignee | ||
Comment 1•3 years ago
|
||
Prototype - only f32x4.fma, only baseline, no wat support. But works
on both x64/x86 and arm64.
Assignee | ||
Comment 2•3 years ago
|
||
The "experimental" feature is no longer defined and this predicate can
just go away - it should have been removed with the feature.
Assignee | ||
Comment 3•3 years ago
|
||
For FMA and FMS we will need a ternary node, and bitselect already has
the right shape and logic. We just need to rename it and generalize
it slightly with the SIMD op as a parameter, as we have for many other
nodes.
Drive-by fix: bitselect on arm64 does not actually need a temp
register.
Depends on D122079
Updated•3 years ago
|
Pushed by lhansen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/762eaa3d8d19 Drive-by cleanup, remove some dead code. r=yury https://hg.mozilla.org/integration/autoland/rev/4736a84c2dbb Repurpose the vector bitselect node as a general ternary op node. r=yury https://hg.mozilla.org/integration/autoland/rev/ba0bb80adf91 Relaxed SIMD FMA/FMS for x86 and arm64. r=yury
Comment 5•3 years ago
|
||
Backed out for causing bustages on LIR-shared.h.
Backout link: https://hg.mozilla.org/integration/autoland/rev/f80bd6c1f30e9afcda6b13e79308193a368935fb
Failure log: https://treeherder.mozilla.org/logviewer?job_id=348324030&repo=autoland&lineNumber=37791
Assignee | ||
Comment 6•3 years ago
|
||
That's extremely weird, because it builds fine locally. Treeherder shows that the non-unified build works, so this may be some badness with header files. Investigating...
Assignee | ||
Comment 7•3 years ago
|
||
YAYO (Yet Another YAML Oversight). Probably one more argument why config phrases that drive codegen should be embedded in the code, not in a separate file.
Pushed by lhansen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cbd6016b8501 Drive-by cleanup, remove some dead code. r=yury https://hg.mozilla.org/integration/autoland/rev/95c7858db7b5 Repurpose the vector bitselect node as a general ternary op node. r=yury https://hg.mozilla.org/integration/autoland/rev/3cf25ec47e91 Relaxed SIMD FMA/FMS for x86 and arm64. r=yury
Comment 9•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cbd6016b8501
https://hg.mozilla.org/mozilla-central/rev/95c7858db7b5
https://hg.mozilla.org/mozilla-central/rev/3cf25ec47e91
Updated•3 years ago
|
Description
•