Skip to content

Implement pairwise_widening_add - #416

Merged
Shnatsel merged 2 commits into
linebender:mainfrom
Shnatsel:pairwise-widening-add
Oct 23, 2026
Merged

Shnatsel merged 2 commits into
linebender:mainfrom
Shnatsel:pairwise-widening-add

Conversation

@Shnatsel

Copy link
Copy Markdown
Contributor

This is a useful building block for other things like widening_reduce_sum which we don't implement directly yet. It's one of the two functions that WASM supports but we do not provide a high-level wrapper for (the other being andnot)

implemented following the notes in #382 (comment)
these seem to be already optimal (after LLVM optimizes them further), a search for better formulations turned up nothing

@Shnatsel

Copy link
Copy Markdown
Contributor Author

@Dr-Emann FYI

@Shnatsel
Shnatsel added this pull request to the merge queue Oct 23, 2026
Merged via the queue into linebender:main with commit b421b74 Oct 23, 2026
23 checks passed
@Shnatsel
Shnatsel deleted the pairwise-widening-add branch October 23, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants