Open
Bug 1959049
Opened 1 year ago
Updated 1 year ago
Redo MIR loop unroller core using incremental loop-body copying
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Core
JavaScript: WebAssembly
Tracking
()
NEW
People
(Reporter: jseward, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
4.48 KB,
text/plain
|
Details |
The MIR loop unroller in bug 1950284 works by creating all required
MBasicBlocks for all required loop body copies up-front, then gradually
modifying the entire set step-by-step until the blocks collectively implement
the required unrolling and/or peeling.
A possibly simpler scheme would be to unroll the loop by making one copy of the
original loop, do all relevant block/value/phi/whatever fixups on that copy,
and repeating the process until the required level of unrolling is achieved.
This would also avoid having to store a 2-D matrix of block pointers during
unrolling.
This alternative scheme was suggested by @iain. Attached are further notes
from him about how to implement this.
| Reporter | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Severity: -- → N/A
Updated•1 year ago
|
Blocks: wasm-jit-bugs
You need to log in
before you can comment on or make changes to this bug.
Description
•