AltiVec acceleration for nsTextFragment
Categories
(Core :: General, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: tobias.netzel, Assigned: spectre)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 8 obsolete files)
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
Assignee | ||
Comment 4•12 years ago
|
||
Updated•12 years ago
|
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Reporter | ||
Comment 8•12 years ago
|
||
Reporter | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
Assignee | ||
Comment 12•12 years ago
|
||
Comment 13•12 years ago
|
||
Updated•12 years ago
|
Comment 14•12 years ago
|
||
Comment 15•12 years ago
|
||
Comment 16•12 years ago
|
||
Assignee | ||
Comment 17•12 years ago
|
||
Assignee | ||
Comment 18•5 years ago
|
||
Now that bug 1571613 has landed, I'm dusting this one off and updating it (for the new build system and to support big and little endian).
Assignee | ||
Comment 19•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 20•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 21•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 22•5 years ago
|
||
I apologize, but I can't get moz-phab
to stop making new differential revisions for my revised patches, which is why I opened a new one and abandoned the previous one.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 23•5 years ago
|
||
Thanks for the review and sorry for the churn.
Comment 24•5 years ago
|
||
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3fe24ea6309
VMX acceleration for nsTextFragment. r=bzbarsky
Comment 25•5 years ago
|
||
bugherder |
Comment 26•5 years ago
|
||
It depends on runtime VMX detection.
I'm planning to migrate TextFragment
to use encoding_rs::mem
. It currently supports SIMD acceleration for our tier-1 architectures: x86+SSE2, x86_64, armv7+NEON, and aarch64. In all these cases, the SIMD support is present unconditionally. It could support VMX but I'd like that to be unconditional, too, because it's rather important for the SIMD code to get inlined without function call overhead.
Is the run-time detection that's in the patch still relevant? That is, don't POWER8 and POWER9 have VMX unconditionally?
Assignee | ||
Comment 27•5 years ago
|
||
POWER6 and up have VMX unconditionally, as does the POWER4-derived G5, but not all 64-bit Power CPUs do (the most notorious example is probably the QorIQ P5020 as used in the AmigaOne X5000, which runs Linux and AmigaOS). I agree I'd prefer that too but I can't guarantee that for ppc64 even though I'm not a fan of the choices the Amiga community is making with their designs.
That said, if the demand is that all tiers of Firefox should be SIMD-capable, that's not a policy question I can answer (though it won't affect the POWER9 I'm typing this on).
Comment 28•5 years ago
|
||
POWER6 and up have VMX unconditionally, as does the POWER4-derived G5, but not all 64-bit Power CPUs do (the most notorious example is probably the QorIQ P5020 as used in the AmigaOne X5000, which runs Linux and AmigaOS).
Does Firefox run on AmigaOne? It's big-endian, right? Does Firefox still run on big-endian systems generally? I thought Skia dropped support for big-endian architectures, and asm.js/Wasm require little-endian ArrayBuffer semantics. Also, it seems that on 32-bit PPC Ubuntu, the Firefox package stopped updating while other 16.04 packages were still getting security updates. (I haven't booted up my PPC Ubuntu install in a while, so I don't know what the current situation is.)
POWER6 and up have VMX unconditionally
OK, so ppc64le has VMX unconditionally, right? (ppc64le is POWER 8 and up, right?)
Assignee | ||
Comment 29•5 years ago
|
||
I don't know about AmigaOne, but there are still big-endian ppc64 builds of mainline Firefox and to the best of my knowledge, these do operate. Adelie Linux is probably the best known. The big-endian builds generally don't support asm.js (TenFourFox got around this by simulating little-endianness for typed arrays).
To the best of my knowledge, all ppc64le-capable CPUs support VMX (correct, POWER8 and up).
Description
•