Refactoring: Make SIMD code cross-platform
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: lth, Assigned: lth)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Now that the SIMD code has stabilized, and in anticipation of doing more with SIMD on on non-x86 platforms, it can be moved out of the x86-specific part of the source tree and made to conform to the normal style: the LIR nodes are shared, the analysis code is shared, and every platform that does not implement SIMD gets stubs for LIR/codegen.
Assignee | ||
Comment 1•4 years ago
|
||
Move shareable SIMD code -- LIR nodes and analysis code -- out of
jit/x86-shared into jit/shared. Make some notes in the moved analysis
code about it being slightly x86-centric. Truly though, most of the
patterns carry over to other architectures, and we can add other
patterns for new architectures. For example, ARM64 has a reverse
instruction.
Create NYI stubs for SIMD in jit/arm64, jit/arm, and jit/mips-shared,
and remove the stubs from jit/shared.
SIMD is not enabled on any additional platforms yet, so all tests
continue to pass with this patch.
Comment 3•4 years ago
|
||
bugherder |
Description
•