[exploration] Multiprecision arithmetic / carry propagation - sketches, explorations
Categories
(Core :: JavaScript: WebAssembly, task, P3)
Tracking
()
People
(Reporter: lth, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
There have been some discussions about multiprecision arithmetic primitives. Of these, the only hard cases are those that deal with add-with-carry and subtract-with-borrow, as we wish to keep the carry flag in the flags register as much as possible. I'll attach some sketches I've made to address the issue in Ion / Baldr.
Reporter | ||
Comment 1•4 years ago
|
||
Reporter | ||
Comment 2•4 years ago
|
||
Simple test case for a simple example instruction. The latest patch actually generates working code on ARM64.
Reporter | ||
Comment 3•4 years ago
|
||
The very latest patch has a very large comment block discussing various optimization strategies (none of them implemented).
Reporter | ||
Comment 4•4 years ago
|
||
Reporter | ||
Comment 5•4 years ago
|
||
Not currently working on this. Note comment 3 - there's information in the patch about how we might go about implementing this if it comes to that.
Reporter | ||
Updated•4 years ago
|
Comment 6•3 months ago
|
||
The CG has voted to go with the approach in bug 1949081 instead. This is still useful for some implementation ideas.
Description
•